This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Last.fm Post Extension

Description

It gets the last song you listened to from your Last.fm Profile and add its to your Posts Metadata.
Via the Tagfunction the_music() you can show the formated song information on your post page.
No Last.fm Password is needed, only your Username.

Individualisation

There a three possibilitys to change Last.fm Post Extension public Appearance:
* Setting up the Format String in Last.Fm Post Extensions Options Page (Admin -> Plugins)
* Editing lastfmpostext.css
* Edit the $output Var in lastfmpostext.php the_music()

Requirements

Unfortunaly i’m a lazy guy. So there is no PHP4 support since it uses the SimpleXML Class,
which is only included in PHP5. But PHP4 is obsolete anyway, so this is a good opportunity to get rid of it.

Screenshots

  • This is what the output of the plugin may look like. You are free to design the output yourself
  • This is how you integrate the song output to your single/index/archiv file
  • The Backend

Installation

  1. Upload the Folder lastfm-post-extension to your \wp-content\plugins\ Folder
  2. LogIn and active the Plugin in WordPress ‘Plugin’ Menu
  3. Setup Last.fm Username, Timeout and Link Layout in Last.fm Post Ext Options Page
  4. Go to the Design Section of WordPress Backend -> Theme Editor -> index.php
  5. Place <?=the_music()?> somewhere. I suggest you do it either directly under the header or in the meta box of the post (look at screenshot-2.png)
  6. Do the same in single.php and archiv.php
  7. Happy Posting. You might leave me a short comment under the donatation url.

Contributors & Developers

“Last.fm Post Extension” is open source software. The following people have contributed to this plugin.