WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Coda-Slider 2.0 and $noConflict (8 posts)

  1. J_Mo
    Member
    Posted 3 years ago #

    Hi,

    I and trying to use http://thisisallshookup.co.uk/#2 a Coda-Slider 2 jQuery plugin and failing!!

    I was getting the usual 'example is not a function' error so I used this noConflict code.

    $.noConflict();
    jQuery(document).ready(function($) {
    $('#coda-slider-1').codaSlider();
    });

    This has removed the initial error but is causing another '...is not a function' error in one of the related js files.

    Here is a a href="http://thisisallshookup.co.uk/#2">link to the site I am developing

    Can anyone help me please.
    Phil

  2. Peter_L
    Member
    Posted 3 years ago #

    this should work, remove $.noConflict();

    jQuery(document).ready(function() {
            jQuery('#coda-slider-1').codaSlider();
    });
  3. LeftClick
    Member
    Posted 3 years ago #

    Hi,

    I am currently using Coda Slider on my website but I have been encountering a conflict problem.

    The coda slider works perfectly but plugins within the posts aren't working. The only thing it displays is the shortcode.

    I have attached a link to my website below:

    http://www.dawaf.co.uk/surf/?page_id=58#3

    Can anyone shed any light on the problem please

    Thanks,
    Laura

  4. Peter_L
    Member
    Posted 3 years ago #

    where is your footer?
    could be caused by absence of the wp_footer() hook

  5. LeftClick
    Member
    Posted 3 years ago #

    Peter,

    Thanks for your thoughts. I've put the footer back in but the plugins are still not working.

    Any ideas?

    Thanks,
    Laura

  6. Peter_L
    Member
    Posted 3 years ago #

    try disabling this sub-menu slider
    (ABOUT US /NICARAGUA /ACCOMODATION /AVAILABILITY /ITINERARY)
    see if it works

    if not, it's probably not a jquery conflict but a settings problem

    if it does, try changing your jquery into the solution I showed above, removing all the $ from the code

  7. LeftClick
    Member
    Posted 3 years ago #

    Peter,

    Thanks for all your help. I have made the suggested changes but I am still encountering the same problem.

    Below is a link of a page with the coda slider enabled which conflicts with plugins and only shows the shortcode:

    http://www.dawaf.co.uk/surf/?page_id=58#4

    I have also attached a link with a post that successfully shows plugins without the coda slider enabled (scroll down to the bottom of the page to see the plugin):

    http://www.dawaf.co.uk/surf/?p=352

    Thanks in advance for your help

    Kind regards
    Laura

  8. @Laura,

    I just released a development version of wp-coda-slider that addresses the bug of other plugin shortcodes not working on posts inside the slider. The development version includes a template tag option which you will have to use if you want to use shortcodes within slider posts.

    Instructions for adding the template tag are in the readme.

    Link to download development version

    Demo and additional information at the plugin website.

Topic Closed

This topic has been closed to new replies.

About this Topic