How To Display Custom Search Results Slider In WordPress?

There are many plugins which allows you to display custom keyword search results inside post content. Now here is a more beautiful way of doing same thing.

You can display search results inside a slider with new Search Carousel plugin. The plugin provides you a customizable shortcode which lets you display a custom search query inside a carousel view.

Search Carousel 1

Start by installing and activating Search Carousel plugin. After activation use shortcode like this:

[search_carousel query=”your search string” excerpt_length=”no of word to show” categories=”cat-1,cat-2,..”]

Search Carousel 2

You can also use same shortcode inside your your page template using “do_shortcode(‘your shortcode ‘)” function:

<?php echo do_shortcode(‘[your-shortcode]’); ?>

Leave a Reply

Your email address will not be published. Required fields are marked *