Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24683

    Hi,

    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?

    Thank.s

    #124357

    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');
    if($slideHtml)
    {
    echo $slideHtml;
    }

    and instead of 20 insert the id of the page which contains the slideshow images.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Shortcode for Avia slideshow on category overview pages’ is closed to new replies.