Skip Navigation

[Resolved] post grid by post url

This support ticket is created 7 years, 9 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 7 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#415427

Hi there, Thanks for all the great answers!
I have a website which contains 3 types of post types: Directory listing posts, blog posts and event posts.
I would like to add a Url post field in the listing post type, in which the listing owner, can add multiple url's of other post types from the website (blog posts and events posts) .
Then, In the listing content template, I wolud like to display the event posts or blog posts of the given url's, in a posts grid or carousel, with details like post featured image, post author, event date etc.
How do I do that? mainly, how do I get post fields (like event date) or generic fields (like post author) by the given post url? and then make a nice grid of all that 🙂

Thanks

#415716

Dear Shirly,

Q1) can add multiple url's of other post types from the website (blog posts and events posts)
You can setup many-to-many relationships between post types:
"Directory listing" and "blog posts"
"Directory listing" and "events posts"
When you edit a "Directory listing" post, you will be able to setup the related "blog posts" and "events posts", see our document:
Creating and Displaying Many-to-Many Post Relationships
https://toolset.com/documentation/user-guides/many-to-many-post-relationship/

Q2) I wolud like to display the event posts or blog posts of the given url's, in a posts grid or carousel, with details like post featured image, post author, event date etc.
Same as above, please check the document to display the related "blog posts" and "events posts"
https://toolset.com/documentation/user-guides/getting-started-views/part-9-many-many-relationships/
section "Displaying posts"

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.