Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Regular engine not searching custom post types but is configured to do so › Reply To: Regular engine not searching custom post types but is configured to do so
May 30, 2019 at 9:00 am
#22953
Keymaster
Hi!
Thank you for the details. Can you please add temporary FTP and admin details? I would like to debug the search query to see why the results are missing.
Try using the jQuery focus delayed by a bit. Something like this:
jQuery(function($){
$('.search-open').on('click', function(){
setTimeout(function(){
$('input.orig').focus();
}, 500);
});
});
The modal may have a different focus setting on clicking, and this delay should do the trick.