WP Coda Slider
[resolved] 3.6.2 won't load JS (5 posts)

  1. jedifunk
    Posted 3 years ago #

    Been using this plugin for about a year now, and love its functionality.

    However, on my latest project the current version of the plugin ( never loads.

    It shows up in the admin area, and I am able to setup the functionality I would like, but when the page is loaded, the JS never loads. jQuery loads, but the jquery.coda-slider-3.0 file or the jQuery easing never load.

    I also have the following using jQuery
    - google maps api
    - curtain.js
    - mediaelements.js

    I've tried turning these off and it still doesn't load.

    However, if I install the plugin on a clean install using 2011 theme the plugin works as expected.



  2. If it loads correctly when you use Twenty Eleven, there's a good chance the problem is actually with your theme. What theme are you using?

  3. jedifunk
    Posted 3 years ago #

    @sabreuse i'm not surprised. its a custom theme that i've developed from scratch.

  4. jedifunk
    Posted 3 years ago #

    as i'm reviewing my code, i think i might have an idea of why. it looks like the coda slider only loads itself on pages/posts where a slider has been created, which typically would be perfect, to keep JS calls to a minimum.

    however, in this instance, i'm creating a one page site that uses the curtain.js to simulate different "pages".

    i'm pulling in the page content using the following:

    $page_id = 7;
    $page_data = get_page( $page_id );
    $title = $page_data->post_title;
    $content = apply_filters('the_content', $page_data->post_content);
    echo $content;

    using this method, is there another way to get the slider to show up? thoughts?

  5. jedifunk
    Posted 3 years ago #

    using the shortcode seems to be the best option in this instance.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Coda Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic