• Resolved AtomicPop

    (@atomicpop)


    I’ve just volunteered to take over administrating a WP site. I’m a relative novice with WP but probably somewhat more experienced than the previous site admin. At some point in the past he added a search box within the header of the site. Unfortunately it obscures part of the organization’s title.

    https://daneforeclosurehelp.org

    I can’t figure out how he added the search box and/or how to get rid of it….and neither can the last admin. He has no idea how he added it.

    Can anyone lend a little insight on what to look for and where? It’s not widget based. Seems to be hard coded but I’m not sure where/what to look for. Any feedback would be greatly appreciated. It looks terrible right now and I really need to get it out of there.

    Thanks! Patrick

Viewing 4 replies - 1 through 4 (of 4 total)
  • this should be pretty simple. find the bit of code in the header.php around line 21 that starts with:

    <div id="searchdiv"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div>

    and make it
    <!--div id="searchdiv"--><!--?php include (TEMPLATEPATH . '/searchform.php'); ?--><!--/div-->

    (I am leaving the line effectively the same, merely commenting out the code that you are not interested in. This way, all you have to do is remove the !-- and -- later, and you are back to the way you were.)

    Paul

    Thread Starter AtomicPop

    (@atomicpop)

    Ah, brilliant! Perfect! I had previously tried to comment it out but must have done it incorrectly as it didn’t work.

    Looks great now though. Thanks so much for the help!

    thank you!

    Just upgraded to Simplex 2.0.1.2 and not sure how to delete the search box. I’m not finding the code referenced above.

    Please help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help removing search box from SimpleX header?’ is closed to new replies.