Passer la navigation

[Résolu] View doesn't work how I expect

This support ticket is created Il y a 4 years, 8 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Fuseau horaire du supporter : America/Jamaica (GMT-05:00)

Marqué : 

Ce sujet contient 6 réponses, a 2 voix.

Dernière mise à jour par Serhii Il y a 4 years, 8 months.

Assisté par: Shane.

Auteur
Publications
#1898531

Hello, please help me with next thing...

My Site - lien caché

I have custom post types - Casino and Bonus .This two custom post types are relationship between each other

Fro example: I have casino "Riobet" (lien caché) and 4 bonuses wich linked to this casino (lien caché). Typical bonus page looked like this - lien caché

And I need to do next thing:

I have Bonus Page lien caché wich linked to Riobet Casino page and I need to display at this place lien caché all other bonuses wich connected to Riobet casino.

Right now it display all bonuses from all casinos.

I tried to set next filters:

1 - lien caché
2 - lien caché
3 - lien caché

But it all doesn't work. I display or all bonuses or no one.

#1898905

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Serhii,

Thank you for getting in touch. I believe what you want is to display the brother pages.

In this case you will need to follow the documentation below in order to achieve this.
https://toolset.com/documentation/legacy-features/views-plugin/displaying-brother-pages/

Please let me know if this helps.
Thanks,
Shane

#1899339

I am not sure... I tried to follow the instructions but nothing worked.

I have my main content template - "Bonus casino" - lien caché (Parent... I gues)

1) I created one more content template - lien caché (Child... I gues)
2) Next I Display the parent Content Template in the child Content Template - lien caché
3) I created a View that lists the children of the parent page - lien caché
4) I inserted the View into the parent page Content Template - lien caché

And as a result I got this - lien caché

Either I am doing something wrong (which very much may be) or this is not the way to solve the problem that I need.

#1901347

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Serhii,

I believe the error is here
lien caché

I'm assuming here that your parent post is from a different post type correct? Can you try changing the filter to a Post Relationship filter?

Secondly would you mind allowing me to have admin access to the website to check on this further for you?

Please also add a link to the page where you are testing this issue out.

Thanks,
Shane

#1904085

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Serhii,

Thank you for the credentials.

I've added a test view here.
lien caché

At the top you should see it displaying the other bonuses that are related to the parent casino.

The view that I made can be found at the link below.
lien caché

Please let me know if this helps.

Thanks,
Shane

#1904137

Thanks a lot, it seems the problem is solved. Thank you very much Shane

#1904139

My issue is resolved now. Thank you!