Add Device Type to Body Class For WordPress

Add Device Specific CSS in WordPress

During website development, many times we need to add CSS or Javascript to any particular device type i.e Mobile, Tablet or Desktop. Need: Let say you need to apply CSS to a div but only in Mobile devices, so at that time we can either use media queries or find…

how-to-add-search-box-in-wordpress

Add Search Box in WordPress Menu

If you want to add search box in WordPress WP Nav Menu (wp_nav_menu_items), but by default this is not supported to add search box in menu item. So to achieve this we have 2 alternatives: 1. Add code in Functions.php file of current themeJust find and edit your functions.php file which…