fbpx

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

1005 views September 26, 2016 July 13, 2019 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?

2 Comments
  • Jasper says:

    Is there a list with all working shortcodes? This one up here isn’t working for me..

    March 28, 2019 at 1:24 pm
Leave A Comment
*
*

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


Join Our weekly Newsletter

Receive our latest news once a week, each Thursday afternoon.
Your email is kept 100% private, and you will not receive other stuff in your mailbox.

We keep your data private and share your data only with third parties that make this service possible. Read our Privacy Policy.