Skip Navigation

[Resolved] Listing custom posts

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Beda 7 years, 6 months ago.

Assisted by: Beda.

Author
Posts
#521044

I'm creating a "My Account"-style page where users can view all of the courses their membership plan gives them access too.

But I need help!

I'm using Types to create custom post types for courses, and I'm organizing the courses with tags that are connected to membership plans.

I'm using shortcodes from Woocommerce Memberships to hide and display lists of courses based on your membership plan.

What I don't understand how to do is list the courses based on tags within each section of the page.

Here's how the page will be laid out:

YOUR COURSES

[wcm_restrict plans="platinum"]

List of Platinum tagged courses

[/wcm_restrict]

[wcm_restrict plans="gold"]

List of Gold tagged courses

[/wcm_restrict]

[wcm_restrict plans="Silver"]

List of Silver tagged courses

[/wcm_restrict]

How do I use use Toolset tools to list these custom post types?

#521075

You should be able to create a View and query the Post Type "Courses".

If those methods you use to hide/show posts use real Taxonomies (as tags) then you can Query Filter your View by them.
This will allow you to show only the Courses belonging to certain tags.

It's elaborated in here:
https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/

The forum ‘Types Community Support’ is closed to new topics and replies.