display specifically tagged post in widget

  • Author
    Posts
  • #276765

    gdoteof
    Member

    What I want to do is display a list of all the posts that have a certain tag in a widget on the side bar.

    The particular tag I am using is ‘auction.’

    I tried this in a text widget:

    <?php
    query_posts(‘tag=auction’);
    ?>

    and it returns nothing. any help?

    #276949

    rosclarke
    Member

    Do you have a wordpress.com blog? That looks to me like code from a wordpress.org blog, in which case you’re in the wrong forum.

    #276951

    gdoteof
    Member

    i’m not sure.. i have a custom installation of wordpress on netfirms

    #276953

    rosclarke
    Member

    That’ll be wordpress.org then. You want to ask here: http://wordpress.org/support

The topic ‘display specifically tagged post in widget’ is closed to new replies.