How to Auto close fancybox after 5 seconds jQuery

This script is used if you want to auto close the fancybox works with ajax. Copy this code and add it in the footer or header file of your theme. … [Read more...]

WordPress function to upload different type of media files

Here is the solution for how to upload diffrent type of media files without the plugin. Copy the function below and Paste it in the function.php file in your theme. I hope … [Read more...]

Get latest image updated time for gallery in nextgen gallery wordpress

Nextgen is a image slideshow and gallery plugin for wordpress and used in many website. Some time we need to get latest image updated time for nextgen gallery. Here is the function … [Read more...]

Display the list of subcategories of a category in WordPress

Some time we need display subcategories of a parent category in wordpress. Here is simple code snippet to do that. Use this code in your template file where you want to display … [Read more...]

Display latest post in wordpress with Time ago format

There are so many ways to get latest post date in time ago format But Wordpress provide a simple function human_time_diff() to get the time difference. … [Read more...]

Display Dates in “Time Ago” Format in WordPress?

Some time we need to display our publish date or time of post in different format like how much time ago you publish the post. Here is the function for solve that … [Read more...]

Beginner Tips for PHP

PHP is the language behind some of the most powerful and pervasive web applications around, including the ubiquitous Facebook and the unstoppable WordPress. Here some tips to … [Read more...]