Forums

[resolved] how to list posts that have a tag? (3 posts)

  1. jaimebienlesfruits
    Member
    Posted 3 years ago #

    Hi,

    I'm a bit new to using tags.

    I have just tagged certain pages and I would like, in a separate page, to list the pages which have a certain tag.

    For example, if I've tagged some pages "dog", I'd like to list them out. How do I do this? Is it something to do with the tag archive...which, to be honest, I don't really get.

    Thanks!

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    If you have tagged posts, then recommend you change your theme to the WordPress Default theme, look at the posts on your front page and click on one of the tags--you will be taken to a page displaying all the posts that have that tag.

    Resources:
    Template Hierarchy
    Stepping Into Templates
    Stepping Into Template Tags
    Template_Tags/the_tags

    Note:

    Posts can be tagged, Pages cannot be tagged.

  3. jaimebienlesfruits
    Member
    Posted 3 years ago #

    Thanks for your reply. Yeah, I managed to tag pages using this plugin called Simple Tags. I wanted to actually list the pages (not so much display all of them). However, I realised it's simply much easier to use parent pages and child pages to organise them. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic