Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10875

    when I click on search site I end up on the page with side bar (default for blog but I do not have the blog and do not want this page layout)

    for the lack of other ideas (I have the same problem with category product summary page) I decided to remove search from the website.

    To do that I went to header.php and commented out the following code:

    * display the theme search form

    * the tempalte file that is called is searchform.php in case you want to edit it

    */

    <!–

    get_search_form();

    ?> —>

    It is not working. What am I doing wrong?

    ( I also removed the sidebar code from arcive.php, templete-archives.php and combination of both in case archive is the default page and this did not work also)

    please help

    #69687

    Hi!

    You just need to replace:

    get_search_form();

    with:

    // get_search_form();

    Best regards,

    Peter

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘problem with site search’ is closed to new replies.