{"id":44788,"date":"2024-06-21T09:41:33","date_gmt":"2024-06-21T09:41:33","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=44788"},"modified":"2025-05-28T08:38:34","modified_gmt":"2025-05-28T08:38:34","slug":"making-your-component-dynamic","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/","title":{"rendered":"How to Make Your Component Dynamic"},"content":{"rendered":"\n<p>The <strong>Context<\/strong> option for <strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/components-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">Components<\/a><\/strong> allows you to change the context for the entire component in case you need to place it on different pages and templates. Let&#8217;s see how to use it in practice, with an example involving users.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-a-new-component-with-user-information\">Create a New Component with User Information<\/h2>\n\n\n\n<p>Go to the <strong><em>WordPress Dashboard &gt; JetEngine &gt; Listings\/Components <\/em><\/strong>tab and hit the \u201c<strong>Add New Component<\/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\/06\/add-new-component.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/add-new-component.webp\" alt=\"add new component\" class=\"wp-image-44789\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/add-new-component.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/add-new-component-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/add-new-component-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/add-new-component-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/add-new-component-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/add-new-component-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>In the <strong>Setup Component <\/strong>pop-up, enter the <strong>Component name <\/strong>(e.g., \u201cUser info\u201d) and select the <strong>Component view<\/strong> (\u201cElementor,\u201d \u201cBricks,\u201d \u201cTimber\/Twig,\u201d or \u201cBlocks (Gutenberg)\u201d).<\/p>\n\n\n\n<p>In our example, we select the \u201cBricks\u201d option.<\/p>\n\n\n\n<p>Then, press the \u201c<strong>Create Component<\/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\/06\/component-setup-and-creation.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/component-setup-and-creation.webp\" alt=\"component setup and creation\" class=\"wp-image-44790\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/component-setup-and-creation.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/component-setup-and-creation-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/component-setup-and-creation-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/component-setup-and-creation-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/component-setup-and-creation-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/component-setup-and-creation-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Check this tutorial to learn <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/creating-user-account-page\/#how-to-display-user-information\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>how to add meta fields to user and display user information<\/strong><\/a>.<\/p>\n\n\n\n<p>To display some user data, we use <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/dynamic-widgets-and-blocks\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Dynamic elements<\/strong><\/a>.<\/p>\n\n\n\n<p>In the first column, we add the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-dynamic-image-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Dynamic Image<\/strong><\/a> and select the \u201cUser avatar\u201d <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-field-types-overview\/#media\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Media custom meta field<\/strong><\/a> as the <strong>Source<\/strong>. Also, we set the <strong>Dynamic image size <\/strong>to \u201cThumbnail.\u201d<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/displaying-user-avatar-with-dynamic-image-in-bricks.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/displaying-user-avatar-with-dynamic-image-in-bricks.webp\" alt=\"displaying user avatar with dynamic image in bricks\" class=\"wp-image-44791\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/displaying-user-avatar-with-dynamic-image-in-bricks.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/displaying-user-avatar-with-dynamic-image-in-bricks-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/displaying-user-avatar-with-dynamic-image-in-bricks-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/displaying-user-avatar-with-dynamic-image-in-bricks-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/displaying-user-avatar-with-dynamic-image-in-bricks-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/displaying-user-avatar-with-dynamic-image-in-bricks-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>In the second column, we place three <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/dynamic-field-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Dynamic Field<\/strong><\/a> elements. For them, we set the \u201cPost\/Term\/User\/Object Data\u201d <strong>Source<\/strong> and \u201cLogin,\u201d \u201cID,\u201d and \u201cEmail\u201d <strong>Object fields<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/dynamic-fields-display-user-info-in-bricks.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/dynamic-fields-display-user-info-in-bricks.webp\" alt=\"dynamic fields display user info in bricks\" class=\"wp-image-44794\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/dynamic-fields-display-user-info-in-bricks.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/dynamic-fields-display-user-info-in-bricks-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/dynamic-fields-display-user-info-in-bricks-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/dynamic-fields-display-user-info-in-bricks-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/dynamic-fields-display-user-info-in-bricks-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/dynamic-fields-display-user-info-in-bricks-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Also, we enable the <strong>Customize field output<\/strong> option for three <strong>Dynamic Fields<\/strong> and set the <strong>Field format <\/strong>(e.g., \u201cEmail: %s\u201d).<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/customize-field-output-in-bricks.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/customize-field-output-in-bricks.webp\" alt=\"customize field output in bricks\" class=\"wp-image-44793\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/customize-field-output-in-bricks.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/customize-field-output-in-bricks-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/customize-field-output-in-bricks-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/customize-field-output-in-bricks-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/customize-field-output-in-bricks-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/customize-field-output-in-bricks-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>For now, we don\u2019t specify the context for the component, so, by default, for users, it will always get information about the current user. We will change the context when placing the component on different pages or templates.<\/p>\n\n\n\n<p>To learn how to add the <strong>Content<\/strong> and <strong>Style Controls<\/strong> to the component, proceed to the <strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/components-overview\/#bricks\" target=\"_blank\" rel=\"noreferrer noopener\">Components Overview<\/a><\/strong>.<\/p>\n\n\n\n<p>When you are done, save the component settings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"component-in-the-user-listing\">Component in the User Listing<\/h2>\n\n\n\n<p>Go to the <strong><em>WordPress Dashboard &gt; JetEngine &gt; Listings\/Components <\/em><\/strong>tab and hit the \u201c<strong>Add New Listing Item<\/strong>\u201d button.<\/p>\n\n\n\n<p>In the <strong>Setup Listing Item <\/strong>pop-up, pick the \u201cUsers\u201d <strong>Listing source<\/strong>, enter the <strong>Listing item name<\/strong>, and select the <strong>Listing view<\/strong> (e.g., \u201cBricks\u201d).<\/p>\n\n\n\n<p>Then, push the \u201c<strong>Create Listing Item<\/strong>\u201d button.<\/p>\n\n\n\n<p>Learn more about the <strong>Listing template<\/strong> in <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-create-listing-items-with-bricks\/\" target=\"_blank\" rel=\"noreferrer noopener\">Elementor<\/a>, <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-a-listing-template-in-gutenberg\/\" target=\"_blank\" rel=\"noreferrer noopener\">Gutenberg<\/a>, <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-create-listing-items-with-bricks\/\">Bricks<\/a>, and <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/creating-listing-template-using-timber-twig-view\/\" target=\"_blank\" rel=\"noreferrer noopener\">Timber\/Twig<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/setting-up-the-listing-item-for-users-in-bricks.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/setting-up-the-listing-item-for-users-in-bricks.webp\" alt=\"setting up the listing item for users in bricks\" class=\"wp-image-44796\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/setting-up-the-listing-item-for-users-in-bricks.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/setting-up-the-listing-item-for-users-in-bricks-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/setting-up-the-listing-item-for-users-in-bricks-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/setting-up-the-listing-item-for-users-in-bricks-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/setting-up-the-listing-item-for-users-in-bricks-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/setting-up-the-listing-item-for-users-in-bricks-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>In the editor, search the recently created component by its name in the left panel and place it on the editing page. In our case, it\u2019s the <strong>User info<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image text-center size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"296\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/component-as-element-in-bricks-builder.webp\" alt=\"component as element in bricks builder\" class=\"wp-image-44792\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/component-as-element-in-bricks-builder.webp 320w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/component-as-element-in-bricks-builder-300x278.webp 300w\" sizes=\"(max-width: 320px) 100vw, 320px\" \/><\/figure>\n\n\n\n<p>Open the <strong>General <\/strong>settings tab and select the \u201cCurrent User (for current scope)\u201d option for the <strong>Component Context <\/strong>field. Then, save the listing template settings.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-user-for-current-scope-component-context.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-user-for-current-scope-component-context.webp\" alt=\"current user for current scope component context\" class=\"wp-image-44801\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-user-for-current-scope-component-context.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-user-for-current-scope-component-context-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-user-for-current-scope-component-context-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-user-for-current-scope-component-context-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-user-for-current-scope-component-context-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-user-for-current-scope-component-context-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Proceed to the <strong><em>WordPress Dashboard &gt; Pages <\/em><\/strong>tab and create a new page or edit the existing one.<\/p>\n\n\n\n<p>For example, we hit the \u201c<strong>Add New Page<\/strong>\u201d button, enter the page title, and hit the \u201c<strong>EDIT WITH BRICKS<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/edit-with-bricks-button.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/edit-with-bricks-button.webp\" alt=\"edit with bricks button\" class=\"wp-image-44795\" style=\"width:840px;height:auto\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/edit-with-bricks-button.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/edit-with-bricks-button-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/edit-with-bricks-button-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/edit-with-bricks-button-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/edit-with-bricks-button-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/edit-with-bricks-button-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Drag-n-drop the <strong>Listing Grid <\/strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/showcasing-custom-posts-via-listing-grid-with-bricks\/\" target=\"_blank\" rel=\"noreferrer noopener\">element<\/a>, <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">widget<\/a>, or <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/listing-grid-block-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">block<\/a> (depending on the builder you use) to the editing page and set the recently created <strong>Listing<\/strong>. Customize the element and page and save the changes.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/listing-grid-with-users-in-bricks-builder.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/listing-grid-with-users-in-bricks-builder.webp\" alt=\"listing grid with users in bricks builder\" class=\"wp-image-44804\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/listing-grid-with-users-in-bricks-builder.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/listing-grid-with-users-in-bricks-builder-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/listing-grid-with-users-in-bricks-builder-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/listing-grid-with-users-in-bricks-builder-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/listing-grid-with-users-in-bricks-builder-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/listing-grid-with-users-in-bricks-builder-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"component-on-the-post-page-or-post-listing\">Component on the Post Page or Post Listing<\/h2>\n\n\n\n<p>You should use the \u201cCurrent Post Author\u201d context if you want to place an author card on a post page or in a listing of posts.<\/p>\n\n\n\n<p>To learn how to create a Single Post Page in Elementor or Gutenberg, proceed to the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-add-a-single-post-page-template-with-elementor\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Create a WordPress Single Post Page Template<\/strong><\/a> tutorial.<\/p>\n\n\n\n<p>To learn how to create a Single Post template with the Bricks builder, move to the <a href=\"https:\/\/helwp.com\/tutorials\/bricks-builder-single-post\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Bricks Builder Single Post &amp; Archive Basics Explained<\/strong><\/a><strong> <\/strong>tutorial.<\/p>\n\n\n\n<p>As an example, we head to <strong><em>WordPress Dashboard &gt; Bricks &gt; Templates <\/em><\/strong>and hit the \u201c<strong>Edit with Bricks<\/strong>\u201d button under the pre-made Single Post template.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/bricks-templates-1.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/bricks-templates-1.webp\" alt=\"bricks templates\" class=\"wp-image-44806\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/bricks-templates-1.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/bricks-templates-1-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/bricks-templates-1-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/bricks-templates-1-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/bricks-templates-1-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/bricks-templates-1-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Then, we search for the <strong>User info<\/strong> component in the left panel.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/single-post-template-in-bricks.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/single-post-template-in-bricks.webp\" alt=\"single post template in bricks\" class=\"wp-image-44797\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/single-post-template-in-bricks.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/single-post-template-in-bricks-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/single-post-template-in-bricks-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/single-post-template-in-bricks-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/single-post-template-in-bricks-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/single-post-template-in-bricks-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>We place the component on the template editing page. The \u201cDefault Object\u201d <strong>Component Context<\/strong> shows the current user information, so we set the \u201cCurrent Post Author\u201d one. Now, it shows the post author information.<\/p>\n\n\n\n<p>After that, the changes can be saved.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-post-author-component-context.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-post-author-component-context.webp\" alt=\"current post author component context\" class=\"wp-image-44800\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-post-author-component-context.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-post-author-component-context-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-post-author-component-context-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-post-author-component-context-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-post-author-component-context-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/current-post-author-component-context-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"component-on-the-public-user-profile-page\">Component on the Public User Profile Page<\/h2>\n\n\n\n<p>To get more information, navigate to the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-set-up-public-single-user-page\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Set Up a Public Single User Page<\/strong><\/a><strong> <\/strong>tutorial.<\/p>\n\n\n\n<p>We want to place the component on the User Profile subpage template, so we proceed to the <strong><em>WordPress Dashboard &gt; JetEngine &gt; Listings\/Components <\/em><\/strong>tab and hit the \u201c<strong>Add New Listing Item<\/strong>\u201d button.<\/p>\n\n\n\n<p>In the <strong>Setup Listing Item <\/strong>pop-up, we pick the \u201cUsers\u201d <strong>Listing source<\/strong>, enter the <strong>Listing item name<\/strong> (e.g., \u201cProfile information\u201d), and select the <strong>Listing view<\/strong> (e.g., \u201cBricks\u201d).<\/p>\n\n\n\n<p>Then, we push the \u201c<strong>Create Listing Item<\/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\/06\/creating-user-profile-subpage-template-in-bricks.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/creating-user-profile-subpage-template-in-bricks.webp\" alt=\"creating user profile subpage template in bricks\" class=\"wp-image-44799\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/creating-user-profile-subpage-template-in-bricks.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/creating-user-profile-subpage-template-in-bricks-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/creating-user-profile-subpage-template-in-bricks-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/creating-user-profile-subpage-template-in-bricks-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/creating-user-profile-subpage-template-in-bricks-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/creating-user-profile-subpage-template-in-bricks-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>We place the component on the editing page (<strong>User info<\/strong>, in our case). As the <strong>Component Context<\/strong>, we select the \u201cQueried User\u201d option and save the settings.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/queried-user-component-context.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/queried-user-component-context.webp\" alt=\"queried user component context\" class=\"wp-image-44805\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/queried-user-component-context.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/queried-user-component-context-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/queried-user-component-context-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/queried-user-component-context-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/queried-user-component-context-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/queried-user-component-context-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Then, we head to the <strong><em>WordPress Dashboard &gt; Profile Builder &gt; User Page <\/em><\/strong>tab and hit the \u201c<strong>+ Add New Subpage<\/strong>\u201d button.<\/p>\n\n\n\n<p>In the new repeater item, we add the <strong>Title<\/strong> and <strong>Slug<\/strong> and set the newly created <em>JetEngine <\/em>listing item as the <strong>Template<\/strong>.<\/p>\n\n\n\n<p>Afterward, we hit the \u201c<strong>Save<\/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\/06\/profile-information-subpage-template.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/profile-information-subpage-template.webp\" alt=\"profile information subpage template\" class=\"wp-image-44802\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/profile-information-subpage-template.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/profile-information-subpage-template-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/profile-information-subpage-template-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/profile-information-subpage-template-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/profile-information-subpage-template-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/profile-information-subpage-template-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Open the Profile page of any user on the front end. It shows the information of the required user.<\/p>\n\n\n\n<div class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"948\" height=\"481\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/user-profile-page-on-the-front-end.webp\" alt=\"user profile page on the front end\" class=\"wp-image-44803\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/user-profile-page-on-the-front-end.webp 948w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/user-profile-page-on-the-front-end-300x152.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/user-profile-page-on-the-front-end-768x390.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/user-profile-page-on-the-front-end-600x304.webp 600w\" sizes=\"(max-width: 948px) 100vw, 948px\" \/><\/div>\n\n\n\n<p>That\u2019s all. Now you know how to adjust the context for an entire component with the <em>JetEngine <\/em>WordPress plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial explains how to adjust the context for an entire component with the JetEngine WordPress plugin, enabling its use on various pages and templates. This guide demonstrates its practical application with a user-related example.<\/p>\n","protected":false},"author":8,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[568],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Make Your Component Dynamic \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"The JetEngine WordPress plugin allows you to adjust the context for an entire component, enabling its use on various pages and templates. Discover its practical application with a user-related example.\" \/>\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\/jetengine\/making-your-component-dynamic\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Make Your Component Dynamic \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"The JetEngine WordPress plugin allows you to adjust the context for an entire component, enabling its use on various pages and templates. Discover its practical application with a user-related example.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-28T08:38:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/add-new-component.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=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/\",\"name\":\"How to Make Your Component Dynamic \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2024-06-21T09:41:33+00:00\",\"dateModified\":\"2025-05-28T08:38:34+00:00\",\"description\":\"The JetEngine WordPress plugin allows you to adjust the context for an entire component, enabling its use on various pages and templates. Discover its practical application with a user-related example.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Make Your Component Dynamic\"}]},{\"@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":"How to Make Your Component Dynamic \u2014 JetEngine | Crocoblock","description":"The JetEngine WordPress plugin allows you to adjust the context for an entire component, enabling its use on various pages and templates. Discover its practical application with a user-related example.","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\/jetengine\/making-your-component-dynamic\/","og_locale":"en_US","og_type":"article","og_title":"How to Make Your Component Dynamic \u2014 JetEngine | Crocoblock","og_description":"The JetEngine WordPress plugin allows you to adjust the context for an entire component, enabling its use on various pages and templates. Discover its practical application with a user-related example.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/","og_site_name":"Help Center","article_modified_time":"2025-05-28T08:38:34+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/06\/add-new-component.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/","name":"How to Make Your Component Dynamic \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2024-06-21T09:41:33+00:00","dateModified":"2025-05-28T08:38:34+00:00","description":"The JetEngine WordPress plugin allows you to adjust the context for an entire component, enabling its use on various pages and templates. Discover its practical application with a user-related example.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/making-your-component-dynamic\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Make Your Component Dynamic"}]},{"@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\/article\/44788"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"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=44788"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=44788"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=44788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}