At the bottom of every post you will now see an extra line above the post information (date, time, comments, etc.) telling you what mood I was in when I wrote the post.
I’m a great believer in open source so if anyone wants to implement this in their own WordPress blog, read on …
The following code needs to be added in the Single Post (usually single.php) and Main Index Template (usually index.php) immediately before the text “Posted By” (or the equivalent if your template says something different):
To make it work, at the bottom of the page when you write a blog post you’ll see a section with the title “Custom Fields”. The first time you do this you will need to add a new Key with the name “Mood” (case sensitive). Subsequently you will be able to select Mood from the dropdown list. When you write a blog post, select Mood from the dropdown list and write your mood in the “Value” textbox on the right of it.
When you publish your post, whatever you wrote for Mood will appear above the post information. The extra line will only appear if you enter something for Mood. For styling, you could give the span tag a class and style it through your stylesheet or give it an inline style.