Title: Make Custom URL clickable
Last modified: January 29, 2021

---

# Make Custom URL clickable

 *  Resolved [bebizzy](https://wordpress.org/support/users/bebizzy/)
 * (@bebizzy)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/make-custom-url-clickable/)
 * I’ve added a payment URL field on a form where I input a link from my invoicing
   service so the client can make payments/see their invoice from the membership
   form.
 * I’m a mobile DJ so the user can change some fields like song lists, times, bridal
   party members, etc, but the invoice link is static (can’t change).
 * How do I make this link clickable so it goes right to the invoice instead of 
   hoping they copy/paste the URL into a browser?

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

 *  [missveronica](https://wordpress.org/support/users/missveronicatv/)
 * (@missveronicatv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/make-custom-url-clickable/#post-13978823)
 * You can read this thread works for all forms:
    [https://wordpress.org/support/topic/add-a-link-to-external-site-on-registration-form](https://wordpress.org/support/topic/add-a-link-to-external-site-on-registration-form)
    -  This reply was modified 5 years, 3 months ago by [missveronica](https://wordpress.org/support/users/missveronicatv/).
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/make-custom-url-clickable/#post-13984616)
 * Hi [@bebizzy](https://wordpress.org/support/users/bebizzy/)
    Let us know if [@missveronicatv](https://wordpress.org/support/users/missveronicatv/)
   response resolves your issue.
 * Regards,
 *  Thread Starter [bebizzy](https://wordpress.org/support/users/bebizzy/)
 * (@bebizzy)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/make-custom-url-clickable/#post-13989062)
 * This works, but each of the members will have a unique URL to click to make payment.
   I’ve tried to PHP code to add the link via some ECHO codes but it doesn’t seem
   to work.
 * Is there some code I should be using instead?
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/make-custom-url-clickable/#post-13990061)
 * Hi [@bebizzy](https://wordpress.org/support/users/bebizzy/)
 * I think you need a custom shortcode to render the URL with the UM Shortcode field.
 * Here’s a sample shortcode code snippet:
 *     ```
       add_shortcode("um_payment_url",function(){
           $user_id = um_get_requested_user();
           $payment_url = "<insert your payment URL>";
          return $payment_url;
       });
       ```
   
 * and then use this shortcode in the UM shortcode field: `[um_payment_url]`
 * Regards,
    -  This reply was modified 5 years, 3 months ago by [Champ Camba](https://wordpress.org/support/users/champsupertramp/).
 *  Thread Starter [bebizzy](https://wordpress.org/support/users/bebizzy/)
 * (@bebizzy)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/make-custom-url-clickable/#post-14005111)
 * Got it with some custom code I added with a snippet. There is a text field I 
   use to input the payment URL.
 * $custom_field_name = um_user(‘user_url’);
 * ?>
    ” target=’_blank’> Click here to make a payment
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/make-custom-url-clickable/#post-14017620)
 * Hi [@bebizzy](https://wordpress.org/support/users/bebizzy/)
 * Thanks for letting us know. I am closing this thread now.
 * Regards,

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

The topic ‘Make Custom URL clickable’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/make-custom-url-clickable/#post-14017620)
 * Status: resolved