An updated theme (based on Atticus Finch) for ClassicPress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?php
function portage_mobile_menus(){ echo ' <script type="text/javascript"> jQuery(document).ready(function() { jQuery("#aboveheadermenu").menumaker({ title: "' . get_theme_mod( 'portage_top_menu_name' ) . '", breakpoint: ' . get_theme_mod( 'portage_top_menu_breakpoint' ) . ', format: "' . get_theme_mod( 'portage_top_menu_type' ) . '" }); jQuery("#belowheadermenu").menumaker({ title: "' . get_theme_mod( 'portage_main_menu_name' ) . '", breakpoint: ' . get_theme_mod( 'portage_main_menu_breakpoint' ) . ', format: "' . get_theme_mod( 'portage_main_menu_type' ) . '" }); jQuery("#footermenu").menumaker({ title: "' . get_theme_mod( 'portage_footer_menu_name' ) . '", breakpoint: ' . get_theme_mod( 'portage_footer_menu_breakpoint' ) . ', format: "' . get_theme_mod( 'portage_footer_menu_type' ) . '" }); }); </script> '; } add_action( 'wp_footer', 'portage_mobile_menus' );
|