Set Maximum Comment Length in WordPress
You can limit comment length in your WordPress site using following simple code snippet. We used the filter preprocess_comment to...
Limit Dashboard access in your WordPress site
If you run a site where user can sign-up but you don't want them to access wp-admin/dashboard area , then following simple code...
Push footer to the bottom using jQuery
When your WordPress page or post contains a small amount of content, the footer can sometimes sit halfway up the page leaving a blank...
How to Get Post Thumbnail URL in WordPress
When you are working with WordPress theme or Plugin sometimes you may need to retrieve The Post Thumbnail URL. Actually it is pretty...
Getting list all images of media gallery in your WordPress Site
Following code snippet will pull all images from WordPress media gallery:
$query_images_args = array(
'post_type' =>...
Add custom post type with wordpress regular post RSS feed
By default WordPress only add standard Posts in RSS feed. So when you are using custom post type and creating posts there those will...
Change the Default Avatar / Gravatar Image in WordPress
WordPress has a default avatar for user. Which is known as Mystery Man. But you can Change the Default Avatar / Gravatar Image in WordPress....
Get Next and Previous post url in WordPress
WordPress has built in function to show next/previous post link. If you want to get Next and Previous post urls, then copy following...
Exclude Specific Posts from Homepage Loop
If you want to filter your wordpress homepage loop and remove some specific posts, following tip will be helpful. It shows how to exclude...
Twitter Bootstrap DropDown on Hover and Activating Click Event on Parent Item
By default bootstrap drop down opens on click and parent item link don't work anymore as the parent item simply used for triggering...
Set a minimum word count for wordpress posts
In this article, we will share with you a snippet that lets you set a minimum Word count for your WordPress posts. If a user tries...
How to display Feedburner Subscriber Count as Text
Most designers use this trick to have custom styling and avoid the annoying feedburner button.
Simply copy and paste this code anywhere...