User meta shortcodes
Shortcode with href link (3 posts)

  1. boluo33
    Posted 3 years ago #

    How can I use a shortcode with an href link so that it links to a specific page for each user?

    I've set up a custom meta entitled user_page and my shortcode is thus [authorinfo field="user_page"]. I want users to be able to click this link on their account page and be taken to an individual product page on my site using the url I've added to their profile. However, I'm struggling to link it up and make it clickable.

    Any advice would be much appreciated.



  2. boluo33
    Posted 3 years ago #


    http://www.mykindofchic.com/product-tag/{userinfo nospan='true' field='user_login'}

    Take care to use ' ' and not " "

    and [] not {}

  3. Richard Vencu
    Plugin Author

    Posted 3 years ago #

    Indeed. Thank you for posting it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User meta shortcodes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic