How to call the widget in template File wordpress?

To call a widget in any template file we can use the default wordpress function called "dynamic_sidebar()". If you register a widget with the name "Custom sidebar" then you can … [Read more...]

How to get the content of any post with the help of id

Here is a wordpress function we can use to get the content of any post with the help of their id. Here you can read it with full … [Read more...]

How to Register a Widget Area In the WordPress with the help of function.

We often need widgets in wordpress. Sometime its already in the wordpress or comes with themes. But sometime we need to create widget. Here is the function which is useful to … [Read more...]

Scroll to a div using jquery

scrollTo is a plugin in jQuery. I don't know if you have the plugin installed. You can't use scrollTo() without the plugin.You need to call the jquery in the header .you can … [Read more...]

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...]