Translated menu works locally not on server
-
I am totally stumped trying to figure this issue. I have searched the forum looking for anyone with a similar issue. I have seen many with issues regarding the menus not working but that’s using with the
wp_nav_menu
not having a template location, which I do have. The part that makes it especially baffling is that on a local development version it works perfectly but it doesn’t when it’s on the server.I even did a fresh install of WordPress 4.3.1, export a SQL dump of my local db and import that into the server db and still to no avail. Anyone have any ideas as to what my issue could be?
Just for reference here are snippets of the menu code in function.php and header.php:
function register_my_menus() { register_nav_menu( 'primary', __( 'Primary Menu', 'va' ) ); } add_action( 'init', 'register_my_menus' );
<?php wp_nav_menu(array( 'theme_location' => 'primary', 'container' => 'nav', 'container_class' => 'main_nav', 'items_wrap' => '<ul>%3$s</ul>' )); ?>
- The topic ‘Translated menu works locally not on server’ is closed to new replies.