WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Enqueueing script works but script has no effect (2 posts)

  1. hiphopinenglish
    Member
    Posted 8 months ago #

    I'm attempting to use this script (a Soundcloud player) on a custom taxonomy template. I've successfully enqueued the script in my theme's functions file. I've called the test snippet as shown on the script's homepage in my template:

    <script type="text/javascript">
    $(document).ready(function(){
    $stratus({
    auto_play: true,
    download: false,
    links: 'http://soundcloud.com/qotsa',
    random: true
    });
    });
    </script>

    Yet it is having precisely no effect. Currently I can't work out why. I have no errors in Firebug and everything seems to be ok.
    An example of the page where this script should show is:
    http://www.hiphopinenglish.com/artists/dr-syntax/

  2. hiphopinenglish
    Member
    Posted 8 months ago #

    Sorry for my previous message. It is no longer relevant as I've since dicovered that the particular script I'm looking to work with needs an earlier version of jQuery (1.7.3). So my new question is: how can I include a copy of this version of jQuery to use specifically with this script? I don't want to de-register the version I'm currently using (up to date).

Reply

You must log in to post.

About this Topic