I would like to use the Avia slideshow (like in “normal” pages) in the category overview.
Therefore I’ve added a filter to the functions.php, so that shortcodes within the category descriptions are working – so far, so good, for example the content slider shortcodes of CORONA working fine.
But I would like to have on top of the category overview an Avia slideshow as it is on normal pages.
Does this slideshow have a shortcode, that I can insert in the category description or is there another kind of code, that I can add there, or if this won’t work – do you have another suggestion how to get a slideshow on top of the category overview pages?
You can try – http://wordpress.org/plugins/shortcode-exec-php/ – it allows you to embed php code. Then use following php code to call the slideshow:
$slider = new avia_slideshow(20);
$slideHtml = $slider->display_small('page');
and instead of 20 insert the id of the page which contains the slideshow images.
The topic ‘Shortcode for Avia slideshow on category overview pages’ is closed to new replies.