WordPress.org

Ready to get started?Download WordPress

Forums

WP Slick Slider
[resolved] Short codes allowed in slides' content? (4 posts)

  1. David Radovanovic
    Member
    Posted 2 years ago #

    I'm trying to place a AdRotator ad shortcode e.g. [adrotator ad="3"] in the content of all 3 slides or a slider. But when viewing the slider, the page display "results not found" where slider should be: http://www.chefsconsortium.com/?wpss_sliders=adrotator_slider. The slider displays though it's missng the slides. Thanks for any direction.

    http://wordpress.org/extend/plugins/wp-slick-slider/

  2. Ben Casey
    Member
    Plugin Author

    Posted 2 years ago #

    I don't think you quite get how this works. You are querying directly for the slider, and this uses your category archive template, this is not the way WP Slick Slider was designed to work.

    You need to: add the adrotator code to slides, then on the right check the box for the desired slider ( it is a taxonomy, just like a category. )

    next in any post or page, put this shortcode: [SlickSlider name="the-slider-slug"]

    EG if the slider that you assigned the slides to is called My Adrotator Slider the slug would by my-adrotator-slider. ( [SlickSlider name="my-adrotator-slider"] ).

    Let me know if you have any more problems.

    Cheers
    Ben

  3. J. C. (@ommunist)
    Member
    Posted 2 years ago #

    Yes - it works with shortcodes in slides. I use adrotate shortcodes to display ads in slider.

  4. J. C. (@ommunist)
    Member
    Posted 2 years ago #

    @dpaule - I mean it works if you use shortcode within slider post. Stacking shortcodes in single line will not work, it is prohibited by WP architecture.
    Exampli gratia. Create adrotate ad. [adrotate id="12"]. Than go to your slides and create slide. Make it full width text type. Insert adrotate shortcode to body of the slide in HTML editor. Now when you insert this slide, it will show ad from adrotate.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic