WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jedifunk
    Member
    Posted 1 year 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 (0.3.6.2) 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.

    Thoughts?

    http://wordpress.org/extend/plugins/wp-coda-slider/

  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
    Member
    Posted 1 year ago #

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

  4. jedifunk
    Member
    Posted 1 year 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:

    <?php
    $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
    Member
    Posted 1 year 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

About this Topic