RSS Feed
Jul 14

Last.fm Records with Absynthe theme (latest version breaks it)

Posted on Tuesday, July 14, 2009 in linux, theme fix, wordpress

Hey everyone.

So my Last.fm records plugin that is built-in or implemented with this amazing theme broke after I upgraded it, so I checked and it seems the whole plugin is now using jQuery. I have had to do some modifications to make it work, I hope this helps.

FIrst, you need to add this in your wp-content/themes/absynthe/header.php right after <![endif]-->.

<script type='text/javascript' src='/wp-includes/js/jquery/jquery.js'></script>

After that, you need to edit wp-content/themes/absynthe/footer.php and replace this:

if (function_exists('lastfmrecords_display')) {
lastfmrecords_display();
}
?>

By this:

<div id="lastfmrecords"></div>

Once you’ve made those changes, go to Settings > Last.fm Records, make sure that the CSS is disabled else it won’t look pretty and make sure the placeholder is set to “lastfmrecords”.

Enjoy :)

I will let the developer of this theme know so he can fix this too.