Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #716

    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.


    You can’t add this to the custom menu (it just isn’t supported yet :( ).

    You could however add the code in header.php and style the link to appear to be part of the navigation menu area?

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Add new item with wp-register function to the wp 3.0 menu’ is closed to new replies.