August 25, 2015 at 1:31 pm
#5664
Ernest Marcinko
Keymaster
Hi!
Based on the code I would try replacing the get_search_form(); line.
So instead of
[php]
ob_start();
get_search_form();
$items_html .= ‘<li>’ . ob_get_clean() . ‘</li>’;
[/php]
try:
[php]
ob_start();
echo do_shortcode(‘[wpdreams_ajaxsearchpro id=0]‘);
$items_html .= ‘<li>’ . ob_get_clean() . ‘</li>’;
[/php]
Don’t forget to replace the ID of the search instance you want to use.