Skip Navigation

[Resolved] Underline the current page out of a vpwiev list

This support ticket is created 6 years, 11 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.

Tagged: 

This topic contains 17 replies, has 2 voices.

Last updated by Oniromancer 6 years, 11 months ago.

Assigned support staff: Waqas.

Author
Posts
#341343

Waqas
Supporter

Languages: English (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: English (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.