Search field in BB


Description: 

With this you can put the search field where ever you want.

Add the PHP code to functions.php in the child theme.
In Beaver Builder add [bb_search] shortcode in HTML module.




Kind:

PHP, Beaver, Shortcode


PHP:

function bb_search_shortcode() {
 ob_start();
 FLTheme::nav_search();
 return ob_get_clean();
}
add_shortcode( 'bb_search','bb_search_shortcode' );


Shortcode:

[bb_search]