How can I customize wp_footer, where is the code that controls what this function does?

This could be multiple things. I’m not sure what the credits do. However, the chance is quite big that the search field is being created by a widget, shown in the get_sidebar(‘main’). Under “Appearance” > “Widgets”, you should be able to find more information. The template being called is probably sidebar-main.php. If it is a … Read more

Override Constants in Child theme

Constants can not be redefined that easily. https://stackoverflow.com/questions/8465155/redefine-constants-in-php So, the constants from child themes will be used instead of parents one. Though, there will be a warning, but that shouldn’t create any problem if you disable warning. You should add constants like this if you don’t want any warning: if ( !defined(‘CONSTANT’) ) define(‘CONSTANT’, ‘constant_value’); … Read more

how to set more than one menus to the same theme location

You can use conditional is_page to define different menu items as you want. if ( is_page( ‘About’ ) ) { wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘menu-left-side-menu’, ‘menu_class’ => ‘menu’, ‘theme_location’ => ‘about-page’ ) ); } elseif ( is_page( ‘Services’ ) ) { wp_nav_menu( array( ‘container’ => false, ‘menu_id’ => ‘menu-left-side-menu’, ‘menu_class’ => ‘menu’, … Read more