Skip Navigation

[Resolved] Displaying Posts via different pages/layouts

This support ticket is created 6 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 2 replies, has 2 voices.

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

Assisted by: Luo Yang.

Author
Posts
#620756

I intend to have projects which have their own post type, say "Project 1", "Project 2", etc.

For each project there will be a set of pages which display various aspects of the project: Library, Info and Blog.

The purpose for this is to take media posts and display them front and center with simple and direct navigation to browse the work, while simultaneously offering a 'feed' for any updates, news, and info regarding the project on the side.

Both pages will need to parse/access "Current Post Type" or receive commands via the link: ?post_type=####.

Is it possible to do this with Layouts, Pages, Types?

#620776

If I can customize my query with url data then things would be easy.

For page: BLOG I can do essentially everything with ?t="post_type"

I'd then query: is post_type, tag = blog, etc.

For page: LIBRARY I can take the specific post id with ?i="post_ID"

Then I query: children of post_ID, and other things.

Is it possible to do this with Layout?

#620842

Hi,

It is possible to display the same post using different layout, you just need to setup the URL parameter "layout_id".

For example, you can create two layouts:
1) project-layout-a, ID: 123
2) project-layout-b, ID: 456

In single "Project" post "project-a", it's permalink is hidden link,
you can display the post "project-a" with layout 123, with URL:
hidden link
display the post "project-a" with layout 456, with URL:
hidden link