• Trying to add a search bar under the ‘get more’ button within the title card area to make use of this massive amount of space. Adding the default <?php get_search_form( $echo ); ?> to header.php doesn’t do anything for me. Could you point me in the right direction?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    Try removing the $echo from the function and see if it works for you. For example:

    <?php get_search_form(); ?>

    In the function reference for get_search_form() it notes that $echo should be a boolean that defaults to true so you don’t actually need to put it in the function when adding it to a theme or plugin.

    I hope this is helpful. Let me know if it works.

    Hello,

    I just wanted to follow up and see if my above suggestion was of any help or if you were able to find a solution elsewhere. If the latter, would you mind please posting it so that others can use this topic as a reference in the future?

    Thanks a bunch.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add Search bar to title-card?’ is closed to new replies.