Skip Navigation

[Resolved] I want to generate related posts via 'views'.

This support ticket is created 3 years, 1 month 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 3 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2233127

Hello.

I want to generate a list of related posts via 'views'.

The conditions below are required.

1. The same post type as the current document
2. The same taxonomy in the current document

I would like to create a list of related articles with the above conditions.

Do not use 'Block'. It should be configured as 'Views'.

Please help.

#2233179

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL where you want to display the related posts and admin access details and I would be happy to share solution with you.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2233199

Hello. thank you for your answer.

This is before we start writing any code.
I need a tutorial or guide document.

#2233259

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well, You should try to create a view and from the content selection section, you should select the post type.

And then from the Query Filter section you should add a taxonomy query filter and select the option "Value set by the current page where this View is shown":
=> https://toolset.com/documentation/user-guides/views/filtering-views-by-taxonomy/

More info:
=> https://toolset.com/documentation/legacy-features/views-plugin/front-page-filters/