WordPress.org

Support

Support » Plugins and Hacks » JSJ Gallery Slideshow » [Resolved] Separate slider from the_conten()

[Resolved] Separate slider from the_conten()

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jorge Silva-Jetter

    @jorgesilva-1

    Hi,

    You can easily do that using the ‘do_shortcode’ function for WordPress.

    Anywhere in your template you can do something like this:

    `
    <?php echo do_shortcode( ‘[gallery ids="1,2,3,4"]‘); ?>
    `

    In this case the ids are a list of attachment IDs. You can create this gallery using the WordPress Editor and the click on “View Text” to copy paste the shortcode into the do_shortcode function.

    Let me know if that works!

    J.

    Plugin Author Jorge Silva-Jetter

    @jorgesilva-1

    Closing this issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Separate slider from the_conten()’ is closed to new replies.
Skip to toolbar