This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress. Post Extension


It gets the last song you listened to from your 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 Password is needed, only your Username.


There a three possibilitys to change 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()


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.


  • 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


  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 Username, Timeout and Link Layout in 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

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