WordPress.org

Ready to get started?Download WordPress

Forums

Return only selected Tag results (2 posts)

  1. jalacom
    Member
    Posted 2 years ago #

    Hi,
    on my site GTSB I'm trying to create a tag.php file. I want to be able to click on a tag in my tag list on the side bar and get results for only those tags. For instance if "Vegan" is used 2 times. I should only get 2 results returned. Currently I'm getting all the posts returned. I'm using Categories to break my blog up into two "subblogs" so I've copied the contents of my main blogroll into tag.php:

    [38 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Any advice on how I would alter this to return just the posts that contain a given tag?

  2. jalacom
    Member
    Posted 2 years ago #

    Here's the link to what i currently have current blogroll to modify for tag.php

Topic Closed

This topic has been closed to new replies.

About this Topic