User Meta Shortcode

Overview

This plugin lets you easily display user meta data in your posts or pages using shortcodes. Say goodbye to complex coding – now you can effortlessly showcase personalized information, creating a more engaging user experience on your site.

Short Code

[um_user user_id="" meta_key="" ]

  • meta_key - This key is used to store and retrieve the field's value in the WordPress database. It's like a unique identifier for that specific piece of information. You can find it in the field settings in UM form builder in wp-admin>UM>Forms>Edit Form>Edit a field.

  • user_id - This attribute is a user ID. The user_id is a reference to the unique identifier assigned to each user in the WordPress database. You can see it in wp-admin>Users>Hover only on user edit> check the browser's status.

Sample usage in a page

[um_user user_id="4" meta_key="first_name" ]

Check out the image below to see how the shortcode seamlessly integrates into the WP pages block editor. This visual guide makes it clear and simple to incorporate shortcodes, allowing you to effortlessly enhance your page with the desired user meta data.