If you allow user registration on your WordPress blog or website, how to display the 4 latest registered users? Here is a simple and efficien tcode snippet to do it.
WordPress adds a lot of stuff through wp_head() hook included in most WordPress themes. Most of these stuff I would consider unnecessary. As for me, I like to keep things simple, clean.Here’s a quick code snippet to clean up the wp_head() easily without using a plugin.
If for some reason you don’t like to see any widgets,like as “plugins” and “other news” dashboard widget, just head over to the top where it says”Screen Option”,then simply un-tick the ones you don’t like.
Do you remember when I shown you How to get the first link from the post content? Today, I’m going to let you know how you can easily grab first image from the post and display thumbs on your blog homepage.
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.