WordPress.org

Forums

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

  1. J M
    Member
    Posted 1 year 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. J M
    Member
    Posted 1 year 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).

Topic Closed

This topic has been closed to new replies.

About this Topic