How to make height auto in iframe using javascript

How to make height auto in iframe using javascript? Here is the code:- … [Read more...]

add odd or even class in wordpress loop using php

You can while loop for add odd or even class in loop. … [Read more...]

Simplest way to redirect page when click on an option box in dropdown.

Here is the simplest way to redirect page when click on an option box to the corresponding option value page or link in dropdown. … [Read more...]

How to prevent mail from going to spam using php?

Some time ago i was facing a issue regarding to the mail. Whenever i was submit my mail it goes to spam folder. Here i found a solution for that. That's it. If you still … [Read more...]

How to Hide WordPress upgrade notices using php

To Hide WordPress upgrade notices we can use the wordpress filter below. Copy the below code and paste in function.php in your theme file. … [Read more...]

How to disable the hyperlink on top level menu of navigation using jquery

Some time we need to remove the top label hyperlink on parent menu. Here is the simple code you can use to disable the hyperlink. Make sure jquery is working on the website if not … [Read more...]

Get the difference between two dates using php

Here is the code for how get the difference between two dates using php. … [Read more...]

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