Support » Plugin: Reseller Store » Add login Shortcode to WP Menu

  • Resolved josh@axessnetwork.com

    (@joshaxessnetworkcom)


    Any suggestions on best way to add the shortcode to the native WordPress Menu?

    I tried using a shortcode plugin that allows you to add shortcode to the menu, however the display doesn’t work well. (it only shows the word “log” and doesn’t follow the CSS rules of the menu links colors)

    Before I tackle updating the css of that individual item I wanted to see if there were other options available.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Bryan Focht

    (@bfocht)

    Good question. Out of the box, not really but I did find a plugin called “Shortcode in Menus”

    I tested it by creating a custom link and put the short code in the URL and
    FULL HTML OUTPUT as the Navigation Label.

    Your are going to have to play around with the CSS to get it to look right in your menu. I started with this CSS but YMMV

    a.logout-link {
        display: unset;
    }
    
    .widget.rstore-login {
        margin-bottom: 0px;
    }

    The login shortcode is

    [rstore_login welcome_message="Welcome Back" login_button_text="Log In" logout_button_text="Log Out" ]

    Amanda

    (@cre8myhosting)

    I tried this option, and got the link in the menu, but it never showed the Welcome back message with names, or the log out option.. It just stays log in.. Did I miss something. What did you mean by

    “put the short code in the URL and
    FULL HTML OUTPUT as the Navigation Label.”

    @cre8myhosting I too am having this issue, it worked in the past for me with no issues, but now isn’t displaying the message at all

    Amanda

    (@cre8myhosting)

    Yeah, I looked at the screenshots for the plugin, and the Full HTML output is not an option. But the plugin hasn’t been updated in a year, so maybe that’s why. Not compatible with newest versions of WP..

    as of 12-9-2018 it was working here is a screen shot of my site with the message displaying…. When I look at the css editor via my browser it is showing it is printing the message it just isn’t displaying it.
    Image of working message
    https://nobullwebsolutions.com/wp-content/uploads/2019/01/WELCOME-MESSAGE.png

    Amanda

    (@cre8myhosting)

    See, I never even got that to work..

    Any Idea if it is working? I cannot make it work what ever i put in nav label it show up with “>

    • This reply was modified 3 years, 2 months ago by ssameer2.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add login Shortcode to WP Menu’ is closed to new replies.