wp_nav_menu login / logout (3 posts)

  1. Hax
    Posted 5 years ago #

    It will be a good option to be able to add login logout links to the navigation through the menu interface and to show the appropriate link depending on the user status

  2. Hmm. That is a neat idea.

    Being able to add custom PHP or such to the menu would be even cooler for advanced users.

  3. smartdub
    Posted 5 years ago #

    It the same logic...

    It would be nice to have a method to remove both <DIV> and <UL> parent tags generated by the "wp_nav_menu" so I could hard code any content I want (within <LI> tags) before and after the generated links.

    I did try the "container" parameter, but for now this only removes the parent <DIV> and leaves the <UL> in the way.

Topic Closed

This topic has been closed to new replies.

About this Topic