{"id":46298,"date":"2024-12-17T10:47:08","date_gmt":"2024-12-17T10:47:08","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=tips-and-tricks&#038;p=46298"},"modified":"2024-12-17T10:47:08","modified_gmt":"2024-12-17T10:47:08","slug":"showing-user-display-name-in-relations-list","status":"publish","type":"tips-and-tricks","link":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/","title":{"rendered":"Showing User Display Name in the Relations List"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"preparations\">Preparations<\/h2>\n\n\n\n<p>Before we start, ensure to create a <em>JetEngine<\/em> <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/relations-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Relation<\/strong><\/a> between users and posts, taxonomies, or <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/custom-content-type\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Custom Content Types (CCTs)<\/strong><\/a>. In our case, it\u2019s the \u201c<a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-connect-custom-categories-with-users\/\" target=\"_blank\" rel=\"noreferrer noopener\">Taxonomy &gt; Users<\/a>\u201d relation.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-taxonomy-to-users-jetengine-relation.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-taxonomy-to-users-jetengine-relation.webp\" alt=\"custom taxonomy to users jetengine relation\" class=\"wp-image-46302\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-taxonomy-to-users-jetengine-relation.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-taxonomy-to-users-jetengine-relation-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-taxonomy-to-users-jetengine-relation-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-taxonomy-to-users-jetengine-relation-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-taxonomy-to-users-jetengine-relation-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-taxonomy-to-users-jetengine-relation-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Then, proceed to the <strong>CCT<\/strong>, term, or post <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/related-items-editing-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">editing page<\/a> and \u201c<strong>Connect<\/strong>\u201d several users. The <strong>Title <\/strong>column shows the usernames and email addresses.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-of-related-users.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-of-related-users.webp\" alt=\"usernames and email addresses of related users\" class=\"wp-image-46307\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-of-related-users.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-of-related-users-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-of-related-users-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-of-related-users-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-of-related-users-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-of-related-users-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>If you press the \u201c<strong>Connect User<\/strong>\u201d button, the <strong>SELECT USER <\/strong>dropdown also shows the usernames and email addresses in the user list.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-in-the-select-user-dropdown.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-in-the-select-user-dropdown.webp\" alt=\"usernames and email addresses in the select user dropdown\" class=\"wp-image-46306\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-in-the-select-user-dropdown.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-in-the-select-user-dropdown-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-in-the-select-user-dropdown-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-in-the-select-user-dropdown-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-in-the-select-user-dropdown-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/usernames-and-email-addresses-in-the-select-user-dropdown-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>To show the user\u2019s display name, you should use such filters:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>jet-engine\/relations\/types\/mix\/items\/users\n\n<\/code><\/pre>\n\n\n\n<p>to filter the user list in the <strong>SELECT USER <\/strong>dropdown in the <strong>Connect User <\/strong>pop-up, the parameters are \u2018$user_list\u2019 and \u2018$relation\u2019;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>jet-engine\/relations\/types\/mix\/item-title\/users\n<\/code><\/pre>\n\n\n\n<p>to filter the user list in the <strong>Title <\/strong>column, the parameters are \u2018$result\u2019, \u2018$item_id\u2019, and \u2018$relation\u2019;<\/p>\n\n\n\n<p>Code examples of the filter usage:<\/p>\n\n\n\n<ul>\n<li>To show the user\u2019s display name in the <strong>SELECT USER <\/strong>dropdown in the <strong>Connect User <\/strong>pop-up:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>add_filter( 'jet-engine\/relations\/types\/mix\/items\/users', function( $users ) {\r\n\tglobal $wpdb;\r\n\r\n\t$table = $wpdb->users;\r\n\t$users = $wpdb->get_results( \"SELECT ID AS value, display_name AS label FROM $table\", ARRAY_A );\r\n\t\r\n\treturn $users;\r\n} );\r<\/code><\/pre>\n\n\n\n<ul>\n<li>To show the user\u2019s display name in the <strong>Title<\/strong> column:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>add_filter( 'jet-engine\/relations\/types\/mix\/item-title\/users', function( $result, $item_id ) {\r\n\t$user = get_user_by( 'ID', $item_id );\r\n\t\r\n\tif ( ! $user ) {\r\n\t\treturn $result;\r\n\t}\r\n\t\r\n\treturn $user->display_name;\r\n}, 10, 2 );\r<\/code><\/pre>\n\n\n\n<p>To apply such codes with filters, you can use the <em>Code Snippets <\/em>or any other <a href=\"https:\/\/crocoblock.com\/blog\/best-wordpress-code-snippets-plugins\/\" target=\"_blank\" rel=\"noreferrer noopener\">similar plugin<\/a>. Another way is to paste the code directly to the WordPress Theme File Editor.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"code-snippets-plugin\">Code Snippets Plugin<\/h2>\n\n\n\n<p>Install and activate the plugin. Proceed to <strong><em>WordPress Dashboard &gt; Snippets &gt; Add New<\/em><\/strong>.<\/p>\n\n\n\n<p>In the <strong>Add New Snippet<\/strong> page, write a title (e.g., \u201cUser list in Connect User pop-up\u201d).<\/p>\n\n\n\n<p>Then, enter a code into the <strong>Functions <\/strong>section:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>add_filter( 'jet-engine\/relations\/types\/mix\/items\/users', function( $users ) {\r\n\tglobal $wpdb;\r\n\r\n\t$table = $wpdb->users;\r\n\t$users = $wpdb->get_results( \"SELECT ID AS value, display_name AS label FROM $table\", ARRAY_A );\r\n\t\r\n\treturn $users;\r\n} );\r<\/code><\/pre>\n\n\n\n<p>Click the \u201c<strong>Save Changes and Activate<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-for-connecting-users.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-for-connecting-users.webp\" alt=\"code snippet to filter user list for connecting users\" class=\"wp-image-46300\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-for-connecting-users.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-for-connecting-users-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-for-connecting-users-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-for-connecting-users-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-for-connecting-users-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-for-connecting-users-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Press <strong><em>WordPress Dashboard > Snippets > Add New <\/em><\/strong>tab again and similarly add the second code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>add_filter( 'jet-engine\/relations\/types\/mix\/item-title\/users', function( $result, $item_id ) {\r\n\t$user = get_user_by( 'ID', $item_id );\r\n\t\r\n\tif ( ! $user ) {\r\n\t\treturn $result;\r\n\t}\r\n\t\r\n\treturn $user->display_name;\r\n}, 10, 2 );\r<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-in-title-column.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-in-title-column.webp\" alt=\"code snippet to filter user list in title column\" class=\"wp-image-46301\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-in-title-column.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-in-title-column-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-in-title-column-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-in-title-column-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-in-title-column-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/code-snippet-to-filter-user-list-in-title-column-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Open the <strong>Snippets <\/strong>tab from the WordPress Dashboard. New snippets are presented and activated in the <strong>Snippets <\/strong>list.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/activated-snippet-codes.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/activated-snippet-codes.webp\" alt=\"activated snippet codes\" class=\"wp-image-46299\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/activated-snippet-codes.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/activated-snippet-codes-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/activated-snippet-codes-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/activated-snippet-codes-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/activated-snippet-codes-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/activated-snippet-codes-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"wordpress-theme-file-editor\">WordPress Theme File Editor<\/h2>\n\n\n\n<p>An alternative option is to paste the code directly to the WordPress Theme File Editor.<\/p>\n\n\n\n<p>Head to <strong><em>WordPress Dashboard &gt; Appearance &gt; Theme File Editor<\/em><\/strong>. Choose the WordPress theme you are currently using and open its <strong>functions.php<\/strong> file.<\/p>\n\n\n\n<p>Paste two codes like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>add_filter( 'jet-engine\/relations\/types\/mix\/items\/users', function( $users ) {\r\n\tglobal $wpdb;\r\n\r\n\t$table = $wpdb->users;\r\n\t$users = $wpdb->get_results( \"SELECT ID AS value, display_name AS label FROM $table\", ARRAY_A );\r\n\t\r\n\treturn $users;\r\n} );\r\n\r\nadd_filter( 'jet-engine\/relations\/types\/mix\/item-title\/users', function( $result, $item_id ) {\r\n\t$user = get_user_by( 'ID', $item_id );\r\n\t\r\n\tif ( ! $user ) {\r\n\t\treturn $result;\r\n\t}\r\n\t\r\n\treturn $user->display_name;\r\n}, 10, 2 );\r<\/code><\/pre>\n\n\n\n<p>Push the \u201c<strong>Update File<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/show-user-display-name-code-in-theme-file-editor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/show-user-display-name-code-in-theme-file-editor.webp\" alt=\"show user display name code in theme file editor\" class=\"wp-image-46303\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/show-user-display-name-code-in-theme-file-editor.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/show-user-display-name-code-in-theme-file-editor-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/show-user-display-name-code-in-theme-file-editor-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/show-user-display-name-code-in-theme-file-editor-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/show-user-display-name-code-in-theme-file-editor-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/show-user-display-name-code-in-theme-file-editor-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"checking-the-result\">Checking the Result<\/h2>\n\n\n\n<p>Return to the <strong>CCT<\/strong>, term, or post editing page with connected users and reload it if needed.<\/p>\n\n\n\n<p>Now, the <strong>Title <\/strong>column shows the user display names.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-related-users-section.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-related-users-section.webp\" alt=\"user display names in the related users section\" class=\"wp-image-46305\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-related-users-section.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-related-users-section-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-related-users-section-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-related-users-section-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-related-users-section-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-related-users-section-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Then, press the \u201c<strong>Connect User<\/strong>\u201d button. The <strong>SELECT USER <\/strong>dropdown also shows the user display name.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-connect-users-pop-up.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-connect-users-pop-up.webp\" alt=\"user display names in the connect users pop-up\" class=\"wp-image-46304\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-connect-users-pop-up.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-connect-users-pop-up-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-connect-users-pop-up-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-connect-users-pop-up-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-connect-users-pop-up-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/user-display-names-in-the-connect-users-pop-up-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>That\u2019s all. Now you know how to show the user display name in the <em>JetEngine<\/em> relation list instead of login information such as username and email address on your WordPress website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Showing the user display name in the JetEngine relation list instead of login information such as username and email address on your WordPress website.<\/p>\n","protected":false},"author":8,"featured_media":0,"template":"","format":"standard","tipstricks-tags":[359],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Showing User Display Name in the Relations List \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to show the user display name in the JetEngine relation list instead of login information such as username and email address on your WordPress website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Showing User Display Name in the Relations List \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to show the user display name in the JetEngine relation list instead of login information such as username and email address on your WordPress website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-taxonomy-to-users-jetengine-relation.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/\",\"name\":\"Showing User Display Name in the Relations List \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2024-12-17T10:47:08+00:00\",\"dateModified\":\"2024-12-17T10:47:08+00:00\",\"description\":\"Learn how to show the user display name in the JetEngine relation list instead of login information such as username and email address on your WordPress website.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tips & tricks\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Showing User Display Name in the Relations List\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Showing User Display Name in the Relations List \u2014 JetEngine | Crocoblock","description":"Learn how to show the user display name in the JetEngine relation list instead of login information such as username and email address on your WordPress website.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/","og_locale":"en_US","og_type":"article","og_title":"Showing User Display Name in the Relations List \u2014 JetEngine | Crocoblock","og_description":"Learn how to show the user display name in the JetEngine relation list instead of login information such as username and email address on your WordPress website.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/","og_site_name":"Help Center","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/custom-taxonomy-to-users-jetengine-relation.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/","url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/","name":"Showing User Display Name in the Relations List \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2024-12-17T10:47:08+00:00","dateModified":"2024-12-17T10:47:08+00:00","description":"Learn how to show the user display name in the JetEngine relation list instead of login information such as username and email address on your WordPress website.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/showing-user-display-name-in-relations-list\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Tips & tricks","item":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/"},{"@type":"ListItem","position":3,"name":"Showing User Display Name in the Relations List"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tips-and-tricks\/46298"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tips-and-tricks"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/tips-and-tricks"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/8"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=46298"}],"wp:term":[{"taxonomy":"tipstricks-tags","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tipstricks-tags?post=46298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}