Skip Navigation

[Gelöst] Underline the current page out of a vpwiev list

This support ticket is created vor 7 Jahre, 3 Monate. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 17 Antworten, has 2 Stimmen.

Last updated by Oniromancer vor 7 Jahre, 3 Monate.

Assigned support staff: Waqas.

Author
Artikel
#341343

Waqas
Supporter

Languages: Englisch (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for reseting the permissions. I am able to edit the files. I am currently working on this and will update you shortly.

#341356

Waqas
Supporter

Languages: Englisch (English )

Timezone: Asia/Karachi (GMT+05:00)

Please see it working at /powereagle/power/, I used the following code in View's Loop (Powereagle Sub Nav):

[wpv-conditional if="( '[wpv-post-slug]' eq '[wpv-post-slug id="$current_page"]' )"][wpv-post-title][/wpv-post-title][/wpv-conditional]

[wpv-conditional if="( '[wpv-post-slug]' ne '[wpv-post-slug id="$current_page"]' )"][wpv-post-link][/wpv-post-link][/wpv-conditional]

Please notice the [wpv-post-slug id="$current_page"], which actually refers to the page slug itself. Find more details about "Displaying Fields of Parent Pages" at https://toolset.com/documentation/user-guides/displaying-fields-of-parent-pages/

I hope the matter is resolved now, please remember to update other views accordingly.

#341406

Brilliant! I've even read that page, missed out the last lines.
Thank you Waqas.