Skip Navigation

[Resolved] Showing all related Custom Post Types

This support ticket is created 3 years, 7 months ago. 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 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 3 voices.

Last updated by Shane 3 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#2241605
Bildschirmfoto 2021-12-10 um 14.36.01.png

Tell us what you are trying to do?

I created a custom Post Type and want to use the Archive Query for displaying all related items on the profile page.
At the moment, it seems the toolset custom post is not set to the archive page to show all other people.

What is the link to your site?

Page showing all items from the custom post:
hidden link

Page where I would like to add the query post carousel with my toolset items! It's showing only the page which is opened, but not the rest!
hidden link

Could you provide help? Thank you so much for your kind support again!
My best
Jakiob

#2241647

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Jakiob

Your second link is to show a single post of the master-trainer post type (and it is showing the florian-suhm post).

You also want to display the other master-trainers on the same page?

For that you would need to add a View block to the page.

For the Content Selection choose the master-trainer post type, and then make sure the option not to include the current page in the results is checked.

That will then return all of the master trainer posts except for the currently displayed one. Set up the output according to your needs (e.g. a grid with thumbnails, etc.).

#2243613

Hi Nigel

thanks for your advice!
I want to display indeed all other related members here, so from what I understand I need to create a View and insert it in elementor right?

thank you

#2243729

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Stephanie,

Yes that is correct you will need to create the view and add all the necessary information that you will want to be in the view.

How you will need to pay attention to what Nigel had mentioned in particularly here he says "For the Content Selection choose the master-trainer post type, and then make sure the option not to include the current page in the results is checked."

This will ensure that the correct relationship information is setup so that the view will list out the correct related post.

For further information on displaying related posts you can take a look at our documentation below.
https://toolset.com/course-lesson/displaying-related-posts/

If you're having any difficulties please let me know.

Thanks,
Shane