Title: Please Help with a shortcode
Last modified: November 19, 2024

---

# Please Help with a shortcode

 *  Resolved [DesignDNA](https://wordpress.org/support/users/designdna/)
 * (@designdna)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/please-help-with-a-shortcode/)
 * I have searched everywhere. I would just like to add a Welcome message to a restricted
   content page with Welcome [First Name] but can’t find what shortcode to use that
   works. Please help

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

 *  Plugin Support [Yurii](https://wordpress.org/support/users/yuriinalivaiko/)
 * (@yuriinalivaiko)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/please-help-with-a-shortcode/#post-18149593)
 * Hello [@designdna](https://wordpress.org/support/users/designdna/)
 * Are you going to add this into the “Custom restricted access message” setting
   to the restricted page? See this example: [https://prnt.sc/MCsUTKORmmDb](https://prnt.sc/MCsUTKORmmDb)
   
   You can use a code snippet to apply [UM placeholders](https://docs.ultimatemember.com/article/1340-placeholders-for-email-templates)(
   basically designed for emails) to this message. Add this code to the _functions.
   php_ file in the theme.
 *     ```wp-block-code
       /* Apply common placeholders to the Custom restricted access message */add_filter( 'um_restricted_post_content', function( $content, $id, $original_post_content ) {	return um_convert_tags( $content, array(), false );}, 10, 3 );
       ```
   
 * Once the code is added you can use `{first_name}` and other placeholders in this
   message.
 * Regards
 *  Plugin Support [andrewshu](https://wordpress.org/support/users/andrewshu/)
 * (@andrewshu)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/please-help-with-a-shortcode/#post-18161191)
 * Hi [@designdna](https://wordpress.org/support/users/designdna/)
 * This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved.
 * Please feel free to re-open this thread if any other questions come up and we’d
   be happy to help. 🙂
 * Regards
 *  Thread Starter [DesignDNA](https://wordpress.org/support/users/designdna/)
 * (@designdna)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/please-help-with-a-shortcode/#post-18161205)
 * Sorry – I didn’t see that this was replied to. Please don’t close. I wish to 
   embed the {first_name} placeholder in the header text of a restricted page Not
   in the Custom restricted access message. So once logged in they access the members
   only page and there is a Welcome {first_name} (with their name) on the top of
   the page
    -  This reply was modified 1 year, 6 months ago by [DesignDNA](https://wordpress.org/support/users/designdna/).

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

The topic ‘Please Help with a shortcode’ 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [DesignDNA](https://wordpress.org/support/users/designdna/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/please-help-with-a-shortcode/#post-18161205)
 * Status: resolved