dp_load('wpml_lang_switcher'); } ?> <?php if (function_exists("is_woocommerce") && get_option($dynamo_tpl->name . "_menu_cart_link", 'N') == 'Y') { dp_load('wc_dropdown_cart'); } ?> </div> <?php } ?> <?php if (has_nav_menu('mainmenu')) { dynamo_menu('mainmenu', 'dp-main-menu', array('walker' => new DPMenuWalker()), 'sf-menu main-top-menu'); } else { echo 'No menu assigned!'; } ?> <?php if ($headerclass == 'menu_centered') { ?> </div> </div> </div> <?php } } ?>
?> </ul> <?php } ?> <div class="dp-copyrights"> <div class="dp-copyrights-text"><?php echo str_replace('\\', '', htmlspecialchars_decode(get_option($dynamo_tpl->name . '_template_copyright_text', ''))); ?> </div> <?php if (has_nav_menu('footer-menu')) { ?> <div id="dp-footer-menu"><?php dynamo_menu('footer-menu', 'dp-footer-menu', array('walker' => new DPMenuWalker()), 'footer-menu'); ?> </div> <?php } ?> </div> </div> <?php } ?> </div> </div> <?php }
/** * * Function to generate user menu * **/ function dp_user_menu($menu) { echo '<div class="dp_usermenu">'; echo '<div class="dp_usermenu_button"><i class="Default-user"></i>'; echo '<div class ="dp_usermenu_drops">'; dynamo_menu('user-menu', 'dp-user-menu', array('walker' => new DPMenuWalker()), 'user-menu'); echo '</div>'; echo '</div>'; echo '</div>'; }
<?php } ?> <a href="#" class="dp-overlay-menu-toggle"><i class="icon-menu51"></i></a> </header> </div> </div> </div> <div class="centered-block-outer"> <div class="centered-block-middle"> <div class="centered-block-inner"> <div class="dp-overlay-menu"> <div class="dp-overlay-menu-close"><i class="icon-times-circle"></i></div> <div class="overlay-nav"> <?php if (has_nav_menu('mainmenu')) { dynamo_menu('mainmenu', 'dp-main-menu', array('walker' => new DPMenuWalker()), 'overlay-menu'); } else { echo 'No menu assigned!'; } ?> </div> </div> </div> </div> </div> <!-- End Navigation area -->
" class="<?php echo get_option($dynamo_tpl->name . "_branding_logo_type", 'css'); ?> Logo"><?php dp_aside_menu_logo(); ?> </a> </h2> <?php } ?> </header> <?php if (has_nav_menu('mainmenu')) { dynamo_menu('mainmenu', 'dp-main-menu', array('walker' => new DPMenuWalker()), 'sf-menu sf-vertical main-aside-menu'); } else { echo 'No menu assigned!'; } ?> <div class="clearboth"></div> <div class="aside-button-bar"> <?php if (function_exists("is_woocommerce") && get_option($dynamo_tpl->name . "_cart_aside_state") == 'Y') { dp_load('wc_dropdown_cart'); } ?> <?php if (function_exists('icl_object_id') && get_option($dynamo_tpl->name . "_language_switcher_aside_state") == 'Y') {