• Resolved jaimebib

    (@jaimebib)


    Hello Frank, first of all I would like to say thank you for a great plugin!

    I’m using a custom menu in the header right area (parallax pro) as my navigation and I was wondering if there is any way to insert the login link in the header right area?

    The problem is I can’t figure out how to make the plugin function properly. If I insert the shortcode in a text widget the login still shows after logging in and does not change to log out.

    Would appreciate any advice you could give me.

    Cheers,

    Jaime

    https://www.ads-software.com/plugins/wpstudio-login-modal-box/

Viewing 1 replies (of 1 total)
  • Plugin Author Frank Schrijvers

    (@frankschrijvers)

    Hi Jaime,

    The solution depends on your setup. I assume you use a navigation widget in the header right area? If you don’t use the default primary navigation area a solution can be to remove the primary navigation and add this to the header-right. For this solution you have to add these lines of code to your functions.php

    With these lines you remove the header right widget area.

    //* Remove the header right widget area
    unregister_sidebar( 'header-right' );

    With these line you add the primary navigation to the header right.

    //* Move primary navigation to header right
    remove_action( 'genesis_before_content_sidebar_wrap','genesis_do_nav' ) ;
    add_action( 'genesis_header_right','genesis_do_nav' );

    Under the plugin settings set the position to primary navigation.

    That’s all.

Viewing 1 replies (of 1 total)
  • The topic ‘How to insert in a custom menu in header right?’ is closed to new replies.