User Menus plugin just does it seamlessly. Thank you!
]]>i’ve just bought and installed “Saxon – Viral Content Blog & Magazine Marketing WordPress Theme”, and i need to change the menu, i’m looking for a menu like “https://www.orange.com/en/home”, once we click on an horizontal item it opens the vertical menu to display the sub items.
Is there any chance to find a semilar plugin?
Thanks you !!
]]>Overall – I’d give 100000 points and highly recommend this menu to anyone! Thanks for the great job guys!
]]>Thank you,
Stuart
Any help much appreciated
]]>define('THEMEADMIN', STYLESHEETPATH . '/admin');
define('THEMEFUNC', STYLESHEETPATH . '/admin/func');
// Load custom menu locations
require_once(THEMEFUNC . '/menus/menus.php');
and next i called a 2 new menu function in my wordpress in my custom menu file menu.php
<?php
// Add Your Menu Locations
function register_my_menus() {
register_nav_menus(
array(
'header_navigation' => __( 'new-menu' ),
'expanded_footer' => __( 'new-menu' )
)
);
}
add_action( 'init', 'register_my_menus' );
function default_header_nav() { // link to the default menu markup
require_once (THEMEFUNC . '/menus/default_header_nav.php');
}
function default_expanded_footer() {
require_once (THEMEFUNC . '/menus/default_expanded_footer.php');
}
// Load custom menu locations
require_once(THEMEFUNC . '/menus/menus.php');
?>
and in every page i want to show this custom menu i put this code :
wp_nav_menu(array(
'theme_location' => 'header_navigation', // menu slug from step 1
'container' => false, // 'div' container will not be added
'menu_class' => 'nav', // <ul class="nav">
'fallback_cb' => 'default_header_nav', // name of default function from step 2
'depth' => 1,
));
and then this error :
Fatal error: Call to a member function get_page_permastruct() on null in C:\xampp\htdocs\my-custom-site\wp-includes\link-template.php
i want to write this menu in a plugin
thank you so much for your reply
please give me some advice
i’m waiting for your reply