If you use the ugly /%year%/%monthnum%/%day%/%postname%/ permalink structure, do you want to know how you can switch to the elegant /%postname%/ structure without loosing any backlink? Using a simple .htaccess redirection,I tell you the method.
By default, author profile are accessible using the url yoursite.com/author/name in WordPress. But what if you want to change the author slug “profile” instead of “author” in the url? Here is a handy recipe to do so.
There is a very handy code snippet to redirect the user who register to a custom page other than wp-login page(back-end) on your WordPress blog or website. Super useful for those using WP as a CMS!
Do you know how to get the URL in the post meta or the first link found in the post content?Maybe you don’t know. Today, I’m going to let you know how you can easily grab the first link from the post content.
When you are building a WordPress based websites, it can be very useful to know how to programmatically log in a WordPress user. Here is a function that can do it easily.
WordPress has a little tab in the top-right corner that, when clicked, drops down some contextual help. Here is a useful function to hook different help text to different pages.
WordPress 3.7 has a new and interesting feature which allow your blog to automatically upgrade when a new version is available. I think it’s really cool, but if you don’t like it for your reason, there’s a code snippet to turn it off.
By default, WordPress allows you to sort results by one meta value, but what if you need to sort results by two meta values (For example date and author)? Here’s a nice code example for you.