WordPress.org

Ready to get started?Download WordPress

Forums

Related posts by tags (2 posts)

  1. toryc103
    Member
    Posted 2 years ago #

    I want to display post titles related by tag of current post. So if current post is tagged as "101", all posts tagged "101" will show up in a list underneath the post content.

    I can make this work with the following code in my single-101.php (using Post Template plugin) :

    [Code moderated as per the Forum Rules. Please use the pastebin]

    This works. The problem comes in when a post has more than one tag. If there's more than one tag, nothing shows.

    Is there a plugin that would allow me to display related posts of my choosing on a per-post basis? Essentially, there does not have to be any criteria met, only that I check a box for a tag(s), post(s), page(s), etc to be displayed.

  2. toryc103
    Member
    Posted 2 years ago #

    I appreciate the moderation. Perhaps someone would have a suggestion to this problem?

Topic Closed

This topic has been closed to new replies.

About this Topic