Finished First Development Project:My Free WordPress Comments Widget Plugin
The other day I decided to display comments on my WordPress blog using the default widget but I was not quite satisfied with the display,mainly the lack of actual comment content or excerpt thereof.So naturally,I went into the wp-includes (in the WordPress core files)to investigate the code and behold,in 102 lines of code ,it still did not even do half of what I wanted.Since most modification to core WordPress files get overwritten after an upgrade,it’s pretty pointless to alter any of them and since WordPress supplies such a nice Settings API to work with,I decided to dig in and make my own.
Cool but what does this WordPress Plugin does exactly?
Pretty simple yet,much better!
I personally think any WordPress Widget should have only one goal,to help the user AND admin customize and enjoy respectively their experience while keeping things simple
(i.e click and change colors etc).Mainly,from a ‘Recent Comments’ widget, one should expect to be able to:
- Display a customize-able comment excerpt length(or full comments)
- Display the name of the comment’s author and ability to change it’s color
- Displaying ,or not elements like a ‘more’ button’s and ability to alter it and it’s text’s colors
- Change the title of the Widget(that’s a given!)
- Display a custom number of Comments, of course
It might not seem much from another coder’s point of view and this is what I’m hoping when releasing the code under GPL2 license and have the open-source community input and help me take it further.
So this is what kept me up late in the last few spare days I had.The code is 100% complete ,now just remains to publish it in the next days over at WordPress
Here’s a few teaser screens in the meantime:
The Widget Admin Panel
The actual Widget Area
The Widget in Action on this Website
or look right up in the sidebar
A last touch will be the ability to toggle the link to the post which considerably lessens the height size of the Widget for those who like clean,tight layouts and for customization’s sake.
In the next few days I’ll have it Beta tested before anything to make sure any Worpdress Themes user can benefit from it.