{"id":781,"date":"2026-10-20T09:04:22","date_gmt":"2026-10-20T08:04:22","guid":{"rendered":"https:\/\/userswp.io\/documentation\/article\/login-logout-menu-link\/"},"modified":"2026-10-20T09:04:22","modified_gmt":"2026-10-20T08:04:22","slug":"login-logout-menu-link","status":"publish","type":"gd_place","link":"https:\/\/userswp.io\/documentation\/article\/first-steps\/login-logout-menu-link\/","title":{"rendered":"How to add a login and logout link to the menu with UsersWP"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">UsersWP adds its own menu items that only show to logged in or logged out visitors. Add a Login item for logged out visitors and a Log out item for logged in users and, in the same spot of the menu, visitors only ever see the one that applies to them.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to Appearance &gt; Menus and open the menu you want to edit.<\/li>\n\n\n\n<li>Find the UsersWP Endpoints box on the left. If it is missing, click Screen Options at the top of the page and tick UsersWP Endpoints.<\/li>\n\n\n\n<li>On the Logged-Out tab, tick Login (and Register if you want it) and click Add to Menu.<\/li>\n\n\n\n<li>On the Logged-In tab, tick Log out, and Profile or Account if you want those, and click Add to Menu.<\/li>\n\n\n\n<li>Drag the items into place and click Save Menu.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Logged-In items are hidden from visitors who are not logged in, and Logged-Out items are hidden from users who are. That is why a Profile item added from the Logged-In tab does not appear until the visitor logs in. A Profile link added as a normal page link would show to everyone and lead logged out visitors to an empty profile.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Common tab has items that show to everyone, such as the Users list page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By default, Login and Register menu links open in a lightbox. To make them open the full page instead, see <a href=\"https:\/\/userswp.io\/documentation\/article\/how-tos\/how-to-disable-modal-login-register-for-userswp-navigation-endpoints\/\">How to disable modal login\/register for UsersWP navigation endpoints<\/a>. The general steps for UsersWP menu items are also in <a href=\"https:\/\/userswp.io\/documentation\/article\/first-steps\/add-menu-items\/\">Add menu items<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you use a block theme, menus are edited in the Site Editor instead of Appearance &gt; Menus. Add the UsersWP pages there as links, or use the UWP &gt; Login block in a header template part.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UsersWP adds its own menu items that only show to logged in or logged out visitors. Add a Login item for logged out visitors and a Log out item for logged in users and, in the same spot of the menu, visitors only ever see the one that applies to them. Logged-In items are hidden [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[3,8],"class_list":["post-781","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-getting-started","gd_placecategory-first-steps"],"_links":{"self":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/comments?post=781"}],"version-history":[{"count":0,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/781\/revisions"}],"wp:attachment":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/media?parent=781"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/tags?post=781"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/categories?post=781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}