• Do you know a good method for including post content in slides? Can this be done by nesting post display shortcodes inside the VJS shortcode tags?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author elevaunt

    (@elevaunt)

    Sorry for the late reply. Yes, you can nest shortcodes inside the VJS shortcode. So you can do something like this:

    [vjs_slider][your_post_content_shortcode][/vjs_slider]

    I’ve used that method and it works great. You’ll need to pay attention to what the nested shortcode ouputs so you can tell VJS Slider what elements are slides.

    Thread Starter Dan Knauss

    (@dpknauss)

    Thanks, that is helpful.

    Thread Starter Dan Knauss

    (@dpknauss)

    What content shortcodes have you tested? I’m not having any luck with this.

    Plugin Author elevaunt

    (@elevaunt)

    Hi Dan, I’ve used a couple custom shortcodes. The tricky part is that it all depends on what the shorcode outputs – the slider needs to know what elements to look for to create the slides.

    Typically you’ll want to identify a class of each slide element, or if they are all direct descendants, that can work too. So you’ll have to see what elements the shortcode is outputting and work with that.

    Which shortcode are you trying to use? I can take a look and see if I can get it working.

    Thread Starter Dan Knauss

    (@dpknauss)

    The only decent option I’m aware of is Bill Erickson’s old Display Posts Shortcode plugin.

    Plugin Author elevaunt

    (@elevaunt)

    That’s the one you want to use, or that’s the only one you can get working?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Post content in slides’ is closed to new replies.