WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow Shortcode (1 post)

  1. stevek82
    Member
    Posted 1 year ago #

    Hi

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    function slideshow_shortcode( $atts, $content = null ) {
       return '<div class="slideshow-wrap"><div class="slideshow-body">' . do_shortcode($content) . '</div></div>';
    }
    add_shortcode( 'slideshow', 'slideshow_shortcode' );

    Seems to have stopped working on a site my friend runs.

    They upgraded to 3.5.1 and its stopped scrolling, but shows the first image in the list

    Any ideas?

    Steve

Topic Closed

This topic has been closed to new replies.

About this Topic