• Resolved anotherbrad

    (@anotherbrad)


    Hi All
    I am a new user, evaluating whether or not PMPro will meet our needs. I have been playing around with it, but can’t figure out whether or not it will be able to do one critical thing needed on our site.

    I am going to setup our users’ profiles with some custom user fields, being links to other websites which they specify at sign-up (and can change via their profile). I will be using Elementor to build out the primary member pages, and I would like to have the users able to click on a button to access their link. For example, one of the standard buttons on the member’s logged in page will be “Local News”. Click on it, and the member will go to their own preferred site.

    I have determined that it’s relatively easy to set up custom link fields in the user profile, but I can’t figure out whether I can use a shortcode or similar to personalise a Local News button.

    Does anyone know if this is possible using PMPro?
    [Thanks in advance for any assistance.]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Jarryd Long

    (@jarryd-long)

    Hi there, thank you for reaching out to the Paid Memberships Pro team.

    You can add shortcodes to an elementor button as far as I know – you can also use the pmpro_member shortcode (https://www.paidmembershipspro.com/documentation/shortcodes/general-shortcodes/#pmpro-member-shortcode) to output user meta (which in this case might be a link to a user’s chosen news feed).

    The User Fields don’t allow for shortcodes to be entered in them however you can hook into different parts of the Membership Account page and add member-specific links to the page from there.

    You can use the pmpro_account_bullets_bottom filter to add additional links to the Membership Account page.

    You can also use the User Pages Add On (https://www.paidmembershipspro.com/add-ons/pmpro-user-pages/) which creates a page for each member and the level that they hold, allowing you to enter user-specific content into each user’s page for only them to see.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

    • This reply was modified 1 year, 11 months ago by Jarryd Long.
    Thread Starter anotherbrad

    (@anotherbrad)

    Thanks for that, Jarryd. I’m not sure whether I explained myself properly. I will setup a text-type user field, which the new member will use at sign-up to type in the name of their favorite local news site, eg. one might have http://www.drygulchtelegraph.com, and another http://www.patagoniatimes.com in their local news field.

    Then, on their logged in page, I want to have a button titled “Local News”. When the user clicks on it, it will take them to their chosen page. Is this a feasible thing to achieve?

    Plugin Support Jarryd Long

    (@jarryd-long)

    That should be possible then, yes. Use the [pmpro_member] shortcode in the button that you create with Elementor on the page to output the link value and it should do the trick.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

    Thread Starter anotherbrad

    (@anotherbrad)

    Thanks Jarryd, so just to update this.

    I had created custom a user field in the Memberships->Settings->User Fields area. This was completed on sign up (at text-type field, so relies on people to put in a valid website address) and editable in profile.

    I called one of them “Personal Link”, which gives me a field called “personal_link”. So, the person might insert http://www.goodstuff.com

    I created an icon box in Elementor, and there is a “link” option, in the content area. There is a stack of pancakes, which is the “Dynamic Links” area. Go down to Site->Shortcode, then insert your PMPro shortcode, eg. [pmpro_member field=”personal_link”]

    After that, when you click on the icon box, it should take you to that site.

    Plugin Support Jarryd Long

    (@jarryd-long)

    Thank you for the update. All of those steps look good to me – is it now working as expected for you?

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

    Thread Starter anotherbrad

    (@anotherbrad)

    Yes, it’s working fine, thanks for the assistance. Note that you can use a similar strategy to make an entire container into a clickable link.

    Thread Starter anotherbrad

    (@anotherbrad)

    Resolved.

    Plugin Support Jarryd Long

    (@jarryd-long)

    I’m so glad to hear this is now working for you. Feel free to reach out if there’s anything else we can assist with.

    If you’re enjoying Paid Memberships Pro, would you consider leaving a 5-star review?

    Your feedback helps other people who want to use PMPro, especially if you can include details about specific features that you’ve found valuable for your membership site.

    Here’s the link to create a new review https://ww.wp.xz.cn/support/plugin/paid-memberships-pro/reviews/

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Embed Custom User Links in Button’ is closed to new replies.