[Plugin: Polylang] Secondary menu using Artisteer 3
-
Hi,
On this forum and the Artisteer forum there are several posts related to issues regarding a secondary menu in Artisteer 3. I resolved my problems (not showing at all or just showing the primary menu) as follow:Important files:
functions.php
navigation.php
header.phpSTEP 1
Define in the functions.php (about line 55 underneath the primary menu):function register_custom_menu() { register_nav_menu('custom_menu', __('Custom Menu')); }
STEP 2
Change on 2 spots in the navigation.php (library) in the theme_get_menu function (probably around line 14 and 20 or so)
Custom Menu to: custom_menuSTEP 3
Copy/paste the code for your primary menu to the spot you want your secondary menu to appear and change primary-menu to custom_menu. See below. And make style changes as desired.<? php echo theme_get_menu(array( 'source' => theme_get_option('theme_menu_source'), 'depth' => theme_get_option('theme_menu_depth'), 'menu' => 'custom_menu', 'class' => 'art-hmenu' ) ); ?>
And you are Done!
- The topic ‘[Plugin: Polylang] Secondary menu using Artisteer 3’ is closed to new replies.