Of the many cool features incorporated into WordPress one of the coolest has to be the ability to schedule posts for future publishing. This could come in handy if for example you are planning to be away for an extended period of time. You could write several entries beforehand then schedule them to be published at regular intervals in your absence. A great way to further enhance this is to display... continue reading
A tooltip is a block of information that appears when you hover over a link. It can be used to show extra information about the link a visitor is about to click. While the technique is normally achieved with javascript I'll show you how to do it with nothing but CSS and a little HTML.
The first thing we need to do is assign a new class to the link where we want the tooltip displayed. For the sake of... continue reading
A question that pops up in the forums from time to time and appeared again just the other day is how do I redirect users to the front page after they log in? In other words the admin didn't want his users being sent to the backend which is the WordPress default behaviour.
I'm sure there are several plugins in the official WordPress Plugin Directory that will accomplish the task although I haven't looked... continue reading
I don't know about anyone else but I really like the redesigned backend of WordPress. I find the current iteration much more functional while the colour scheme is subtle and pleasing. A number of GUIs were looked at before deciding to go with the current one but what of the others that didn't make it? Here is a look at one such mockup created by Weightshift. (click to enlarge)
While I think the current... continue reading
Here is a simple and effective way to create a list of your most popular (most commented) posts without using a plugin. First, add the following to your theme's functions.php file ...
function most_popular_posts($no_posts = 10, $before = '<li>', $after = '</li>', $show_pass_post = false, $duration='') {
global $wpdb;
$request = "SELECT ID, post_title, COUNT($wpdb->comments.comment_post_ID)... continue reading