Skip Navigation

[Resolved] Displaying Views in tabs ultimate member dashboard tab

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

Assisted by: Luo Yang.

Author
Posts
#1094838

Hi,
I'm trying to display a list of user submitted CPT posts in a dasboard tab of ultimate member.

I understand that I need a view and insert the view in the tab.
The difficult part for me are the filter settings of the view as the filter should be based on the url: hidden link

What filter settings should be used here?

#1095680

Hello,

You can get URL parameter "profiletab" with Views shortcode [wpv-search-term], for example:
[wpv-search-term param="profiletab"]

Then use [wpv-conditional] shortcode to check the URL parameter value, if it is "stories", display specific content, for example:

[wpv-conditional if="('[wpv-search-term param="profiletab"]' eq 'stories')"]
URL parameter "profiletab" is stories, Here display something 
[/wpv-conditional]

More help:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-search-term
https://toolset.com/documentation/user-guides/views-shortcodes/#vf-153493