WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Javascript and Posts (2 posts)

  1. jungledsales
    Member
    Posted 10 years ago #

    I want to add my AudioScrobbler feed to my blog page for music, but the feed requires a javascript that I can't add because wordpress formats out the script tags. I have already read the help secion and it doesn't help:

    http://codex.wordpress.org/Using_Javascript

    My feed picture is

    <script src="http://imagegen.last.fm/chartjs/iTunesFIXED/otracks/marcuswickes.js" /></script>

    so I don't know how to make it an external file and then upload it the way the help file showed because the audioscrobbler already is an external javascript.

    ANY suggestions?!?

  2. maerk
    Member
    Posted 10 years ago #

    Try adding it in the template files as part of the loop. That way it will be displayed on every post and WP won't strip the tags.

Topic Closed

This topic has been closed to new replies.

About this Topic