Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › search box within page not working › Reply To: search box within page not working
Hi Earnest
Sorry, I think I messed up. Your edit got overwritten somehow, and does not display the ajax search.
I now added the code with the ID but it still did not work. Can you please paste the correct code here so I can try this at my end.
Thanks and apologies for this issue.
AMS
Here is your code with the ID
<!– search –>
<?php if ( empty( $data[‘head_show_search’] ) || ( !empty($data[‘head_show_search’]) && $data[‘head_show_search’] == ‘yes’) ) { ?>
<div id=”search”>
<span class=”icon-search icon-white”></span>
<div class=”search”>
<?php echo do_shortcode(‘[wpdreams_ajaxsearchpro id=1]‘); ?>
</div>
</div>
<!– end search –>