If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I have made ad custom menu called Hovedmenu. It has top menu-item and submenues. Works perfect :-). I would like to add a new menu-item on the top level. That would by easy, if i just wanted a “normal” menu-item, but i would like the last top menu-item to have the same function as the <?php wp_register(); ?> command. With other words the menu-item would show log in or log out depending on if the user if logged in or out.
If logged in, the submenu-items of the menu-item (Log in/Out) show up.
The topic ‘Add new item with wp-register function to the wp 3.0 menu’ is closed to new replies.