How can I add HTML code before the when I use the Genesis Framework? I do not want to edit the menu.php inside the genesis/init/functions/ folder..
I hope there is a Genesis Framework expert out there!
Thanks!
How can I add HTML code before the when I use the Genesis Framework? I do not want to edit the menu.php inside the genesis/init/functions/ folder..
I hope there is a Genesis Framework expert out there!
Thanks!
Try this
Add this function into your child theme function.php
<?php add_filter('genesis_before_header','My_Html');
function My_Html(){ ?>
<!--Your HTML Code Here-->
}?>
You need to use this filter wp_nav_menu_items
I suggest follow guided tutorials here: http://www.petersenmediagroup.com/genesis-framework/adding-simple-social-icons-search-form-genesis-menu/