Remove WP Search Form

Discussion in 'WordPress' started by Investdeluxe, Oct 3, 2011.

  1. #1
    Hey,

    I am giving away 1 x $100 Google Adwords voucher to the first person who replies here / sends me a PM with the solution (or I can send you my stylesheet.css or whatever file you need to edit to fix this issue) and then I will give you a free google voucher ;)

    I tried removing my Wordpress theme's search box by deleting the search.php and searchform.php and the line of code in header.php which removed the actual search bar from my websites header but now it is still showing a form of where the search box use to be and i want to remove it.

    You can see what I am talking about at http://www.giftbay.info (at the top right of the page on the header)

    Thanks.
     
    Investdeluxe, Oct 3, 2011 IP
  2. _nuke_

    _nuke_ Greenhorn

    Messages:
    56
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    Depending on your theme, you will probably need to edit your stylesheet to remove the box from your header...
     
    _nuke_, Oct 3, 2011 IP
  3. CMNS

    CMNS Well-Known Member

    Messages:
    95
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    100
    #3
    the search box comes with the header background image, just edit the image
     
    CMNS, Oct 3, 2011 IP
  4. Investdeluxe

    Investdeluxe Member

    Messages:
    110
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #4
    I am not a good image editer, Is there anyone here willing to edit it out the image for a $100 Adwords voucher?
     
    Investdeluxe, Oct 6, 2011 IP
  5. Sept20

    Sept20 Peon

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    maybe the theme hide the real code in header somewhere. Try to check it thoroughly. There are times that some codes are hidden
     
    Sept20, Oct 7, 2011 IP
  6. Investdeluxe

    Investdeluxe Member

    Messages:
    110
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #6
    The form was in the header itself as the above poster said and I fixed it.

    Thanks for the help!
     
    Investdeluxe, Oct 7, 2011 IP
  7. developer.designer

    developer.designer Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If search form is in sidebar
    open sidebar.php and find get_search_form() function if you find then comment it if layout is fine then remove that code
    if you search form is in top then open header.php and do the same thing.
     
    developer.designer, Oct 8, 2011 IP