Skip Navigation

[Resolved] Create a "Related Articles" list at the end of single-page CPT

This support ticket is created 5 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 – 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 2 replies, has 2 voices.

Last updated by bastienB 5 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#1333033

Tell us what you are trying to do? I'd like to add a section "Related Articles" at the end of a single-page for a CPT.

Is there any documentation that you are following? No.

Is there a similar example that we can see? Yes at WPBeginner, all their their single-page term end with a similar section called "Additional Reading" (hidden link). It looks like this content is aggregated using some sort of keywords or tags. For example, the glossary term "Admin Area" returns two other glossary terms "Administrator" and "Administration Screen" as well as two blog posts "How to customize wordpress admin area" and "14 vital tips to protect your wordpress admin area". I'm unsure how to achieve this type of related post mixing glossary terms and blog posts.

What is the link to your site? hidden link

Just adding some more details about what's currently configured on the website... The "Additional Reading" section pulls only Glossary Terms and they are pulled by date only, nothing fancy but it's not really "related". I'd like to make that a little bit more concise and logical.

#1333081

Hello,

I suggest you try these:
1) Dashboard-> Toolset-> Post Types, find and edit post type "glossary", in section "Taxonomies to be used with", enable option "Tags"

2) Edit each "glossary" post, setup terms in taxonomy "Tags"

3) Create a post view "Related Articles":
- Query post types "glossary" and "Posts"
- Filter by:
Select posts with taxonomy:
Tags the same as the page where this View is shown
https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/

4) add a section "Related Articles" at the end of a single-page for a CPT, display above post view

#1339085

My issue is resolved now. Thank you!