Core Plugins – Bless Or Curse

The WP Hackers mailing list is always good for a discussion and so far I like to participate. Currently, there is a new debate concerning the development of Plugins to the core theme. Andrew, an experienced and avid developer, submitted the issue in a guest contribution on WP Tavern and brings some important points to bear.

I also would like to express my perspective on these things and discussion. WordPress in my view, is an application I enjoy and with a lot potential nowadays and I'm sure for the future. My opinion is from the perspective of a user and a developer. I will only show briefly the possibilities I like to have and how I can imagine the future of WordPress, without compromising the current path and without a start from scratch.
Continue reading …

Numbering your comments, pingbacks, trackbacks or all

Since WordPress 2.7 exists an API for the comment area. Thereby you can purge the PHP-portion within comments.php. Jean-Baptiste shows a simple solution to count comments. This solution is very well known and get used pretty much since the first release of WordPress. But if you like to have a filter, which counts only the trackbacks or only the comments, then this solutions is worthless. Besides that, the How To is pretty poor and PHP-rookies could have troubles with it.

Relating to this and because of many questions about this topic I show you two simple functions, which you insert in your functions.php of your theme. Normally they get used as output in your comments.php.
Continue reading …

Removing WordPress Login Design

In a previous post, I showed the possibility, how to use WordPress in regard to Corporate Identity. For example adjusting the login area. This shouldn't be a tough task with the according articles.

In both cases I didn't talk about how to deactivate the default WordPress layout, since I always used the example based of the WordPress stylesheet. But the stylesheet of WordPress isn't really lean and why should you load unnecessary data, which you really don't need?

With a little hook and an appropriate function I can disable to load the stylesheet of WordPress and load my own CSS - How that works can be read in both articles about adjusting theme login.
Continue reading …

Add WordPress Dashboard Widgets

Finally WordPress 2.7 is coming along with widgets in the dashboard area, so it will be possible to adjust your dashboard as you like.

For Plugin or theme authors it's even more interesting, since they can give the users additional value to their Plugins. They can offer information from their Plugin directly on the dashboard. The user can decide if he likes to display them or not.

It's easy to integrate and can be controlled like Meta Boxes (explained in detail). The following example shows how you can integrate a widget in a dashboard.
Continue reading …

Expand Search Results In WordPress

The search function in WordPress is expandable by many WordPress Plugins. For every desire something. But in this post I like to introduce a little code snippet, which doesn’t give you any of these functionality but shows the user how many posts where found including their search query.

With this little but nice help, it is an additional value for the user, as I think.

How such a result looks like, displays the following screen shot. The code only shows the number of results and can be adjust as you like to of course.
Continue reading …