How to remove the “Fatal error: Class ‘Varien_Autoload’ not found ” In Magento.

This Fatal error: Class 'Varien_Autoload' not found occurs because of the lib folder is not in the include path. This may happen only if the COMPILER_INCLUDE_PATH constant is … [Read more...]

Limit length of post characters in WordPress with different ways

There are different  way to limit the posts characters in wordpress. 1). First method is that we can use any of these plugins to limit post … [Read more...]

How to Auto close fancybox after 5 seconds jQuery

This script is used if you want to auto close the fancybox popup.it 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...]