I’m trying to get this playlist.me code embedded into my WordPress site. They suggest to put it under the <body>
tag but that doesn’t work for WordPress within header.php
. I’ve searched all over and no one has posted up about this which is mind boggling.
<!-- Song Player http://playlist.me -->
<script type="text/javascript" src="http://playlist.me/w/script.js" data-config="{'skin':'skins/pink/skin.css','volume':50,'autoplay':false,'shuffle':true,'repeat':1,'placement':'top','showplaylist':false,'playlist':'https://soundcloud.com/freshfuzion/sets/fresh-fuzion-collective'}" >
</script>
<noscript>
<a href="http://playlist.me/skins/">SCM player skins</a>
</noscript>
<!-- playlist.me script end -->
If you look in the themes folder (probably
wp-content/themes/outspoken
, and search for<body
across files, you should get the file as result (if it’s notheader.php
that includes the openingbody
tag after that your player script goes).