Zachary H Posted September 27, 2021 Posted September 27, 2021 Hello, I am looking to add a menu item to my navigation bar for member's to logout with. I've done some lengthy searching on this board to locate an answer on how to accomplish this, but I had no success. Most content related to using external pages for logout methods. Obviously I cannot use a generic /logout/ path without having a csrfKey, how could one accomplish this? I'm not an advanced PHP user, so please lay it out for me simply if you're able to assist. I appreciate your patience and time. 🙂
Marc Posted September 27, 2021 Posted September 27, 2021 Theme customisation is outside the scope of our support unfortunately, and this is what you would need (either that or a plugin to do so) in order to add the log out item to your main navigation, rather than in your user dropdown menu. If you are looking to attempt this yourself, the logout link can be found in the core->front->global->userBar template . Look for <li class='ipsMenu_item' data-menuItem='signout'> and the make up of the link is below there
Recommended Posts