User grid builder is a variation of Repeater builder that allows you to get a list/grid of users or customize the Author box.
To use this block, add repeater builder block and select the User data type
User data can have several sources.
Ids – you put specific ids of users to show
Custom field – you need to put custom field key where list of user’s ids are stored and divided by commas. For example, if you use the Thumb block, you can use _user_liked key to show a list of all registered users who liked the post
Role – show users with a specific role
Current user – show data of the current user
Author – show data of the author of the post
This block works as a repeater block. You select the source, and you can build the design after the data is inherited. Add one of the blocks that supports repeater data and select the repeater key to show in the field. You have no limits in the design of the block; all blocks are supported in the Repeater constructor.
<!-- wp:paragraph -->
<p>User grid builder is a variation of Repeater builder that allows you to get a list/grid of users or customize the Author box.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>To use this block, add <a href="https://greenshiftwp.com/repeater-builder/" data-type="post" data-id="2714">repeater builder</a> block and select the User data type</p>
<!-- /wp:paragraph -->
<!-- wp:image {"id":4740,"width":257,"height":427,"sizeSlug":"full","linkDestination":"none"} -->
<figure class="wp-block-image size-full is-resized"><img src="https://greenshiftwp.com/wp-content/uploads/2024/04/userdata.png" alt="" class="wp-image-4740" width="257" height="427"/></figure>
<!-- /wp:image -->
<!-- wp:paragraph -->
<p>User data can have several sources.</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>Ids</strong> - you put specific ids of users to show</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>Custom field</strong> - you need to put custom field key where list of user's ids are stored and divided by commas. For example, if you use the Thumb block, you can use _user_liked key to show a list of all registered users who liked the post</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>Role</strong> - show users with a specific role</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>Current user</strong> - show data of the current user</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>Author</strong> - show data of the author of the post</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p>This block works as a repeater block. You select the source, and you can build the design after the data is inherited. Add one of the blocks that supports repeater data and select the repeater key to show in the field. You have no limits in the design of the block; all blocks are supported in the Repeater constructor.</p>
<!-- /wp:paragraph -->
<!-- wp:greenshift-blocks/infobox {"id":"gsbp-a24a9c0"} -->
<div class="wp-block-greenshift-blocks-infobox gspb_infoBox gspb_infoBox-id-gsbp-a24a9c0" id="gspb_infoBox-id-gsbp-a24a9c0"><div class="gs-box info_type icon_type"><div class="gs-box-icon"><svg x="0px" y="0px" viewBox="0 0 512 512"> <g><g> <path d="M256,0C114.497,0,0,114.507,0,256c0,141.503,114.507,256,256,256c141.503,0,256-114.507,256-256 C512,114.497,397.492,0,256,0z M256,472c-119.393,0-216-96.615-216-216c0-119.393,96.615-216,216-216 c119.393,0,216,96.615,216,216C472,375.393,375.384,472,256,472z"></path> </g> </g> <g> <g> <path d="M256,214.33c-11.046,0-20,8.954-20,20v128.793c0,11.046,8.954,20,20,20s20-8.955,20-20.001V234.33 C276,223.284,267.046,214.33,256,214.33z"></path> </g> </g> <g> <g> <circle cx="256" cy="162.84" r="27"></circle> </g> </g> </svg></div><div class="gs-box-text"><!-- wp:paragraph -->
<p>Check more details in <a href="https://greenshiftwp.com/repeater-builder/" data-type="post" data-id="2714">Repeater Builder block</a></p>
<!-- /wp:paragraph --></div></div></div>
<!-- /wp:greenshift-blocks/infobox -->
<!-- wp:paragraph -->
<p>The repeater block will also automatically detect all registered user metas.</p>
<!-- /wp:paragraph -->