• Resolved kaaimangroep

    (@kaaimangroep)


    I’m using the Tiny Framework Child Theme Example for my website, but no search bar shows up in the menu bar. However, in both functions.php and style.css the search form code is uncommented.

    Do I overlook something? Should there be some code in header.php as well?

Viewing 3 replies - 1 through 3 (of 3 total)
  • rgchang

    (@rgchang)

    hello kaaimangroep,

    I was able to accomplish a search bar using this code in my header.php

    <?php get_search_form(); ?>

    In order for the search bar to work, you would need to create a search.php file if the theme you’re using does not have it.

    Theme Author Tomas Mackevicius

    (@tomasm)

    Hi, did you set your menu as Primary? Your site address?

    Thread Starter kaaimangroep

    (@kaaimangroep)

    I hadn’t set a menu, I only used the automatically generated menu. Adding a menu in Appearance > Menu and setting it primary did the trick.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No search bar in Child Theme Example’ is closed to new replies.