WordPress.org

Ready to get started?Download WordPress

Forums

Rotating Tweets (Twitter widget and shortcode)
[resolved] Conflicts with Slider and Carousel (6 posts)

  1. trishahdee
    Member
    Posted 1 year ago #

    This plugin is exactly what I am looking for! However...

    On the homepage of a client site, I have Soliloquy Lite Slider Plugin and am using the CarouFredSel script to run a featured post slider. Both of these stop working when I put this plugin in a homepage widget. Do you have any suggestions?

    http://wordpress.org/extend/plugins/rotatingtweets/

  2. Martin Tod
    Member
    Plugin Author

    Posted 1 year ago #

    Hard to say without seeing the page.

    The normal problem in these circumstances is that something is installing jQuery or jQuery Cycle for a second time.

    Soliloquy Lite Slider Plugin (unlike most problematic plugins) seems to be installing jQuery properly and doesn't appear to use jQuery Cycle - so the problem might be with the CarouFredsel installation. Does it work properly with Rotating Tweets if you disable the CarouFredsel script?

    Are you using wp_enqueue_script(); to install CarouFredSel?

    If it is hard-coded, what happens if you change:

    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="jquery.carouFredSel.js"></script>

    to

    <script type="text/javascript" src="jquery.carouFredSel.js"></script>
  3. trishahdee
    Member
    Posted 1 year ago #

    Thank you for the quick reply. Here is the homepage of the development site: http://cakeitupcakestands.com/site/

    When I disabled the the following functions that call the CarouFredSel then both Soliloquy and your plugin work. jQuery is a weakness for me... can you see anything wrong with the way I'm calling these?

    /* Homepage Featured Product Carousel */
    function my_scripts_method() {
      wp_enqueue_script('jquery.carouFredSel-6.1.0-packed', get_stylesheet_directory_uri() .'/jquery.carouFredSel-6.1.0-packed.js', array('jquery'));
      wp_enqueue_script('jquery-1.8.2.min', get_stylesheet_directory_uri() .'/jquery-1.8.2.min.js', array('jquery'));
    }
    add_action('wp_enqueue_scripts', 'my_scripts_method');
  4. trishahdee
    Member
    Posted 1 year ago #

    Nevermind... my bad :( I didn't need to call jquery-1.8.2.min !! All are working now :)

  5. Martin Tod
    Member
    Plugin Author

    Posted 1 year ago #

    You beat me to it! WordPress has jQuery built in. It's generally best to call the default version as you have in the first line. :-)

  6. trishahdee
    Member
    Posted 1 year ago #

    Sometimes I get so engrossed with the details I can't see the obvious. Thanks again.

Topic Closed

This topic has been closed to new replies.