• Resolved frankdan

    (@danfrankdancom)


    Hum features a search form between the description and the widgets in the left sidebar.

    This unwanted search box doesn’t appear in the Widgets panel.

    How do I delete it?

    Where is the file I need to edit and how do I bring it into the child theme?

    Thanks – still learning about child themes.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hurn? Where did you find this theme? I can’t find it in the WordPress repository to look at. Can you post the URL to your site?

    Thread Starter frankdan

    (@danfrankdancom)

    Sorry – It’s called Hum –

    https://debrakayecomposer.com/wordpress/

    It’s a Child theme, built on TwentyEleven, but found through Install Themes.

    I managed to drag a copy of header.php from Twentyeleven into Hum and I see this code:

    wait – what are ‘backticks’?

    Thanks

    Back ticks are `, you need to stick your code between them, or use a service like pastebin.

    Thread Starter frankdan

    (@danfrankdancom)

    I figured it out – the code I removed from header.php in the Child Theme (Hum) was:

    ‘ <div class=”only-search<?php if ( $header_image ) : ?> with-image<?php endif; ?>”>
    <?php get_search_form(); ?>
    </div>
    <?php
    else :
    ?>
    <?php get_search_form(); ?>

    That did it – and I’m starting to “get” Child Themes…

    Thanks, Max

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hum – remove search box?’ is closed to new replies.