WordPress.org

Ready to get started?Download WordPress

Forums

Remove search feature from single page (2 posts)

  1. PeaDeeDee
    Member
    Posted 5 months ago #

    Hello,

    I would like to remove the search bar feature on just a single page of my site. I found out that the search feature code is located in the header.php file, but if I delete it from header.php won't the search bar be removed from all my pages? How can I remove it from just one page?

    Any help would be greatly appreciated!

  2. CrouchingBruin
    Member
    Posted 5 months ago #

    Don't edit the theme's header.php file. You can use CSS to hide the search bar on the one page. If you post a link to the specific page in question, and I can tell you what CSS to use.

Reply

You must log in to post.

About this Topic