Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Placing AJAX search pro into header/nav bar › Reply To: Placing AJAX search pro into header/nav bar
August 25, 2015 at 1:31 pm
#5664
Hi!
Based on the code I would try replacing the get_search_form(); line.
So instead of
ob_start();
get_search_form();
$items_html .= '<li>' . ob_get_clean() . '</li>';
try:
ob_start();
echo do_shortcode('[wpdreams_ajaxsearchpro id=0]');
$items_html .= '<li>' . ob_get_clean() . '</li>';
Don’t forget to replace the ID of the search instance you want to use.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)



