Navigation überspringen

[Closed] Show dynamic attributes

This support ticket is created vor 3 years, 5 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 – 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 -

Zeitzone des Unterstützers: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 5 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Luo Yang vor 3 years, 5 months.

Assistiert von: Luo Yang.

Author
Artikel
#2508225

Hi there,

For my website I got the pages:
versteckter Link
versteckter Link
versteckter Link
versteckter Link aan de kust
versteckter Link vakantie

For the page ‘Leuk voor de kinderen’ I want to show the sub attributes with a link. So this ones.
-- boomhut vakantie
-- huisje aan de kust
-- vakantie bij de boer

And for the sub attributes pages like boomhut vakantie I want to show the related articles. So this ones.
-- huisje aan de kust
-- vakantie bij de boer

Is this possible?

#2509485

Hello,

You can try with a custom "hierarchical" post type, see below test site:
Login URL:
versteckter Link

Custom post type "inspiratie" settings:
versteckter Link
Enable options:
- Page Attributes
- hierarchical

See the result posts:
versteckter Link
versteckter Link

#2511767
posts.PNG

Hi Luo,

Thanks for your quick reply.
I have performed the above but I want to show the page name/link on the page.

See pic attached.
So when I open the page ''huisje aan de kust'' I want to show the links of ''op een eiland'' and ''vakantie bij de boer''.
And when I open the page ''aaa'' I want to show the links of ''bbb'', ''ccc'' and ''ddd''.
So related articles that fall under the group.

See the example
versteckter Link
The related articles called ''Artikelen in Marketingstrategie''

Hopefully this is clear.

#2512059

1) In the parent page, you can display a post view:
versteckter Link
- Query "inspiratie" posts
- Filter by:
Select posts whose parent is the page where the View is shown.
- In view's loop, display "inspiratie" post information

2) Create a content template "Brother inspiratie posts":
versteckter Link
Display a post view:
- Query "inspiratie" posts
- Filter by:
Select posts whose parent is the current post in the loop.
- In view's loop, display "inspiratie" post information

3) In single child page:
versteckter Link
Display above content template shortcode with item attribute:

[wpv-post-body view_template="brother-inspiratie-posts" item="$parent"]

See the result here:
versteckter Link
versteckter Link
versteckter Link

#2514905

Hi Luo,

Is this also possible in a Template I created?

#2515889

I am not sure how do you setup the Template.

You can setup two different Toolset content templates:
- One for the parent pages
- The another for the child pages

The topic ‘[Closed] Show dynamic attributes’ is closed to new replies.