Hello,
I'm new.
I'd like to add Soundmanager2 to Neuticaplus. I've successfully managed to get it working on the rather excellent Nuetica and decided I wanted to upgrade the whole experience and paid for Neutica+
So far so good. I then tried to re-follow these instructions: http://superpositionkitty.com/2009/04/soundmanager-2-wordpress/ but I'm a little stuck on how thematic is calling stuff.
I've worked out that Thematic uses a function.php which condenses all the usual WP theme php files but I'm trying to figure out if I should use the thematic function.php or the neuticaplus function.php. I'm presuming the latter.
The stumbling block for me is where to put the stylesheet and javascript code quoted here:
code
<link rel="stylesheet" href="http://yoursite.com/wp-content/themes/yourtheme/css/inlineplayer.css" type="text/css" media="screen" />
<script type="text/javascript" src="http://yoursite.com/wp-content/themes/yourtheme/js/soundmanager2.js"></script>
<script type="text/javascript" src="http://yoursite.com/wp-content/themes/yourtheme/js/inlineplayer.js"></script>
/code
I've tried this for the stylesheet:
code
// SoundManager2 Stylesheet
function childtheme_create_stylesheet($content) {
$content .= "\t";
$content .= "
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
$content .= get_bloginfo('stylesheet_directory') . '/';
$content .= 'inlineplayer.css';
$content .= "\" />";
$content .= "\n\n";
return $content;
}
add_filter('thematic_create_stylesheet', 'childtheme_create_stylesheet');
/code
and I have no clue when it comes to the javascript.
Any help appreciated.