[Support request] Login / Logout Menu Item

Home Forums Support [Support request] Login / Logout Menu Item

Home Forums Support Login / Logout Menu Item

  • This topic has 1 reply, 2 voices, and was last updated 4 years ago by Tom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1234458
    markus

    Hi, I’m successfully using the code in this support response to create a dynamically changing Login/Logout as part of the main menu. However I would like to use this in a popup. My popup plugin is YITH Easy Login & Register Popup for WooCommerce. It asks for “Enter the ID or CLASS of the element that will open the popup” and nothing I am doing is working. Can you help? Thanks

    #1234603
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I think you would need to add a Hook Element: https://docs.generatepress.com/article/hooks-element-overview/

    Then you’d do this in the Element:

    <div class="popup-element">
        Your login HTML/PHP
    </div>

    Then you would tell the plugin to look for this class: popup-element

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.