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.



Share your recent, loved or top tracks scrobbled on
It is also possible to display the top albums, top artists, weekly track chart, weekly album chart and weekly artist chart.

The optional template system will let you present your data as you want. If you do not want to use a custom template, a default presentation with covers will be shown.

gLastFM is based on Lastfm-covers, but it has evolved and almost doesn’t share any common code now.


  • Template system so you can display what you want, as you want.
  • Default presentation with different cover sizes (small, medium, large and extra-large) if you do not use the template system.
  • Easily configurable and customizable
  • Use cached data if the data from is unavailable or too much recent
  • Does not use Javascript: everyone can see the widget (but you are free to add some JavaScript to make things looking more pretty)
  • Display the items as a list for easy styling
  • Clicking a cover or title can redirect you to the related page
  • Improved theme with new pictures (see the ‘license.txt’ file in the theme directory)
  • Clicking on the title of the widget will take you to the user’s page
  • Lot of code cleaning
  • Corrected some translations
  • Better error handling (no longer have PHP errors in case of failure)
  • Use of unique names for functions and global variables to avoid conflicts
  • Respect WordPress coding standards better


  • gLastFM with small covers
  • gLastFM with medium covers
  • gLastFM with large covers (default)
  • gLastFM with extra-large covers
  • Example of custom template without covers


This section describes how to install the plugin and get it working.

  1. Extract and upload the ‘glastfm’ directory to your ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Edit the plugin configuration in the WordPress “settings” category
  4. Add the widget in your sidebar


Why aren’t some fields available in the template depending on what I want to display?’

That’s because the fields aren’t available in the JSON data we retrieved from

Where do you fetch all this data?

I fetch it using the API ( in JSON format using your API key, the cURL library and the json_decode PHP function.

Is it possible to include field X or ranking Y?

Maybe. Just contact me 🙂

I have tons of wonderful ideas for your plugin. What should I do?

Just let me know, it’s always good to hear other people ideas!


Go to this page and follow the instructions: . Oh yes, and do not use CAPS please.

The widget does not render well on my WordPress, why, and what should I do?

Although the widget should display fine on most sidebars, if it doesn’t render well, that’s probably a CSS issue.
Try to hack the widget CSS and/or use a custom template so that you can style the output yourself.

Another question ?

If you have a question or a problem you can contact me on my website: or on the plugin webpage.


There are no reviews for this plugin.

Contributors & Developers

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


Translate “gLastFM” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Added support for Weekly track chart, Weekly artist chart and Weekly album chart
  • Added support for different cover sizes (small, medium, large and extra-large)
  • Fixed recent charts display limit+1 items when one item is “now playing”
  • Reorganized the tags so that “%x%” and “%xurl%” appear together
  • The %title% tag is now the %track% tag
  • The tags %coverurl%, %coversmallurl%, %covermediumurl%, %coverlargeurl% and %coverextralargeurl% are now available for your template
  • Cosmetic tweaks
  • New pictures used for CD jewel case
  • Option to display credits (thanks if you do!)
  • The message “(from cache)” is now optional


  • Code cleaning
  • Added an option to use a custom template.
  • Can now display the top albums and top artists
  • Now use JSON format instead of XML (easier to work with)
  • Improved widget settings
  • CSS tweaks
  • Added a link so that users do not forget to set an API key
  • Updated this readme


  • Bugs fixed


  • Bugs fixed


  • Corrected the case where the XML data is corrupted or incomplete


  • Initial release