WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Search.php? (3 posts)

  1. armstrong1118
    Member
    Posted 6 years ago #

    I am using conditional statements for my sidebars, is there a conditional statement for the page that shows the search results?

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    Yes. is_search() will do the trick.

  3. armstrong1118
    Member
    Posted 6 years ago #

    Thanks Otto!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.