There was a thread in the WordPress hackers mailing (wp-hackers) list today discussing about the browse happy logo which is displayed in the footer of WordPress admin screens, when a user views the admin pages using Internet Explorer.
There were lot of arguments for and against the removal of this logo, at least for IE7. I found that there was even a ticket created in trac (WordPress public bug reporting database) for removing it, which was closed by Matt as wontfix. I personally felt it was a very minor thing to argue about and I neither agree nor disagree in removing it.
Someone in the thread suggested that we can create a Plugin which could output some CSS to hide the logo, which let me to create a very small (probably useless) Plugin called No Browse Happy Plugin. This is similar to the No Howdy Plugin by Ozh, very useless in my point of view but might matter a lot for someone.
If you look at the source code you could find that it is nothing fancy but just an echo statement which prints the following CSS code in the header.
#bh {
display: none;
}
In short, I just wasted two minutes to stop someone from wasting hours in arguing about something which is useless (at least in my point of view). ๐
Reverse the order of comments without editing theme
Published Feb 9, 2008 | In Plugin Releases
I was looking for a way to reverse the order in which comments are displayed in a WordPress blog for one of my projects. After a bit of Googling I found a Plugin called Reverse Order Comments. A quick look into the source code revealed that it was rewriting the comment template and you need to edit the theme to make it work. My instinct told me that it would be easy to accomplish it using the array_reverse comment in PHP.
I followed my instinct and tried to see whether it is possible to do it in a simple way. In the end I accomplished it with less than 10 lines of code and more importantly without the need to edit the theme files. Another instance of the KISS principle in action ๐
I packed it as a Plugin so that you can just drop it into your plugins directory, activate it and then forget about it. It is called Simple Reverse Comments and you can download it from my Plugins page.
Posted in Plugin Releases | Tagged Plugin, Reverse Comments, WordPress | 7 Comments