WordPress.org

Ready to get started?Download WordPress

Forums

WP Parallax Content Slider
[resolved] Multiple shortcode-Sliders (13 posts)

  1. maximaldesign
    Member
    Posted 1 year ago #

    hi,
    great plugin!!
    But i would like to use multiple Sliders via short codes. Can i change the short code so i can enter the category f.e.?

    thanks!

    http://wordpress.org/extend/plugins/wp-parallax-content-slider/

  2. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    I will add this in v1.0, that's a good idea.

  3. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    As I've said to another member, if you want, you can try the current development version.

    I've added support for a shortcode parameter (eg. [parallaxcontentslider cat="2"] or [parallaxcontentslider cat="2,5"])

    Regards

  4. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    It seems that it works fine!

  5. snecz
    Member
    Posted 1 year ago #

    How this:
    <?php if ( function_exists( 'get_wp_parallax_content_slider' ) ) { get_wp_parallax_content_slider(); } ?>
    should look for different categories in your example in this development version?

  6. snecz
    Member
    Posted 1 year ago #

    For me shortcode doesn't work in 0.9.4 version. Do you have any idea how can I fix it?

  7. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Hi snecz,
    can you tell me the kind of errors you are seeing or maybe PHP errors stacks? Where do you put the shortcode ? Which version of the shortcode do you use (with or without parameters?)

  8. snecz
    Member
    Posted 1 year ago #

    I use
    <?php echo do_shortcode( '[parallaxcontentslider cat="8"]' ); ?>
    in template
    and also tried with
    [parallaxcontentslider cat="8"]
    on page content.
    No errors, just can see yellow wawes but no slides.
    Thanks for reply. I'm just about to finish new site and that's my last problem...

  9. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Hmm, it seems much more like a javascript error! Can you look inside your debug console?

  10. snecz
    Member
    Posted 1 year ago #

    How can I do this?

  11. snecz
    Member
    Posted 1 year ago #

    Ok. The shortcode is working now after deleting
    <?php if ( function_exists( 'get_wp_parallax_content_slider' ) ) { get_wp_parallax_content_slider(); } ?>
    from the template. That was the conflict.
    But problem is that it ignores category set in the shortcode and still depends on settings in admin panel.

  12. snecz
    Member
    Posted 1 year ago #

    Just solved this! I looked at your code and the shortcode should be:
    [parallaxcontentslider categ="8"]
    not
    [parallaxcontentslider cat="8"]

  13. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry for this mistake :( I'll fix the documentation ASAP

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic