Is there a shortcode to display the ajax search where I need ?

742 views September 26, 2016 May 4, 2017 admin 1

Yes, there is a shortcode

The shortcode will simply show the whole ajax search results : did you mean?, header, facets, sort list, results, navigation bar.
This is the very shortcode used to show the ajax results on page /search-wpsolr/.

Paste the shortcode

Paste

[solr_search_shortcode]

in any page or post description

Add the shortcode to your theme template(s)

<?php echo do_shortcode('solr_search_shortcode'); ?>

Was this helpful?

Leave A Comment
*
*

This site uses Akismet to reduce spam. Learn how your comment data is processed.