WordPress.org

Ready to get started?Download WordPress

Forums

Add specifically tagged posts to a widget (2 posts)

  1. gdoteof
    Member
    Posted 5 years ago #

    What I am trying to do is have a widget that displays all the posts that are tagged 'auction.'

    What I tried was adding this code to a text box but it does not work, any help?

    <?php
    query_posts('tag=auction');
    ?>

  2. MichaelH
    Member
    Posted 5 years ago #

    Need to get Otto's php code widget and use that type of widget to execute PHP.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.