WordPress.org

Ready to get started?Download WordPress

Forums

adding echo to only one category page (1 post)

  1. Shuo
    Member
    Posted 5 years ago #

    Hi. I'm trying to add echo to only one category page but it doesn't work.
    I tried it like this:
    if (single_cat_title()=='Some category name') echo "Hurray!";
    but it doesn't work. Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.