The code snippet for appending a search box in Primary or Secondary Navigation menu currently uses output buffering to display the output of get_search_form() like this: We can simply use the false parameter in get_search_form() to return the search form as a string instead of echoing thus avoiding storing it in buffer.
search
Adding Search in Navigation with Font Awesome search icon outside the box in Genesis
functions.php: To view the full content, please sign up for the membership. Already a member? Log in below or here. Username Password Remember Me Forgot Password
A subtler Search form in Genesis
To view the full content, please sign up for the membership. Already a member? Log in below or here.
Adding a search form input button icon inside the input box in Genesis
To view the full content, please sign up for the membership. Already a member? Log in below or here.
How to replace search button text with a icon font in Genesis
To view the full content, please sign up for the membership. Already a member? Log in below or here.
How to style search next to custom menu in Header Right widget area of Minimum Pro
To view the full content, please sign up for the membership. Already a member? Log in below or here.
Recent Comments