Insert Google Analytics without editing your theme
I like to use Google Analytics, but the boring stuff is that when you switch themes, you’ll have to re-insert the code in the new theme. To avoid it, let’s use the power of WordPress hook to insert our analytics code without editing theme files.
Better page navigation
With the previous_posts_link() and next_posts_link() functions, WordPress allows you to link previous and next pages. But if the reader reached out the last page, what about providing him a link to the blog archive instead of nothing?
How to define your own dashboard logo
By default, the “W” WordPress logo is displayed on the top left side of the dashboard. If for some reason, you’”d like to add your own logo, just read this recipe.
Customize WordPress login logo without a plugin
WordPress login logo looks nice, but sometimes you may want to change it, for example when building a site for a client. In that case, you can use a plugin, or simply take advantage of this cool hack.
How to check if a page template is active
Conditional tags are very useful when you need to know if you’re on a post, page, homepage, etc. But how to know if you’re are on a specific page template? Nothing hard, just use the following recipe.
Block external requests on your WordPress blog
For some reason, your WordPress blog can send some info to external sources, as such as Automattic, the company behind WordPress. Although you don’t really have to worry about it in my opinion, you can block those requests with the following technique.
How to remove menus in WordPress dashboard
I’m going to show you how you can easily remove menus in the WordPress dashboard. This can be really useful when building a WP site for a client.
How to disable image caption in WordPress post editor
For each uploaded image, WordPress lets you enter a caption to describe the file. This is very cool, but sometimes you don’t need captions at all. Here is how you can get rid of it.
Get most commented posts with thumbnails
In order to help your visitors finding your best content, bloggers often display their most commented posts on their blog’s sidebar. In this recipe, I’ll show you how you can get most commented posts along with their related thumbnail.
How to change the dashboard footer text
When building a site for a client, it can be useful to be able to modify the dashboard footer text. This recipe is going to show you how you can easily do it using a hook.
Display most recent comments with Gravatar
Is your blog popular? Do you got receive lots of comments from your readers? If yes, what about displaying the most recent comments in your blog sidebar (or elsewhere) to let your visitors knowing about the discussion?
Automatically output the content in two columns
Printed magazines often display text in columns, so why blogs shouldn’t be able to do the same? Just read on to find out how to easily and automatically display your post content in columns.
Display the number of tweets for each page or post
Twitter is a very cool tool, especially if you’re a blogger. Using some PHP it is easy to display how many times a specific blog post has been tweeted. This is what you’re going to learn in this recipe.
Send article to a friend by email
In order to create more traffic on your blog, it can be a good idea to let your readers send your posts to their friends by email. A few month ago, I already shown you a function to do that, here is an improved version for today.
