Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search not pulling in when added into Ally.js accessible window › Reply To: Search not pulling in when added into Ally.js accessible window
I’ve found what is affecting it… you see how. the below has a ‘hidden’ attribute? When I remove this from the search results work?!?!?! I’ve uploaded without the ‘hidden’ attribute to show… I do need this in the code, as it’s needed for the dialog box functionality -can you think of anything I could do??
<div id=”dialog” role=”dialog” tabindex=”-1″ hidden>
<div class=”dialog-content”>
<button type=”button” id=”close-dialog” style=”position: absolute; top: 0; z-index: 9;”>Close</button>
<section>
<div id=”searchContent” class=”u-search–collapse j-search show”>
<div class=”u-search–header”>
“>
img/ics-logo.svg” class=”ics-logo” alt=”ICS Nottingham & Nottinghamshire – link to homepage”>
</div>
<div class=”container-fluid u-search–container d-flex”>
<div class=”u-searchbar d-flex justify-content-center”>
<!– ASP Search Input –>
<?php echo do_shortcode(‘[wpdreams_ajaxsearchpro id=1]‘); ?>
</div>
<div class=”u-search–results”>
<!– ASP Search Results –>
<?php echo do_shortcode(‘[wpdreams_ajaxsearchpro_results id=1 element="div"]‘); ?>
</div>
</div>
</div>
</section>
</div>
</div>