Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Beaver Builder - Add Search to Mobile
* Add Search Box to Mobile
* Adds a search box to mobile, below the header.
* To move it above the header, change fl_after_header to fl_before_header
function bbMenuPolish_addMobileSearch(){
if ( wp_is_mobile() ) {
add_action( 'fl_after_header', 'bbMenuPolish_addMobileSearch' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment