WordPress Plugin: CurMusic

CurMusic adds two additional fields to every post, artist and song. You can use them to show your readers what you were listening to when you wrote the post. The information is shown by adding a PHP function to the theme. The style of the artist/song string can be customized through the option page.

Download and Install

Download CurMusic 1.0.

Unzip the file, upload it to your plugin directory (/wp-content/plugins/) and activate the plugin in the Plugins tab.

Edit your theme (Presentation -> Theme Editor) and add this where you want the music announcement to be: <?php echo_curmusic(); ?>. Note that you should know the difference between HTML and PHP before doing this. If you dont, feel free to ask in a comment.

Changelog

Post navigation

Your email address will not be published. Required fields are marked *

Comment

Name *

Email *

Website

Save my name, email, and website in this browser for the next time I comment.

Welcome to Timblog!

I’m Tim Johansson, and this is where I store everything that I write. You can browse through everything on this page, or you could choose a category that interests you in the top bar. If you have anything to say, don’t hesitate to comment — I love comments, too. Enjoy.

A new film tells the story of Carlos Kaiser, who was one of the most famous footballers in Brazil for over 20 years – even though he had no intention of ever kicking a ballYou might know the voiceover at the start of The Big Lebowski. As tumbleweed meanders through Los Angeles, Sam Elliott introduces […]

Rainfall affects our mood, our propensity to commit crime and how hungry we feel – but why?It’s raining, it’s pouring, the old man is snoring. He bumped his head when he went to bed, and he couldn’t get up in the morning. This was possibly because in the absence of sunlight his body was still […]

A trip to North Carolina to study bluegrass yielded this lesson: Earl Scruggs was the greatest there ever wasI spent a couple of months last year studying bluegrass in North Carolina, and I learned that there are is one tune you never ask a banjo player to play for you. Foggy Mountain Breakdown, Earl Scruggs's […]

When Johan Cruyff sold Jan Olsson the mother of all dummies with the subtlest of swerves, the Dutch captain’s signature move became the enduring symbol of Total FootballIt’s the defining image of the 1974 World Cup; the defining image of the great Dutch team of the 70s; the defining image of one of the most […]

Random tales from the 1966 tournament that have absolutely nothing to do with Azerbaijani linesmen, Kenneth Wolstenholme or Pickles the Dog1. The branding for the 1966 Football World Championship for the Jules Rimet Trophy was all over the shop. But at least Fifa were trying. The 1966 finals was the first to be blessed with […]

One of the greatest World Cup games has been largely overshadowed by the West German keeper’s dastardly actThe semi-final stage of the World Cup has, on balance, not been particularly kind to France. In 1958, the free-scoring team of Just Fontaine and Raymond Kopa were more than holding their own against Brazil until Vavá clattered […]

When Holland faced Germany it was always ‘problematic’, never more so than at Italia 90 when two rivals clashedA sort of photographic antithesis of Bobby Moore’s post shirt-swap embrace with Pelé in 1970, it is one of the iconic World Cup images. Four years after the photograph was taken, it was further seared on the […]

War-torn country’s players travelled to the 1982 tournament as heroes but were shunned on their return after some shockingly gung-ho tactics brought about a 10-1 defeat to HungaryOne of the smaller, yet still very pleasing features of the great 1982 World Cup was that even the goal celebrations had a poetic quality. The joy of […]

In open rebellion against their manager, France’s 2010 squad self-destructed as Thierry Henry watched impassivelyThierry Henry had more pressing matters to attend to before he could lose himself in his New York dreamscape [he was joining New York Red Bulls from Barcelona in the summer 2010], starting with his uneasy position within the French national […]

From pop-up bike lanes to painted potholes, here are the imaginative ways frustrated cyclists are taking action to create a safer environmentAcross the world, transport planning and infrastructure tends to favour the car, and facilities for cyclists and pedestrians are an afterthought. In response, frustrated urban cyclists have thrown caution to the wind and written […]