• Hello,
    So this is the deal, I am working on a project for someone. They do not want the search bar on any page on the site except for one. This really isn’t even a page, it’s a category query of posts. Is there a way to get the search bar to only show up there? Please advise

Viewing 2 replies - 1 through 2 (of 2 total)
  • Create an “Alt-Page.php” template that will be used only for this page. Copy the search bar code, usually found in the “Header.php” and place it where you want it in the “Alt-Page.php” template.

    Thread Starter jaydude08

    (@jaydude08)

    Okay, kewl, now how do I query posts onto it.

    Example, let’s say I have a category called “toy reviews” that contains all toys. I want to create a page with toy reviews that has the search bar but I also want it to list all of the posts in relation to things filed under “toy reviews”.

    Also, what else do I put o Alt-Page.php? What page can I copy to make this? I am just curious. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Putting Search Bar on Single Page’ is closed to new replies.