WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
Does it work with is_tag for archive pages? (2 posts)

  1. pbul2004
    Member
    Posted 3 years ago #

    Im trying to add a sidebar to an archive page using: -

    is_tag( 'hotels-venues' )

    But nothing is showing up, does the plugin work using this?

    Thanks

  2. alanft
    Member
    Plugin Author

    Posted 3 years ago #

    yes, it works as described here:

    http://codex.wordpress.org/Conditional_Tags#A_Tag_Page

    if your tag does have that slug, then it could be curly quotes, or it could be something local to your theme's code that's messing up the evaluation of is_tag

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic