Support » Developing with WordPress » Coda slider not working in WordPress

Viewing 5 replies - 1 through 5 (of 5 total)
  • There is an error in your js try changing it to below and see if it works.

    $().ready(function() {
    $('#coda-slider-2').codaSlider({
    autoSlide: true,
    autoHeight: false,
    dynamicArrows: false,
    autoSlideInterval: 4000,
    autoSlideStopWhenClicked: true
    });
    });

    In addition to the above make sure you are enqueuing jQuery the right way and have your *.js files after wp_head();

    If you’re enqueuing JS, it should be done “before” wp_head, not after..

    Additionally this line…

    $().ready(function() {

    ..should probably read.

    jQuery(document).ready(function($) {

    You should use the jQuery var (no conflict) and not the default $ var when doing jQuery inside WordPress using the included jQuery library.

    http://codex.wordpress.org/Function_Reference/wp_enqueue_script#jQuery_noConflict_wrappers

    Hi

    Great plugin. 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.

    Any ideas?

    Thanks
    Laura

    Jauhari

    (@jauhari)

    Thanks it’s worked now

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Coda slider not working in WordPress’ is closed to new replies.