WordPress.org

Support

Support » Plugins and Hacks » Hacks » Adding a link to a user's URL when they are logged in

Adding a link to a user's URL when they are logged in

  • I have a project that requires the user to be redirected to a page that was created specifically for them once they are logged in. I have used Peter’s Login Redirect for that, it’s awesome.

    But once the user clicks around a bit, they will likely lose track of that particular page. So I am attempting to put a link to it in the sidebar, that displays while they are logged in.

    To do this, I installed the “User meta shortcodes” plugin, which allows me to use this shortcode in the sidebar:
    [userinfo field=”user_url”]{{empty}}[/userinfo]

    Perhaps I didn’t need the plugin to do that, not sure 🙂

    Anyway, the url of their page is indeed showing once they are logged in, but it is not an active link.

    How can I create an active link for that shortcode?

    Thanks in advance 🙂

  • The topic ‘Adding a link to a user's URL when they are logged in’ is closed to new replies.
Skip to toolbar