• Resolved canimjain

    (@canimjain)


    Hi Team,
    I added few user fields in checkout page. I want to add a hyperlink next to one user field. for example:
    Field 1: Field of Interest;
    Field 2: University Name (Here I want to add a text “Please check if your university name is here in the University List” with the hyperlink, so when the user clicks on the text “Please check if your university name is here in the University List” it redirects to the university list page in a new window)

    Also, How can I print the user field in paid membership pro email template or on other webpage (for example if user is logged in than, on a homepage it should show “Your field of interest if Field 1”. Is this possible?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Kim White

    (@kimwhite)

    Hello @canimjain,

    You should be able to add the link in your Hints field on the USER FIELDS setup page.
    .
    Please let me know if this is what you are looking for.

    UserFields should print on the bottom of the checkout confirmation emails automatically.
    If you want to create custom variables for your emails, this would require custom code. You can start with something like this. We recommend contacting a developer for additional assistance with custom code.

    To use a field on another page, you can use a shortcode.
    Your shortcode would look something like this:
    You go to [pmpro_member field="university"]
    The field is the “name” from your User Field.

    See this documentation:
    https://www.paidmembershipspro.com/documentation/shortcodes/general-shortcodes/#pmpro-member-shortcode

    I hope this information helps you get started.
    Kim W

    • This reply was modified 2 years, 3 months ago by Kim White.
    Thread Starter canimjain

    (@canimjain)

    Solved with your answer. Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to add a hyperlink to user fields’ is closed to new replies.