Forums

[resolved] Removing The Search Box (7 posts)

  1. columbo
    Member
    Posted 2 years ago #

    can someone tell me what i need to delete to remove the search box from the middle of my page

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    It depends on the theme's template file but try looking for `<?php get_search_form();?>' and deleting that code snippet.

  3. nathanrice
    Member
    Posted 2 years ago #

    Nope. You haven't given a link to your site, what theme you're using, or any helpful information whatsoever, really.

    Sans that kind of information, all anyone can tell you is to look through your theme template files for either a bunch of code that looks like search form code, or look for a get_search_form() function somewhere in the source. When you find it, either remove it or comment it out.

  4. columbo
    Member
    Posted 2 years ago #

    sorry guys, i got interrupted whilst posting the info.

    i'm using WordPress Default theme

    my site is escocolumbo.org

    p.s.
    if i were to switch my theme to iNove 1.4.5 by mg12 right now will it affect the way my site is right now? i haven't done much to it, i'm just getting the design sorted

  5. columbo
    Member
    Posted 2 years ago #

    ...or, if i change to the iNove 1.4.5 by mg12 theme and want to revert back to the default, will i still have the changes i've made already?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    In the default theme, remove <?php get_search_form(); ?> from sidebar.php and/or index.php.

    Changing themes will not impact on any theme changes you've already made.

  7. Shane G
    Member
    Posted 2 years ago #

    Hi,

    You can find the search box code from the file from where you are using the search box like header then header.php and sidebar then sidebar.php of your blog theme folder..

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic