Blog

WordPress User Profiles Shortcodes List

WordPress User profiles Shortcodes List By ProfileGrid

A comprehensive WordPress shortcode list of WordPress User Profiles Shortcodes is presented in the table below. And do not forget to check our exhaustive WordPress shortcode list of WordPress user registration shortcodes list for even more powerful user registration experience.

Name
Format
Example
Parameters
Requirements
[profilegrid_register gid=”x”]
[profilegrid_register gid=”3″]
  • gid (Group ID) required
Core
[profilegrid_register type=”paged” gid=”x”]
[profilegrid_register type=”paged” gid=”2″]
  • gid (Group ID) required
  • type required
Core
[profilegrid_login]
[profilegrid_login]
None
Core
[profilegrid_forgot_password]
profilegrid_forgot_password
None
Core
[profilegrid_group gid=”x”]
[profilegrid_group gid=”2″]
  • gid(Group ID) required
Core
[profilegrid_groups]
[profilegrid_groups]
None
Core
[profilegrid_profile]
[profilegrid_profile]
None
Core
[profilegrid_user_blogs uid=”x, y, z” wpblog=”true”]
[profilegrid_user_blogs uid=”2,5,18″ wpblog=”true”]
  • uid (User ID) optional
  • user (Username) optional
  • wpblog (WordPress Blog) optional
Core
[profilegrid_submit_blog]
[profilegrid_submit_blog]
None
Core
[profilegrid_users]
[profilegrid_users]
None
Core
[profilegrid_map]
[profilegrid_map]
[profilegrid_map gid=”2,3″ ex_uid=”4,5″ time=”this_month” info=”show”]
  • gid (Group IDs) optional
  • Ex_uid (Exclude User IDs) optional
  • time (Time Period) optional
    • this_year
    • this_month
    • this_week
    • last_week
    • yesterday
    • today
  • Info (Information Popup) optional
    • show
    • hide
Geolocation Extension
[profilegrid_new_group]
[profilegrid_new_group]
None
Frontend Group Creator
[profilegrid_wall_post]
[profilegrid_new_group]
None
Group Wall
[profilegrid_user_display_name]
[profilegrid_user_display_name]
[profilegrid_user_display_name uid=”1″]
  • uid (User ID) optional
User Display Name
[profilegrid_user_first_name]
[profilegrid_user_first_name]
[profilegrid_user_first_name uid=”1″]
  • uid (User ID) optional
Core
[profilegrid_user_last_name]
[profilegrid_user_last_name]
[profilegrid_user_last_name uid=”1″]
  • uid (User ID) optional
Core
[profilegrid_user_email]
[profilegrid_user_email]
[profilegrid_user_email uid=”1″]
  • uid (User ID) optional
Core
[profilegrid_user_cover_image]
[profilegrid_user_cover_image]
[profilegrid_user_cover_image uid=”1″]
  • uid (User ID) optional
Core
[profilegrid_user_default_group]
[profilegrid_user_default_group]
[profilegrid_user_default_group uid=”1″]
  • uid (User ID) optional
Core
[profilegrid_user_all_groups]
[profilegrid_user_all_groups]
[profilegrid_user_all_groups uid=”1″]
  • uid (User ID) optional
Core
[profilegrid_user_group_badges]
[profilegrid_user_group_badges]
[profilegrid_user_group_badges uid=”1″]
  • uid (User ID) optional
Core
[profilegrid_user_labels]
[profilegrid_user_labels]
[profilegrid_user_labels uid=”1″]
  • uid (User ID) optional
Profile Labels
[profilegrid_unread_notifications]
[profilegrid_unread_notifications]
None
Core
[profilegrid_unread_messages]
[profilegrid_unread_messages]
None
Core
[profilegrid_user_about_area]
[profilegrid_user_about_area]
None
Core
[profilegrid_user_groups_area]
[profilegrid_user_groups_area]
None
Core
[profilegrid_blog_area]
[profilegrid_blog_area]
None
Core
[profilegrid_messaging_area]
[profilegrid_messaging_area]
None
Core
[profilegrid_notification_area]
[profilegrid_notification_area]
None
Core
[profilegrid_friends_area]
[profilegrid_friends_area]
None
Core
[profilegrid_forum_area]
[profilegrid_forum_area]
None
bbPress Integration
[profilegrid_settings_area]
[profilegrid_settings_area]
None
Core
[profilegrid_account_options]
[profilegrid_account_options]
None
Core
[profilegrid_password_options]
[profilegrid_password_options]
None
Core
[profilegrid_social_options]
[profilegrid_social_options]
None
Social Login
[profilegrid_mailchimp_options]
[profilegrid_mailchimp_options]
None
MailChimp Integration
[profilegrid_privacy_options]
[profilegrid_privacy_options]
None
Core
[profilegrid_delete_options]
[profilegrid_delete_options]
None
Core
[profilegrid_group_cards gid=”x”]
[profilegrid_group_cards gid=”1,2,4″]
  • gid (Group ID) required
Core
[profilegrid_group_name gid=”x”]
[profilegrid_group_name gid=”1″]
  • gid (Group ID) required
Core
[profilegrid_group_description gid=”x”]
[profilegrid_group_description gid=”1″]
  • gid (Group ID) required
Core
[profilegrid_member_count gid=”x”]
[profilegrid_member_count gid=”1″]
  • gid (Group ID) required
Core
[profilegrid_manager_count gid=”x”]
[profilegrid_manager_count gid=”1″]
  • gid (Group ID) required
Core
[profilegrid_group_manager gid=”x” sep=”,”]
[profilegrid_group_managers gid=”1″ sep=”,”]
  • gid (Group ID) required
  • Sep (Separator) required
Core
[profilegrid_group_manager_list gid=”x”]
[profilegrid_group_manager_list gid=”1″]
  • gid (Group ID) required
Core
[profilegrid_members_cards gid=”x”]
[profilegrid_members_cards gid=”1″]
  • gid (Group ID) required
Core
[profilegrid_manager_cards gid=”x”]
[profilegrid_manager_cards gid=”1″]
  • gid (Group ID) required
Core
[profilegrid_group_discussion gid=”x”]
[profilegrid_group_discussion gid=”1″]
  • gid (Group ID) required
Group Wall
[profilegrid_group_photos gid=”x”]
[profilegrid_group_photos gid=”1″]
  • gid (Group ID) required
Group Photos
[profilegrid_group_settings gid=”x”]
[profilegrid_group_settings gid=”1″]
  • gid (Group ID) required
Advanced Group Manager
[profilegrid_show gid=”x”][profilegrid_show]
[profilegrid_show gid=”1″][profilegrid_show]
[profilegrid_restrict min_blog=”10″ gid=”2,3,4″ min_wc_spent=”200″ min_edd_spent=”100″][profilegrid_restrict]
  • gid (Group IDs) required
  • min_blog (Minimum number of blog posts) optional
  • min_wc_spent (Minimum WooCommerce spent) optional
  • min_edd_spent (Minimum Easy Digital Downloads Spent) optional
Core
[profilegrid_hide gid=”x,y,z”][profilegrid_hide]
[profilegrid_hide gid=”1,2,3″][profilegrid_show]
  • gid (Group IDs) required
Core
[profilegrid_show_managers][profilegrid_show_managers]
[profilegrid_show_managers][/profilegrid_show_managers]
[profilegrid_show_managers gid=”1,2,3″][/profilegrid_show_managers]
  • gid (Group IDs) optional
Core
{{user_login}}
{{user_login}}
None
Core
{{user_pass}}
{{user_pass}}
Core
{{user_nicename}}
{{user_nicename}}
Core
{{user_email}}
{{user_email}}
Core
{{user_url}}
{{user_url}}
Core
{{pm_activation_code}}
{{pm_activation_code}}
Core
{{display_name}}
{{display_name}}
User Display Name
{{first_name}}
{{first_name}}
Core
{{last_name}}
{{last_name}}
Core
{{nickname}}
{{nickname}}
Core
{{profile_link}}
{{profile_link}}
Core
{{site_name}}
{{site_name}}
Core
{{description}}
{{description}}
{{group_name}}
{{group_name}}
Core
{{group_admin_label}}
{{group_admin_label}}
Core
{{edit_group_url}}
{{edit_group_url}}
Core
{{post_name}}
{{post_name}}
Core
{{edit_post_link}}
{{edit_post_link}}
Core
{{post_link}}
{{post_link}}
{{meta_key}}
{{meta_key}}

Description and screenshots of WordPress User Profiles Shortcodes

Registration Form as a Single Page Shortcode
[profilegrid_register gid=”x”]
Description: Publishes signup form for a group. Field sections will be separated into fieldset blocks with section names.
Sample Screenshot:
Registration Form as Multi-Page Shortcode
[profilegrid_register type=”paged” gid=”x”]
Description: Publishes signup form for a group split over multiple pages. Field sections will be separated into pages with section names as headers.
Sample Screenshot:
Login Form Shortcode
[profilegrid_login]
Description: Publishes login form for registered users to login. Also displays forgot password link.
Sample Screenshot:
Password Recovery Form Shortcode
[profilegrid_forgot_password]
Description: Publishes email field to start password recovery workflow for registered users.
Sample Screenshot:
Group Page Shortcode
[profilegrid_group gid=”x”]
Description: Publishes the main group page for a group. It has a group card with badge, description and other details. Group users are displayed below the group card as grid. Other group features are also accessible from this page.
Sample Screenshot:
All Groups Shortcode
[profilegrid_groups]
Description: Publishes all groups as grid. There are options so sort groups, view them as list, and perform search. Visitors will also have option to join groups.
Sample Screenshot:
User Profile Shortcode
[profilegrid_profile]
Description: Publishes user profile for current user.
Sample Screenshot:
User Blogs Shorcode
[profilegrid_user_blogs uid=”x, y, z” wpblog=”true”]
Description: Publishes user blog posts with title and excerpts in chronologically ordered list. Also displays publish date, feature image (thumbnail) and comment count. Clicking on blog post title will take visitor to blog post page. Both ProfileGrid user blogs and default WordPress blogs can be combined in this list.
Sample Screenshot:
Blog Submission Shortcode
[profilegrid_submit_blog]
Description: Publishes a form allowing users to submit blog posts.
Sample Screenshot:
All Users Profiles Shortcode
[profilegrid_users]
Description: Publishes all users registered on the site as grid, with profile image, username and advance search capabilities.
Sample Screenshot:
User Map Shortcode
[profilegrid_map]
Description: Publishes map displaying location of users as markers. You can optionally allow popups with more details for each user.
Sample Screenshot:
New Group Shortcode
[profilegrid_new_group]
Description: Publishes group creation form on front end allowing users to add new groups.
Sample Screenshot:
New Wall Post Shortcode
[profilegrid_wall_post]
Description: Publishes wall post submission form allowing users to submit new wall post.
Sample Screenshot:
User Display Name Shortcode
[profilegrid_user_display_name]
Description: Publishes the display name of the currently logged in user, based on your configuration inside ProfileGrid Display Name Extension. (If the extension is not installed, it will show full name of the user. If the First Name is not set, it will display Username.) To publish display name of another user, use uid parameter.
User First Name Shortcode
[profilegrid_user_first_name]
Description: Publishes First Name of the currently logged in user. To publish First Name of another user, use uid parameter.
User Last Name Shortcode
[profilegrid_user_last_name]
Description: Publishes Last Name of the currently logged in user. To publish Last Name of another user, use uid parameter.
User Email Shortcode
[profilegrid_user_email]
Description: Publishes registered email address of the currently logged in user. To publish email of another user, use uid parameter.
User Cover Image Shortcode
[profilegrid_user_cover_image]
Description: Publishes cover image of the currently logged in user. To publish cover image of another user, use uid parameter.
User Default Group Shortcode
[profilegrid_user_default_group]
Description: Publishes name of the default user group for currently logged in user. To publish default group name of another user, use uid parameter.
User Groups Shortcode
[profilegrid_user_all_groups]
Description: Publishes comma separated names of groups current users belongs to. To publish group names for another user, use uid parameter.
User Group Badges Shortcode
[profilegrid_user_group_badges]
Description: Publishes group badges (images) for currently logged in user. To publish group badges of another user, use uid parameter.
User Labels Shortcode
[profilegrid_user_labels]
Description: Publishes profile labels for currently logged in user. To publish profile label of another user, use uid parameter.
Unread Notification Count Shortcode
[profilegrid_unread_notifications]
Description: Publishes number of unread notifications for currently logged in user.
Unread Message Count Shortcode
[profilegrid_unread_messages]
Description: Publishes unread messages count for the currently logged in user.
About User Shortcode
[profilegrid_user_about_area]
Description: Publishes About area from the profile of currently logged in user.
Sample Screenshot:
Groups Shortcode
[profilegrid_user_groups_area]
Description: Publishes Groups area from the profile of currently logged in user displaying group cards of the groups user belongs to.
Sample Screenshot:
Blogs Shortcode
[profilegrid_blog_area]
Description: Publishes Blog area from the profile of currently logged in user displaying paginated list of of blog posts written by currently logged in user.
Sample Screenshot:
Messaging Shortcode
[profilegrid_messaging_area]
Description: Publishes Messaging system for currently logged in user to converse with other users.
Sample Screenshot:
Notifications Shortcode
[profilegrid_notification_area]
Description: Publishes Notification cards for currently logged in user.
Sample Screenshot:
Friends Shortcode
[profilegrid_friends_area]
Description: Publishes Friends list and management area for currently logged in user.
Sample Screenshot:
Forums Shortcode
[profilegrid_forum_area]
Description: Publishes Forum activity for currently logged in user.
Sample Screenshot:
Settings Shortcode
[profilegrid_settings_area]
Description: Publishes all ProfileGrid Settings for currently logged in user.
Sample Screenshot:

</div>

Account Options Shortcode
[profilegrid_account_options]
Description: Publishes Account section of ProfileGrid Settings for currently logged in user.
Sample Screenshot:
Change Password Shortcode
[profilegrid_password_options]
Description: Publishes Password Update section for currently logged in user.
Sample Screenshot:
Social Connect Shortcode
[profilegrid_social_options]
Description: Publishes social connections section for currently logged in user.
Sample Screenshot:
Mailchimp Shortcode
[profilegrid_mailchimp_options]
Description: Publishes newsletter settings section for currently logged in user.
Sample Screenshot:
Privacy Shortcode
[profilegrid_privacy_options]
Description: Publishes profile privacy settings for currently logged in user.
Sample Screenshot:
Delete Account Shortcode
[profilegrid_delete_options]
Description: Publishes profile deletion option for currently logged in user.
Sample Screenshot:
Group Cards Shortcode
[profilegrid_group_cards gid=”x”]
Description: Publishes one or more group cards by passing ‘gid’ parameter for Group IDs.
Sample Screenshot:
Group Name Shortcode
[profilegrid_group_name gid=”x”]
Description: Publishes name of a group based on group’s ID. Please note, it will only accept single group ID.
Group Description Shortcode
[profilegrid_group_description gid=”x”]
Description: Publishes description of a group based on group’s ID. Adding ‘gid’ parameter is required. For example [profilegrid_group_description gid=”1″]. Please note, it will only accept single group ID.
Group Member Count Shortcode
[profilegrid_member_count gid=”x”]
Description: Published number of members in a group currently, based on group’s ID. Please note, it will only accept single group ID.
Group Manager Count Shortcode
[profilegrid_manager_count gid=”x”]
Description: Published number of members in a group currently, based on group’s ID. Please note, it will only accept single group ID.
Group Managers Shortcode
[profilegrid_group_manager gid=”x” sep=”,”]
Description: Publishes display names of managers of a group.
Group Managers (List) Shortcode
[profilegrid_group_manager_list gid=”x”]
Description: Publishes display names of managers of a group in list format.
Group Member Cards Shortcode
[profilegrid_members_cards gid=”x”]
Description: Publishes profile cards of group members in grid format.
Sample Screenshot:
Group Manager Cards Shortcode
[profilegrid_manager_cards gid=”x”]
Description: Publishes profile cards of group managers in grid format.
Sample Screenshot:
Group Discussion Shortcode
[profilegrid_group_discussion gid=”x”]
Description: Publishes group discussions/ wall for specified group.
Sample Screenshot:
User Profiles Shortcodes
Group Photos Shortcode
[profilegrid_group_photos gid=”x”]
Description: Publishes group albums and photos for specified group.
Group Settings Shortcode
[profilegrid_group_settings gid=”x”]
Description: Publishes group configuration options for specified group. It will only be accessible to group managers.
Conditional Content Display Shortcode
[profilegrid_show gid=”x”][/profilegrid_show]
Description: Restricts the visibility of content between the opening and closing tags of the shortcode. Optional parameters offer possibility to define users with minimum requirements who will be able to see the content.
Conditional Content Hide Shortcode
[profilegrid_hide gid=”x,y,z”][/profilegrid_hide]
Description: Hides the content within shortcodes for members of specific groups.
Content Restricted to Group Managers Shortcode
[profilegrid_show_managers][/profilegrid_show_managers]
Description: Displays the content only to Group Managers. If parameter gid is set then the content is visible only to Managers of specified groups.
User Login
{{user_login}}
Description: Publishes user login of the user to whom the email will be sent.
Password
{{user_pass}}
Description: Publishes password (as text) of mail recipient.
Nicename
{{user_nicename}}
Description: Publishes Nicename (from WordPress user profile) of the mail recipient.
Email
{{user_email}}
Description: Publishes registered email of the email recipient.
User URL
{{user_url}}
Description: Publishes clickable admin area user account URL for certain scenarios for the admin.
Activation Code
{{pm_activation_code}}
Description: Publishes activation code (for newly registered users to activate their accounts) specific to email recipient.
Display Name
{{display_name}}
Description: Publishes display name of the email recipient based on Display Name extension configuration.
First Name
{{first_name}}
Description: Publishes First Name of the email recipient.
Last Name
{{last_name}}
Description: Publishes Last Name of the email recipient.
Nickname
{{nickname}}
Description: Publishes Nickname of the email recipient.
Site Name
{{site_name}}
Description: Publishes the site name (from WordPress settings).
Description
{{description}}
Description: Publishes site description (from WordPress settings).
Group Name
{{group_name}}
Description: Publishes Group Name for different email notification scenarios.
Group Admin Label
{{group_admin_label}}
Description: Publishes Group Manager Label set by Group Admin for different email notification scenarios.
Post Name
{{post_name}}
Description: Publishes the post name for published blog for different email notification scenarios.
Edit Post Link
{{edit_post_link}}
Description: Publishes link to edit the published blog post for different email notification scenarios.
Post Link
{{post_link}}
Description: Publishes link to new user blog post published on the site.
Any User Value
{{meta_key}}
Description: Publishes value for a meta-key from WordPress’ default usermeta table for recipient of the email. For example, if you wish to publish Last Name of the user, use {{last_name}} shortcut.
If you have any issues in applying above WordPress User profiles Shortcodes to your project, feel free to reach out to us and our team can help.

31 Comments

  1. Hasan

    If we use [profilegrid_group gid=”x”]
    How can we limit to show profile.
    For example i want to show recentyle profile one page and the other pages which called users have all users to be seem.
    Can we do that?

    1. ProfileGrid Editorial Team

      The requested feature is not available as of now.

  2. Sthando

    For The User Blogs Shortcode – [profilegrid_user_blogs uid=”x, y, z” wpblog=”true”]

    How exactly should I paste the code for it to display the blogs of the user who’s profile I’m currently viewing.

    1. ProfileGrid Editorial Team

      If you go to the profile page of a user, the blog tab will show the blogs of that user only. This shortcode displays the blog of the users whose ID you pass in the uid, if you do not pass any uid then it display all user blogs.

  3. James Bartley

    Is it possible to pull through a specific custom field from the user’s profile as a shortcode outside of email?

    1. ProfileGrid

      ProfileGrid has other shortcodes available to pull the other data using shortcodes like first name, last name, profile image, cover image, etc. Please check the shortcodes list.

      1. Danielle

        Do you have a short code for only the profile image? I cannot find it in the shortcodes list.

        1. ProfileGrid Editorial Team

          You may use the shortcode [profilegrid_user_image], it displays the profile image of logged in user.

  4. Anna Crowther

    Hi, I am loving this so far – well done! Id like to be able to manually make users friends in the backend. How do I do this please? Thank you

    1. ProfileGrid

      Only users can make friends from the front end. It cannot be done manually from the dashboard as of now. We have noted this requirement and forwarded it to our team for review and analysis.

  5. Arnaud JACQUINOT

    Hi,
    I would like to know if there is a way to use ProfileGrid shortcodes in Contact Form 7 to get automatically informations about members.
    The idea is to avoid members to fulfill informations they already gave when they registered with ProfileGrid, such as first name, last name, and email.
    Thanks for all.

    1. ProfileGrid Editorial Team

      It’s possible if you are using RegistrationMagic forms as contact forms and registering ProfileGrid users with RegistrationMagic integration.

  6. aysha

    can i display all logged users names and emails in a table in profile page ?

  7. hassan

    why there’s no “log out” shortcode to put it on a page?

    1. ProfileGrid Editorial Team

      You may use the ProfileGrid extension “Login Logout Menu” to add the logout menu to your site. For more details, please visit the link : https://profilegrid.co/add-wordpress-logout-menu-items/

  8. Fred Gillen

    is there a shortcode to display a specific user’s profile image?

    1. ProfileGrid Editorial Team

      You may use the shortcode for profile image for a profile [profilegrid_user_image uid=”X”] here X is User ID and uid is optional. if you do not put uid, then it will display the image of logged in user.

  9. Educaenvivo

    Hi! This plugin is… Awesome!!
    I’m really excited and considering it for my actual project.

    I was look at the shortcodes but I didn’t see the follow/unfollow button shortocode. Am I wrong? To make a custom profile page that goes with the brand style, I want to make a custom public profile template and I would like to include this essential feature

    1. ProfileGrid Editorial Team

      You can create new template for profile page by copying and renaming “default” folder inside “[plugin root]/public/partials/themes” to “[your current theme directory]/profilegrid-user-profiles-groups-and-communities/themes and edit HTML or CSS as required. As of now, follow a member feature is not available. For more details on custom template, check the link: https://profilegrid.co/creating-your-own-custom-templates/

  10. Apat

    Do you have a shortcode for showing the number of new friend requests?

    1. ProfileGrid Editorial Team

      You may use the shortcode [profilegrid_friends_area],it publishes Friends list and management area for currently logged in user.

  11. Frank Jones

    Hi, Is there a way to display specific user profiles, with user name or id parameters for public view not just current user. Also can you use user names instead id’s in all shortcodes.

    1. ProfileGrid

      You may use the shortcode [profilegrid_profile id=”X”], here relace the X with user id. usernames cannot be used in shortcode as of now.

  12. Kiara

    Hi, the new group shortcode is not working for me. It does not display the form. I really need that code to work for my website. Can you please help me get the option of new group creation?

    Also is it possible to hide the default users group? I feel like this group is not meant to be deleted. But I also don’t want it shown on my website.

    1. ProfileGrid

      Please ensure that you have activated the ‘Frontend Group Creator’ extension on the site in order for the new group creation form to be displayed. You can hide the default group from the groups page by disabling the group under the ‘All Groups Page’ option in ‘User Profiles >> Global Settings >> Elements Visibility’ on the dashboard.

  13. JimmyB

    Hello team,

    We would like to switch from another members plugin to Profile grid.
    Is there a way to add all existing (25K+) users in the default group?

    Looking forward to your reply
    Regards,
    JimmyB

    1. ProfileGrid

      Plugin allows to import the users in a group using the CSV file.

  14. Robin Johnson Baker

    We’d love the [profilegrid_users] short code functionality in a widget that could go on any page that would just show the search box WITHOUT all the profiles piled up under it. Just an easy way to search all users WITHOUT the clutter of all the profile pics and info below it….please.

    Thank you!

    1. ProfileGrid

      We have noted this requirement for possible inclusion in future updates.

  15. Giovanna Osellame

    Excuse me, how do I ask someone to become my friend?
    In the example in profile I see a button. But I don’t see any buttons. Can you help me? Thanks

    1. ProfileGrid

      If the friends setting is enabled from the dashboard, and then you check the profile of another user, you will see the ‘Add Friend’ option on that user’s profile.

Leave a Comment

Your email address will not be published. Required fields are marked *