What is Plugin API Hooks – solution for plugins are not working on wordpress theme

Whenever you developing the new theme. You need to add following code in your theme file. wp_head Goes in the HTML <head> element of a theme; header.php template. Example plugin use: add javascript code. Usage: <?php do_action(‘wp_head’); ?> -or- <?php … Continue reading

How to set different layout for each category in WordPress

Using following code you can able to set different layout for each category. Just create the category.php file or already existed then open that file and use following code in that file. <?php if (is_category(10)) { // looking for category … Continue reading