Even if you’re careful when approving new comments, sometimes you might just forget to visit the commenter url and detect a long time after that the linked site is spammy. Here is a very easy way to bulk delete all comments with a specific url, using a simple SQL query.
By default, built-in WordPress galleries use the size “full” for the image but in some cases it’s better set a different size. Here is an easy to use code snippet to set the default image size in your galleries.
This little snippet will change the title attribute text when you hover over the WordPress logo on the login page. Super easy and very useful when working on a site for a client.
Post revisions are super useful sometimes, but from time to time you might want to clean your database. Here’s a super easy way to delete all posts revisions.
If you want to add a breadcrumb to your blog, you can use one of the many available plugins to do so. But why using a plugin when you can easily code it yourself? Here’s a ready to use code snippet to add a breadcrumb to your WordPress blog.
WordPress 3.8 introduces a new way to display the dashboard. If you don’t like it and would love to bring back the good old single-column dashboard, here’s a quick tip for you.
On some cases, you might want to be able to load and display all the posts from the current week. Here is a handy code snippet to do it easily.
By default, WordPress automatically add paragraph tags to the content and the excerpt, using the wpautop() function. If you need to automatically add some <p> tags to any text, you can use the function as shown in today’s example.
If you allow userregistration on your WordPress blog or website, what about displaying the 5 latest registered users? Here is a simple and efficient recipe to do so.
If for some reason you need to display a custom message on WordPress login page, here is a quick and easy recipe to do it.