Open tinhop opened 5 years ago
Hello, when register nav menus you use this code
register_nav_menus(
array(
'top menu' => __('Top Menu', 'theme'),
)
);
And when you call the menu in the args use
'theme_location' => 'top-menu',
Notice the difference in the menu id; 'top menu'
when is declared and 'top-menu'
when is used in args
EDIT The menu ID should be like a slug, without spaces
Hello, I am creating an HTML page with bootstrap 4, and my idea is to configure it to walk with wordpress and its cms environment, the texts and other settings with Custom Fields and now in the final stages I am having problems configuring my menu, I was recommended to use your plugin, but I am having problems configuring it. I tried the base installation, but I did not get it, so I am seeing to change the lines of code within the pages that you indicate, but I am not getting it
i got this lines acording to the menus on my functions.php file
and then on mi header.php file
and what the page returns to me in preview mode is this, and I can't configure the menu with the corresponding links