• Hi, great plugin. My only issue is that when users enters in an error page, WP shows a search bar but it’s the default WP search not the plugin search. I tried selecting “Override the default WordPress search results” but doesn’t work.

    Is there any other option? Or if it’s not possible, how to easily edit that page to remove the search or add the Ajax shortcode search?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    That means, that the 404 template page is probably using a hard-coded search bar, that cannot be replaced via a filter.

    The only option in this case is to edit the 404.php file in the theme directory (preferably via a child theme), and replace the search bar with the plugin shortcode:

    <?php echo do_shortcode('[wpdreams_ajaxsearchlite]'); ?>

    However, you might have to ask the theme author on where exactly to find that template, and which lines to replace, as it is different on every theme out there. If you decide to do it yourself, I strongly suggest having a full site back-up, just in case.

    Best regards,
    Ernest M.

Viewing 1 replies (of 1 total)
  • The topic ‘Search on 404 page’ is closed to new replies.