Skip Navigation

[Resolved] Related Custom Posts by Tag

This support ticket is created 4 years, 2 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by andreyD-2 4 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#1871041

Hello,

I am trying to display relevant Classifieds (custom post type) on Posts (native), related by Tags (native). I have already setup Classifieds post types and it's using Tags - just need help with the view.

So, if a Post is tagged with specific Tags, the view should display latest Classifieds that were also tagged with the Tags.

Couldn't find a direct solution for this task, please guide me.

#1871779

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andrey,

Thank you for getting touch.

Are you using the Views in the gutenburg editor or are you using the Classic Editor for views ?

If you're unsure can you send me a screenshot of the view edit screen and we can take it from there.

Thanks,
Shane

#1871789

I am using the Classic Editor for views

#1872255

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2020-12-10 at 3.30.44 PM.png

Hi Andrey,

Here is what you will need to do:

1. Go to your view and edit it.
2. Scroll to the query filters section and click add a filter.
3. Add the filter for your Taxonomy and then set it to get the term from the current page. See Screenshot.

Please let me know if this helps.
Thanks,
Shane

#1876461

The solution works. Thank you!