• Resolved j_mo

    (@j_mo)


    Hi,

    I and trying to use https://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=”https://thisisallshookup.co.uk/#2″>link to the site I am developing

    Can anyone help me please.
    Phil

Viewing 7 replies - 1 through 7 (of 7 total)
  • this should work, remove $.noConflict();

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

    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:

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

    Can anyone shed any light on the problem please

    Thanks,
    Laura

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

    Peter,

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

    Any ideas?

    Thanks,
    Laura

    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

    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:

    https://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):

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

    Thanks in advance for your help

    Kind regards
    Laura

    @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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Coda-Slider 2.0 and $noConflict’ is closed to new replies.