• I have tried thesuggestion of going to the widget options and pulling the search from the sidebar down to the bottom on both the theme and individual pages, but no luck in getting rid of the search bar.

    If the only way to do it is to go into the code, I am unfamiliar with php, but I did look for <?php include (TEMPLATEPATH . ‘/searchform.php’); ?> and could not find it in the heaer php section. I also did not see a way to see the line number. Can you help, please?

    Thanks,

    Ron

Viewing 6 replies - 1 through 6 (of 6 total)
  • Nowadays theme designers use:


    http://codex.wordpress.org/Function_Reference/get_search_form

    get_search_form()

    instead of including a template file, so it would be a good idea to search for that

    check for “sidebar-<sidebar-location>.php” files in your theme’s directory, if the search forms are in the sidebars it might be hardcoded into one of those.

    It really also depends on the theme too, what theme is it you’re trying to remove it from? Maybe someone can open it up and take a look and assist you further.

    Thread Starter rkartman

    (@rkartman)

    I am using Twenty-Eleven 1.3, but I want a blank, dark page to work with. My site is http://www.werenovate.net

    I would like to remove the search box and be able to insert graphics/text at the very top of the page.

    1- Can graphics be moved manually in the edit page (other than left, right and center, or do I have to do this with some code. I have limited exposure to writing or reading php/html code.

    Thanks, Ron

    You can hide the search box using CSS.

    Edit style.css of the twenty eleven theme(of your child theme is preferable)

    and add to:

    #branding #s

    display: none;

    that’s it!

    Thread Starter rkartman

    (@rkartman)

    I went to Dashboard, then appearance, then Theme, then Editor, then looked on the right side below (at the top is the word “Templates”. There were about 3 links pertaining to style sheets. I am uncertain what to look for in the code. Do I look for the term “branding #s and look to make a change next to display: from something to none? When searching for a particular phrase withina large block of code, is there a search mechanism, or do I copy and paste it into something like a Word file and do a search in there?

    Yes…you are definitely dealing with a real newbie/amateur.

    Ron

    BEFORE you make any changes to twentyeleven, make sure that you are using a Child Theme – otherwise you are going to lose all your changes when WP is updated.

    THEN, you can put the above CSS code in the style.css file for the child theme.

    See this re: CSS

    I use an FTP tool known as FileZilla to access my files, download the file to be edited, keep an unedited copy, edit it (NEVER use Wordpad or any rich text editor to modify save web text files, use NotePad (a plain text editor), then upload …as for how to edit CSS, this is a skill to brush up on or hire an expert.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Deleting Search bar’ is closed to new replies.