{"id":42403,"date":"2023-11-13T12:58:18","date_gmt":"2023-11-13T12:58:18","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=42403"},"modified":"2025-03-11T14:44:56","modified_gmt":"2025-03-11T14:44:56","slug":"timber-twig-listing-view-overview","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/","title":{"rendered":"Timber\/Twig Listing View Overview"},"content":{"rendered":"\n<p>The <strong>Listing<\/strong> template defines the item layout and appearance in the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a>.<\/p>\n\n\n\n<p><a href=\"https:\/\/wordpress.org\/plugins\/timber-library\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><em>Timber<\/em><\/a> is the WordPress plugin that allows you to write HTML using the <a href=\"https:\/\/twig.symfony.com\/doc\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><em>Twig Template Engine<\/em><\/a> separate from PHP files.<\/p>\n\n\n\n<p>Using Timber\/Twig, you can create templates with HTML and CSS, aided by tools like presets, dynamic data buttons, filters, and conditional tags. This approach offers flexibility, quick performance, and pure HTML and CSS structure.<\/p>\n\n\n\n<p>To get to know more, head to the <strong><a href=\"https:\/\/crocoblock.com\/blog\/twig-integration-for-jetengine\/\" target=\"_blank\" rel=\"noreferrer noopener\">Twig Integration for JetEngine<\/a><\/strong> article.<\/p>\n\n\n\n<p>To be able to create a listing with the Timber\/Twig view, enable the <strong>Timber\/Twig Views <\/strong>toggle in the <strong>Performance <\/strong>tab of the <strong>JetEngine dashboard<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/high-performant-timber-twig-view.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/high-performant-timber-twig-view.webp\" alt=\"high performant timber twig view\" class=\"wp-image-42433\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/high-performant-timber-twig-view.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/high-performant-timber-twig-view-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/high-performant-timber-twig-view-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/high-performant-timber-twig-view-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/high-performant-timber-twig-view-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/high-performant-timber-twig-view-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"listings-dashboard\">Listings Dashboard<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>The <strong>Listings<\/strong> dashboard is located in the <strong>JetEngine<\/strong> tab of the <strong>WordPress Dashboard<\/strong>. It contains listing items created with different builders, such as Elementor, WordPress Block Editor, Bricks, and Timber.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-list.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-list.webp\" alt=\"listing item list\" class=\"wp-image-42429\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-list.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-list-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-list-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-list-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-list-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-list-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Clicking the <strong>\u201cAdd New\u201d <\/strong>button opens the pop-up where you can create a new listing template.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/setup-listing-item-pop-up.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/setup-listing-item-pop-up.webp\" alt=\"setup listing item pop-up\" class=\"wp-image-42410\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/setup-listing-item-pop-up.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/setup-listing-item-pop-up-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/setup-listing-item-pop-up-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/setup-listing-item-pop-up-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/setup-listing-item-pop-up-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/setup-listing-item-pop-up-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"listing-source\">Listing source<\/h3>\n\n\n\n<p>The <strong>Listing source<\/strong> drop-down list includes the following options for selection.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"posts\">Posts<\/h4>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"498\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-post-type.webp\" alt=\"listing template for a post type\" class=\"wp-image-42423\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-post-type.webp 664w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-post-type-300x225.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-post-type-600x450.webp 600w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/div>\n\n\n\n<p>You can create a listing template for the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-a-custom-post-type-based-on-jetengine-plugin\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Custom Post Type<\/strong><\/a> made via <em>JetEngine<\/em> and for the default WordPress posts, pages, media, and WooCommerce products.<\/p>\n\n\n\n<p>After choosing the \u201cPosts\u201d option in the <strong>Listing source<\/strong> drop-down menu, choose the type of post in the <strong>From post type<\/strong> select field.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"query-builder\">Query Builder<\/h4>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"662\" height=\"498\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-query.webp\" alt=\"listing template for a custom query\" class=\"wp-image-42425\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-query.webp 662w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-query-300x226.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-query-600x451.webp 600w\" sizes=\"(max-width: 662px) 100vw, 662px\" \/><\/div>\n\n\n\n<p>You can create a custom query with the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/query-builder-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Query Builder<\/strong><\/a> feature and display the narrowed data by a listing item.<\/p>\n\n\n\n<p>Select the <strong>Query<\/strong> you have created as the source.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"terms\">Terms<\/h4>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"661\" height=\"496\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-terms.webp\" alt=\"\" class=\"wp-image-42418\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-terms.webp 661w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-terms-300x225.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-terms-600x450.webp 600w\" sizes=\"(max-width: 661px) 100vw, 661px\" \/><\/div>\n\n\n\n<p>The <em>JetEngine<\/em> plugin allows creating <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/creating-custom-taxonomy-with-jetengine\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>custom taxonomies<\/strong><\/a> and adding <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/meta-boxes-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>meta boxes<\/strong><\/a> with custom fields to them. Also, you can add a meta box to the default WordPress category or <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-meta-boxes-for-product-categories\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>WooCommerce product category<\/strong><\/a>. For all those categories, along with the created taxonomies, you can build a listing template and afterward use it to display them in a <strong>Listing Grid<\/strong>.<\/p>\n\n\n\n<p>Choose the \u201cTerms\u201d option in the <strong>Listing source<\/strong> menu and specify it in the <strong>From taxonomy<\/strong> drop-down list.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"users\">Users<\/h4>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"411\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-users.webp\" alt=\"listing template for users\" class=\"wp-image-42416\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-users.webp 660w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-users-300x187.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-users-600x374.webp 600w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/div>\n\n\n\n<p>WordPress offers default meta fields, such as user ID, login, nickname, email, etc., but you can also add a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-group-the-custom-meta-fields-for-the-certain-post-types-into-meta-boxes\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>meta box<\/strong><\/a> with custom meta fields. Data from the default and custom fields can be displayed in the listing template.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"repeater-field\">Repeater Field<\/h4>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"662\" height=\"685\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-repeater-field.webp\" alt=\"listing template for a repeater field\" class=\"wp-image-42421\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-repeater-field.webp 662w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-repeater-field-290x300.webp 290w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-repeater-field-600x621.webp 600w\" sizes=\"(max-width: 662px) 100vw, 662px\" \/><\/div>\n\n\n\n<p><a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-a-repeater-with-jetengine-repeater-usage-examples\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Repeater meta field<\/strong><\/a> is a set of subfields that can be repeated as many times as you or users need.<\/p>\n\n\n\n<p>In the <strong>From post type<\/strong> list, select the post type to which you have applied the repeater meta field. Then, the <strong>Repeater source<\/strong> field follows, where the next options are presented: \u201cJetEngine,\u201d \u201cJetEngine Options Page,\u201d and \u201cACF.\u201d<\/p>\n\n\n\n<p>The following line includes two fields: the <strong>Repeater field<\/strong> and the <strong>Repeater option<\/strong>. Choose one based on the earlier selected <strong>Repeater source<\/strong>: complete the <strong>Repeater field<\/strong> for the \u201cJetEngine\u201d or \u201cACF\u201d <strong>Repeater source<\/strong>, and fill in the <strong>Repeater option<\/strong> for the \u201cJetEngine Options Page.\u201d<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"user-appointments\">User Appointments<\/h4>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"412\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-user-appointments.webp\" alt=\"listing template for user appointments\" class=\"wp-image-42419\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-user-appointments.webp 663w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-user-appointments-300x186.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-user-appointments-600x373.webp 600w\" sizes=\"(max-width: 663px) 100vw, 663px\" \/><\/div>\n\n\n\n<p>This option is available with the <a href=\"https:\/\/crocoblock.com\/plugins\/jetappointment\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetAppointment<\/em><\/a> plugin. It allows you to display user appointment information, such as date, time, and service and provider names, in the Listing Grid on the front end. To learn more, proceed to the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetappointment\/jetappointment-how-to-display-appointments-with-the-listing-grid-widget\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Display User Appointments with the Listing Grid Widget<\/strong><\/a> tutorial.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"custom-content-type\">Custom Content Type<\/h4>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"498\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-content-type.webp\" alt=\"listing template for a custom content type\" class=\"wp-image-42426\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-content-type.webp 664w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-content-type-300x225.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-content-type-600x450.webp 600w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/div>\n\n\n\n<p>Choose the necessary CCT in the <strong>From content type<\/strong> drop-down field. If you have any questions, read the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-how-to-create-a-custom-content-type\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Custom Content Type<\/strong><\/a> guide.<\/p>\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">This source is available when the <strong>Custom Content Types<\/strong> toggle is activated in the <strong><em>WordPress Dashboard &gt; JetEngine &gt; JetEngine &gt; Modules &gt; Default Modules<\/em><\/strong> tab.<\/p><\/div><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"custom-content-type-repeater-field\">Custom Content Type Repeater Field<\/h4>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"499\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-content-type-repeater-field.webp\" alt=\"listing template for a custom content type repeater field\" class=\"wp-image-42424\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-content-type-repeater-field.webp 664w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-content-type-repeater-field-300x225.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-custom-content-type-repeater-field-600x451.webp 600w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/div>\n\n\n\n<p>This <strong>Listing source<\/strong> option reveals the <strong>Repeater Field<\/strong> drop-down list where the repeater meta field from the CCT should be chosen.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"rest-api-endpoint\">REST API Endpoint<\/h4>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"493\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-REST-API-endpoint.webp\" alt=\"listing template for a REST API endpoint\" class=\"wp-image-42422\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-REST-API-endpoint.webp 660w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-REST-API-endpoint-300x224.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-a-REST-API-endpoint-600x448.webp 600w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/div>\n\n\n\n<p>With the help of REST API, you can display the items of the Custom Content Type located on another website in the Listing Grid. For more details, check the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-custom-content-type-items-using-rest-api\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>REST API usage<\/strong><\/a> tutorial.<\/p>\n\n\n\n<p>Select the necessary endpoint in the <strong>From API endpoint<\/strong> drop-down menu.<\/p>\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">This source is available when the <strong>Rest API Listings<\/strong> toggle is activated in the <strong><em>WordPress Dashboard &gt; JetEngine &gt; JetEngine &gt; Modules &gt; Default Modules<\/em><\/strong> tab.<\/p><\/div><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"jetreviews\">JetReviews<\/h4>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"662\" height=\"412\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-reviews-and-comments.webp\" alt=\"listing template for reviews and comments\" class=\"wp-image-42420\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-reviews-and-comments.webp 662w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-reviews-and-comments-300x187.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-template-for-reviews-and-comments-600x373.webp 600w\" sizes=\"(max-width: 662px) 100vw, 662px\" \/><\/div>\n\n\n\n<p>The \u201cJetReviews\u201d source pulls out the reviews and comments created with the <a href=\"https:\/\/crocoblock.com\/plugins\/jetreviews\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetReviews<\/em><\/a> plugin.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"listing-item-name-and-listing-view\">Listing item name and listing view<\/h3>\n\n\n\n<p>There are two additional fields: <strong>Listing item name<\/strong> and <strong>Listing view<\/strong>.<\/p>\n\n\n\n<p>The <strong>Listing item<\/strong> <strong>name <\/strong>is a field for a listing name to distinguish it from other listings; it can be left empty so the name will be generated automatically.<\/p>\n\n\n\n<p>The <strong>Listing view<\/strong> allows selecting four builders: Elementor, WordPress Block Editor, Bricks, and Timber\/Twig. The WordPress Block Editor is the default option, <a href=\"https:\/\/elementor.com\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><em>Elementor<\/em><\/a> and <a href=\"https:\/\/wordpress.org\/plugins\/timber-library\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><em>Timber<\/em><\/a> should be installed and activated as plugins, and <a href=\"https:\/\/bricksbuilder.io\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><em>Bricks<\/em><\/a> should be set as a theme.<\/p>\n\n\n\n<p>The <strong>\u201cCreate Listing Item\u201d<\/strong> button creates a Listing template and opens the editing page in the builder selected in the <strong>Listing view <\/strong>field.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"498\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-name-and-view.webp\" alt=\" listing item name and view\" class=\"wp-image-42427\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-name-and-view.webp 663w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-name-and-view-300x225.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-name-and-view-600x451.webp 600w\" sizes=\"(max-width: 663px) 100vw, 663px\" \/><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"listing-item-in-timbertwig-editor\">Listing Item in Timber\/Twig Editor<\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>With the \u201cTimber\/Twig\u201d option selected in the <strong>Listing view<\/strong> field, an empty <strong>Edit listing item template <\/strong>page is displayed.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/Edit-listing-item-template.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/Edit-listing-item-template.webp\" alt=\"Edit listing item template\" class=\"wp-image-42440\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/Edit-listing-item-template.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/Edit-listing-item-template-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/Edit-listing-item-template-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/Edit-listing-item-template-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/Edit-listing-item-template-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/Edit-listing-item-template-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>On the top of the page is a field where you can enter the listing item name or change it. On the right of the field is the <strong>\u201cSettings\u201d <\/strong>button for opening the&nbsp; <strong>Listing source <\/strong>settings tab. By pushing the <strong>\u201cSave\u201d <\/strong>button, you can save changes you completed for the listing template.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-source-settings.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-source-settings.webp\" alt=\"listing item source settings\" class=\"wp-image-42428\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-source-settings.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-source-settings-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-source-settings-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-source-settings-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-source-settings-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-item-source-settings-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>The <strong>Preview width<\/strong> settings under the <strong>\u201cSettings\u201d <\/strong>and <strong>\u201cSave\u201d <\/strong>buttons are for setting the width in % (percent), px (pixels), and vw (viewport width). The default <strong>Preview width <\/strong>is 50%, taking up half of the editing page.<\/p>\n\n\n\n<p>On the left side, under the listing item name field, is the <strong>\u201cPresets\u201d <\/strong>button.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/presets-and-preview-width-settings.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/presets-and-preview-width-settings.webp\" alt=\"presets and preview width settings\" class=\"wp-image-42413\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/presets-and-preview-width-settings.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/presets-and-preview-width-settings-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/presets-and-preview-width-settings-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/presets-and-preview-width-settings-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/presets-and-preview-width-settings-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/presets-and-preview-width-settings-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>Picking one of the presets applies it to the listing template. The <strong>HTML <\/strong>sheet shows the structure of the Listing content, <strong>CSS <\/strong>defines style settings, and <strong>Preview <\/strong>shows the result.<\/p>\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">Presets are designed to display posts; therefore, they may return incorrect results in the <strong>Preview<\/strong> for other sources in the Listing.<\/p><\/div><\/div>\n\n\n\n<div class=\"wp-block-image size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/applying-a-preset-to-the-timber-twig-listing.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1824\" height=\"1100\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/applying-a-preset-to-the-timber-twig-listing.webp\" alt=\"applying a preset to the timber twig listing\" class=\"wp-image-42450\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/applying-a-preset-to-the-timber-twig-listing.webp 1824w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/applying-a-preset-to-the-timber-twig-listing-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/applying-a-preset-to-the-timber-twig-listing-1024x618.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/applying-a-preset-to-the-timber-twig-listing-768x463.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/applying-a-preset-to-the-timber-twig-listing-1536x926.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/applying-a-preset-to-the-timber-twig-listing-600x362.webp 600w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/div>\n\n\n\n<p>To prevent inaccuracies in rendering and reduce the server&#8217;s workload, the <strong>Preview<\/strong> does not refresh automatically after making changes to the <strong>HTML <\/strong>sheet. To apply your modifications, click the <strong>\u201cReload preview\u201d<\/strong> button located above the <strong>Preview <\/strong>area.<\/p>\n\n\n\n<p>CSS changes take effect instantly. If the corresponding HTML has already been rendered in the <strong>Preview<\/strong> area, the styles will be applied to it as soon as they are entered.<\/p>\n\n\n\n<p>The <strong>HTML<\/strong> editor accommodates all <a href=\"https:\/\/twig.symfony.com\/doc\/2.x\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Twig language constructs<\/strong><\/a>, allowing manual code writing.<\/p>\n\n\n<div class=\"note-banner d-flex border-bold border-jetthemecore rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z\" fill=\"#F2D23C\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Things to know<\/div><p class=\"m-0\"><strong>HTML<\/strong> and <strong>CSS<\/strong> editors now support <a href=\"https:\/\/docs.emmet.io\/abbreviations\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">emmet syntax<\/a>. The abbreviation will expand into a code by pressing the <strong>Tab<\/strong> key.<\/p><\/div><\/div>\n\n\n\n<p>Also, above the <strong>HTML <\/strong>sheet are three buttons: <strong>\u201cDynamic data<\/strong>,<strong>\u201d \u201cFilter data<\/strong>,<strong>\u201d <\/strong>and <strong>\u201cConditional Tags<\/strong>.<strong>\u201d <\/strong>These options can help you to pull dynamic content into the <strong>HTML <\/strong>sheet.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"dynamic-data\">Dynamic data<\/h3>\n\n\n\n<p>With this button, you can pull two types of data: <strong>JetEngine<\/strong> and <strong>Default Data<\/strong>. This option allows you to display values from custom <em>JetEngine <\/em>and default WordPress fields.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"340\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-and-default-data.webp\" alt=\"jetengine and default data\" class=\"wp-image-42434\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-and-default-data.webp 843w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-and-default-data-300x121.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-and-default-data-768x310.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-and-default-data-600x242.webp 600w\" sizes=\"(max-width: 843px) 100vw, 843px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"dynamic-data\">Dynamic Data<\/h4>\n\n\n\n<p>The \u201cDynamic Data\u201d option of <strong>JetEngine<\/strong> pulls the data from the specified source. It has such settings:<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"690\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-data-source.webp\" alt=\"dynamic data source\" class=\"wp-image-42442\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-data-source.webp 842w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-data-source-300x246.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-data-source-768x629.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-data-source-600x492.webp 600w\" sizes=\"(max-width: 842px) 100vw, 842px\" \/><\/div>\n\n\n\n<ul>\n<li><strong>Source<\/strong>. In the drop-down field, you can see a list of available sources for pulling out the data:\n<ul>\n<li><strong>Post\/Term\/User\/Object Data<\/strong>. The content will be pulled from the default meta fields of the post, term, user, or object (e.g., comments, <a href=\"https:\/\/crocoblock.com\/plugins\/jetappointment\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>appointments<\/strong><\/a>, <a href=\"https:\/\/jetformbuilder.com\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetFormBuilder<\/em><\/a> form fields, <a href=\"https:\/\/crocoblock.com\/plugins\/jetreviews\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetReviews<\/em><\/a>, <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/query-builder-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>custom queries<\/strong><\/a>, and <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/relations-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>relations<\/strong><\/a>). You can select the field in the <strong>Object Field<\/strong> field or enter its name in the <strong>Custom Field Key <\/strong>field;&nbsp;<\/li>\n\n\n\n<li><strong>Meta Data<\/strong>. This option will take the content from one of the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-a-custom-meta-field-with-jetengine-custom-meta-field-types-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>meta fields<\/strong><\/a> created by you using the <em>JetEngine <\/em>plugin\u2019s functionality. You can select a field in the <strong>Meta Field<\/strong> drop-down menu or define it by typing its name in the <strong>Custom Field Key <\/strong>field;&nbsp;<\/li>\n\n\n\n<li><strong>Query Variable<\/strong>. It can be used to display data on the Search Results page. For that, specify the <strong>Variable Name<\/strong> \u2013 \u201cs\u201d;&nbsp;<\/li>\n\n\n\n<li><strong>Options<\/strong>. This variant allows you to choose meta fields created for the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-options-page-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Options Page<\/strong><\/a>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Fallback<\/strong>. If the value is empty, you can type the text that the users will see instead;<\/li>\n\n\n\n<li><strong>Context<\/strong>. This field helps specify the data source and collaborates with the <strong>Source <\/strong>option. Depending on your settings, there can be such options:\n<ul>\n<li><strong>Default Object<\/strong>.<strong> <\/strong>Shows data for the current Listing template according to the <strong>Listing source <\/strong>settings;<\/li>\n\n\n\n<li><strong>Current User (global)<\/strong>.<strong> <\/strong>Shows data according to the user for whom the page was created;<\/li>\n\n\n\n<li><strong>Current User (for current scope)<\/strong>. Shows data according to the currently proceeding user. For example, a listing of users shows the posts written by the user after clicking on them. In this case, if you choose the <strong>Current User (for current scope)<\/strong> context, it will display the meta field value of the user you have just clicked on, not the logged-in user;<\/li>\n\n\n\n<li><strong>Queried User<\/strong>.<strong> <\/strong>Shows data for the currently logged-in user or the user mentioned in the URL (the user ID is in the URL);<\/li>\n\n\n\n<li><strong>Current Post Author<\/strong>. It will show data of the user who is the author of the currently opened post;<\/li>\n\n\n\n<li><strong>Default WordPress Object (for current page)<\/strong>. It always shows the data of a current global object for the current page defined by WordPress. For instance, on a single page\/single post, it will always be the current post, even if you go to the listing added to this page;<\/li>\n\n\n\n<li><strong>Current CCT item author<\/strong>. Shows the author of the currently opened CCT item\u2019s user data. It can be used in the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/creating-custom-content-type-listing-template\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Template for CCT<\/strong><\/a> to show the information about the CCT item author. To learn more about CCT, proceed to the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-how-to-create-a-custom-content-type\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Create a Custom Content Type<\/strong><\/a> tutorial;<\/li>\n\n\n\n<li><strong>Related Items From\u2026 <\/strong>Shows the created relation\u2019s data. To learn more, navigate to the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-relations-dynamic-output\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Relations Dynamic Output<\/strong><\/a><strong> <\/strong>tutorial.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"845\" height=\"689\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-data-settings.webp\" alt=\"dynamic data settings\" class=\"wp-image-42445\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-data-settings.webp 845w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-data-settings-300x245.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-data-settings-768x626.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-data-settings-600x489.webp 600w\" sizes=\"(max-width: 845px) 100vw, 845px\" \/><\/div>\n\n\n\n<p>There are two buttons at the end of the pop-up:&nbsp;<\/p>\n\n\n\n<ul>\n<li><strong>Add filter to result<\/strong>. This option is similar to the <strong>\u201cFilter data\u201d <\/strong>button, which will be described later;<\/li>\n\n\n\n<li><strong>Insert<\/strong>. Pull the needed data into the <strong>HTML <\/strong>sheet.<\/li>\n<\/ul>\n\n\n\n<p>To return to the <strong>JetEngine <\/strong>and <strong>Default Data <\/strong>option list, hit the <strong>\u201cAll Functions\u201d <\/strong>link at the top of the pop-up.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"dynamic-url\">Dynamic URL<\/h4>\n\n\n\n<p>The \u201cDynamic URL\u201d option pulls images and URLs from predefined sources. It has such settings:<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"845\" height=\"692\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-source.webp\" alt=\"\" class=\"wp-image-42439\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-source.webp 845w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-source-300x246.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-source-768x629.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-source-600x491.webp 600w\" sizes=\"(max-width: 845px) 100vw, 845px\" \/><\/div>\n\n\n\n<ul>\n<li><strong>Source<\/strong>. Allows selecting a source for the link:\n<ul>\n<li><strong>Thumbnail URL<\/strong>. Pulls the post thumbnail URL;<\/li>\n\n\n\n<li><strong>Image URL by Image ID<\/strong>. Pulls the image URL by image ID. You can also enter the meta field name into the <strong>Custom Field Name <\/strong>field to set a specific field as the source;<\/li>\n\n\n\n<li><strong>Permalink<\/strong>. Makes any field clickable. For example, if you enter the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/custom-post-type-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>CPT<\/strong><\/a> meta field name into the <strong>Custom Field Name <\/strong>field, it will redirect to the CPT item single page from the page with the Listing Grid;<\/li>\n\n\n\n<li><strong>Profile Page<\/strong>. Allows users to redirect to the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/jetengine-user-profile-builder-overview\/#account-page-tab-overview\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Account<\/strong><\/a> or <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/jetengine-user-profile-builder-overview\/#user-page-tab-overview\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>User Single<\/strong><\/a> subpage chosen from the <strong>Profile Page <\/strong>drop-down menu;<\/li>\n\n\n\n<li><strong>Options<\/strong>. Works on the Options Pages developed by the <em>JetEngine<\/em> plugin.&nbsp; After choosing this type of link, users will see an additional <strong>Option <\/strong>drop-down menu. The link will be taken from the meta field\u2019s value in the <strong>Option<\/strong> drop-down list. You can also enter the name of the meta field in the <strong>Custom Field Name<\/strong> field. Read the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/options-pages-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Options Page Full Overview<\/strong><\/a> tutorial or watch the <a href=\"https:\/\/youtu.be\/MqcuHrT1a_c\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Creating Options pages in WordPress<\/strong><\/a> video to create the options pages;<\/li>\n\n\n\n<li><strong>Other meta fields<\/strong>. If you create custom meta fields, they will be automatically displayed on the list. When you choose one of them, the link will be taken from the value of that meta field;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"845\" height=\"690\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-profile-page-source.webp\" alt=\"dynamic URL profile page source\" class=\"wp-image-42443\" style=\"aspect-ratio:1.2246376811594204;width:840px;height:auto\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-profile-page-source.webp 845w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-profile-page-source-300x245.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-profile-page-source-768x627.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-profile-page-source-600x490.webp 600w\" sizes=\"(max-width: 845px) 100vw, 845px\" \/><\/div>\n\n\n\n<ul>\n<li><strong>Fallback<\/strong>. If the value is empty, you can type the text that the users will see instead;<\/li>\n\n\n\n<li><strong>Context<\/strong>. This field helps specify the data source and collaborates with the <strong>Source<\/strong> option. All available <strong>Context<\/strong> options were described earlier.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"690\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-settings.webp\" alt=\"dynamic URL settings\" class=\"wp-image-42441\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-settings.webp 843w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-settings-300x246.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-settings-768x629.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/dynamic-URL-settings-600x491.webp 600w\" sizes=\"(max-width: 843px) 100vw, 843px\" \/><\/div>\n\n\n\n<p>There are two buttons at the end of the pop-up:&nbsp;<\/p>\n\n\n\n<ul>\n<li><strong>Add filter to result<\/strong>. This option is similar to the <strong>\u201cFilter data\u201d <\/strong>button, which will be described later;<\/li>\n\n\n\n<li><strong>Insert<\/strong>. Pull the needed data into the <strong>HTML <\/strong>sheet.<\/li>\n<\/ul>\n\n\n\n<p>To return to the <strong>JetEngine <\/strong>and <strong>Default Data <\/strong>option list, hit the <strong>\u201cAll Functions\u201d <\/strong>link at the top of the pop-up.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"data-store-button\">Data Store Button<\/h4>\n\n\n\n<p>With the <em>JetEngine <\/em>plugin, you can create <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/data-store-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Data Stores<\/strong><\/a> to store various data collections, such as favorite posts, bookmarks, recently viewed items, etc.&nbsp;<\/p>\n\n\n\n<p>The \u201cData Store Button\u201d option allows you to add and remove items from the <strong>Data Store<\/strong> in a few clicks.<\/p>\n\n\n\n<p>The \u201cData Store Button\u201d option has such settings:<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"688\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/data-store-button-settings.webp\" alt=\"data store button settings\" class=\"wp-image-42446\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/data-store-button-settings.webp 843w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/data-store-button-settings-300x245.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/data-store-button-settings-768x627.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/data-store-button-settings-600x490.webp 600w\" sizes=\"(max-width: 843px) 100vw, 843px\" \/><\/div>\n\n\n\n<ul>\n<li><strong>Store<\/strong>. Here, you can choose the store you\u2019ve created in the <strong>Data Store<\/strong> tab;<\/li>\n\n\n\n<li><strong>Label<\/strong>. In this bar, you can name your button. This is how users will see it on the front end;<\/li>\n\n\n\n<li><strong>Icon<\/strong>. In this text area, you can enter icons in SVG format. Also, you can copy the HTML code of an icon from <a href=\"https:\/\/fontawesome.com\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Font Awesome<\/strong><\/a> and enter it here;<\/li>\n\n\n\n<li><strong>Reload listing grid on success<\/strong>. Enable this option to reload the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a> with the current store items on success;<\/li>\n\n\n\n<li><strong>Action after an item added to store<\/strong>. This option allows you to choose an action to execute after adding an item to your store. Let\u2019s check all three actions:<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"846\" height=\"687\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/action-after-an-item-added-to-store.webp\" alt=\"action after an item added to store\" class=\"wp-image-42452\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/action-after-an-item-added-to-store.webp 846w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/action-after-an-item-added-to-store-300x244.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/action-after-an-item-added-to-store-768x624.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/action-after-an-item-added-to-store-600x487.webp 600w\" sizes=\"(max-width: 846px) 100vw, 846px\" \/><\/div>\n\n\n\n<ul>\n<li><strong>Remove from the store button<\/strong>. This action will add a button for removing the item you\u2019ve added to the store. You can customize the button\u2019s label and add an icon to it;<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"844\" height=\"804\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/remove-from-store-button.webp\" alt=\"remove from store button\" class=\"wp-image-42414\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/remove-from-store-button.webp 844w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/remove-from-store-button-300x286.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/remove-from-store-button-768x732.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/remove-from-store-button-600x572.webp 600w\" sizes=\"(max-width: 844px) 100vw, 844px\" \/><\/div>\n\n\n\n<ul>\n<li><strong>Switch button status<\/strong>. This option allows switching the status of the button, adding a <strong>Label<\/strong>, <strong>Icon<\/strong>, and the page <strong>URL<\/strong> where users will be redirected after adding an item to the store;<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"864\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/switch-button-status.webp\" alt=\"switch button status\" class=\"wp-image-42411\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/switch-button-status.webp 843w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/switch-button-status-293x300.webp 293w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/switch-button-status-768x787.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/switch-button-status-600x615.webp 600w\" sizes=\"(max-width: 843px) 100vw, 843px\" \/><\/div>\n\n\n\n<ul>\n<li><strong>Hide button<\/strong>. This option hides the button on the front end after users add an item to the store.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"688\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/hide-button-option.webp\" alt=\"hide button option\" class=\"wp-image-42435\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/hide-button-option.webp 842w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/hide-button-option-300x245.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/hide-button-option-768x628.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/hide-button-option-600x490.webp 600w\" sizes=\"(max-width: 842px) 100vw, 842px\" \/><\/div>\n\n\n\n<ul>\n<li><strong>Context<\/strong>. It defines what ID to assign to the stored item based on the selected context:\n<ul>\n<li><strong>Default Object<\/strong>.<strong> <\/strong>Current page or listing item;<\/li>\n\n\n\n<li><strong>Current User (global)<\/strong>.<strong> <\/strong>User for whom the page was created;<\/li>\n\n\n\n<li><strong>Current User (for current scope)<\/strong>. User, who is currently proceeding, not the logged-in user;<\/li>\n\n\n\n<li><strong>Queried User<\/strong>.<strong> <\/strong>Currently logged-in user or the user mentioned in the URL (the user ID is in the URL);<\/li>\n\n\n\n<li><strong>Current Post Author<\/strong>. User who is the author of the currently opened post;<\/li>\n\n\n\n<li><strong>Default WordPress Object (for current page)<\/strong>. Current global object for the current page is defined by WordPress. For instance, on a single page\/single post, it will always be the current post, even if you go to the listing added to this page;<\/li>\n\n\n\n<li><strong>Current CCT item author<\/strong>. User who is the author of the currently opened <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-how-to-create-a-custom-content-type\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>CCT item<\/strong><\/a>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>There are two buttons at the end of the pop-up:&nbsp;<\/p>\n\n\n\n<ul>\n<li><strong>Add filter to result<\/strong>. This option is similar to the <strong>\u201cFilter data\u201d <\/strong>button, which will be described later;<\/li>\n\n\n\n<li><strong>Insert<\/strong>. Pull the needed data into the <strong>HTML <\/strong>sheet.<\/li>\n<\/ul>\n\n\n\n<p>To return to the <strong>JetEngine<\/strong> and <strong>Default Data<\/strong> option list, hit the <strong>\u201cAll Functions\u201d<\/strong> link at the top of the pop-up.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"post\">Post<\/h4>\n\n\n\n<p>If you select the \u201cPost\u201d option, you can display values from the WordPress post default meta fields, such as ID, Post Title, Post Author ID, Post Date, etc., by selecting them in the <strong>Select data to show <\/strong>drop-down menu. You can also display <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-add-the-custom-meta-fields-to-the-posts\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>custom meta field values added to the WordPress posts via the Meta Box feature<\/strong><\/a>.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"844\" height=\"691\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/post-dynamic-data.webp\" alt=\"post dynamic data\" class=\"wp-image-42415\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/post-dynamic-data.webp 844w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/post-dynamic-data-300x246.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/post-dynamic-data-768x629.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/post-dynamic-data-600x491.webp 600w\" sizes=\"(max-width: 844px) 100vw, 844px\" \/><\/div>\n\n\n\n<p>There are two buttons at the end of the pop-up:&nbsp;<\/p>\n\n\n\n<ul>\n<li><strong>Add filter to result<\/strong>. This option is similar to the <strong>\u201cFilter data\u201d <\/strong>button, which will be described later;<\/li>\n\n\n\n<li><strong>Insert<\/strong>. Pull the needed data into the <strong>HTML <\/strong>sheet.<\/li>\n<\/ul>\n\n\n\n<p>To return to the <strong>JetEngine<\/strong> and <strong>Default Data<\/strong> option list, hit the <strong>\u201cAll Functions\u201d<\/strong> link at the top of the pop-up.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"user\">User<\/h4>\n\n\n\n<p>The \u201cUser\u201d option allows you to display values from the WordPress user default meta fields, such as ID, Display Name, Email, etc. Also, you can pick <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-apply-meta-boxes-to-users\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>custom meta fields added via Meta Box to users<\/strong><\/a>.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"844\" height=\"340\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/user-dynamic-data.webp\" alt=\"user dynamic data\" class=\"wp-image-42453\" style=\"aspect-ratio:2.4823529411764707;width:840px;height:auto\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/user-dynamic-data.webp 844w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/user-dynamic-data-300x121.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/user-dynamic-data-768x309.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/user-dynamic-data-600x242.webp 600w\" sizes=\"(max-width: 844px) 100vw, 844px\" \/><\/div>\n\n\n\n<p>There are two buttons at the end of the pop-up:&nbsp;<\/p>\n\n\n\n<ul>\n<li><strong>Add filter to result<\/strong>. This option is similar to the <strong>\u201cFilter data\u201d <\/strong>button, which will be described later;<\/li>\n\n\n\n<li><strong>Insert<\/strong>. Pull the needed data into the <strong>HTML <\/strong>sheet.<\/li>\n<\/ul>\n\n\n\n<p>To return to the <strong>JetEngine<\/strong> and <strong>Default Data<\/strong> option list, hit the <strong>\u201cAll Functions\u201d<\/strong> link at the top of the pop-up.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"filter-data\">Filter data<\/h3>\n\n\n\n<p>The <strong>&#8220;Filter data&#8221;<\/strong> button is located on the right of the <strong>&#8220;Dynamic data&#8221;<\/strong> button and allows access to the filters&#8217; functionality. Filters allow you to change any dynamic data.&nbsp;<\/p>\n\n\n\n<p>In the <strong>HTML <\/strong>sheet, you can combine several filters for one element. They will be added after the \u201c|\u201d symbol at the end of the element, for example:&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{{ post.date|jet_engine_callback(args={cb:'jet_engine_date'})|time_ago() }}<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"845\" height=\"334\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/filter-data-button.webp\" alt=\"filter data button\" class=\"wp-image-42438\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/filter-data-button.webp 845w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/filter-data-button-300x119.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/filter-data-button-768x304.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/filter-data-button-600x237.webp 600w\" sizes=\"(max-width: 845px) 100vw, 845px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"jetengine-callback\">JetEngine Callback<\/h4>\n\n\n\n<p>This filter helps you to display different data types, for example, date and time, links and URLs, checkbox values, numbers, etc. In the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/dynamic-field-widget-overview\/#filter-field-output-overview\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Filter Field Output Overview<\/strong><\/a>, you can find a description of every callback.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"328\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-callback.webp\" alt=\"jetengine callback\" class=\"wp-image-42432\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-callback.webp 842w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-callback-300x117.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-callback-768x299.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-callback-600x234.webp 600w\" sizes=\"(max-width: 842px) 100vw, 842px\" \/><\/div>\n\n\n\n<p>The needed callback can be picked from the <strong>Callback function <\/strong>drop-down menu, and the <strong>\u201cInsert\u201d<\/strong> button adds it to the <strong>HTML <\/strong>sheet.<\/p>\n\n\n\n<p>To return to the filter list, hit the <strong>\u201cAll Filters\u201d <\/strong>link.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"691\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/filter-data-by-jetengine-callbacks.webp\" alt=\"filter data by jetengine callbacks\" class=\"wp-image-42436\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/filter-data-by-jetengine-callbacks.webp 842w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/filter-data-by-jetengine-callbacks-300x246.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/filter-data-by-jetengine-callbacks-768x630.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/filter-data-by-jetengine-callbacks-600x492.webp 600w\" sizes=\"(max-width: 842px) 100vw, 842px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"resize-image\">Resize Image<\/h4>\n\n\n\n<p>This filter allows you to resize the image width and height. It works only with image URLs, not IDs.<\/p>\n\n\n\n<p>It has such settings:<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"509\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/resize-image.webp\" alt=\"resize image\" class=\"wp-image-42412\" style=\"aspect-ratio:1.656188605108055;width:840px;height:auto\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/resize-image.webp 843w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/resize-image-300x181.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/resize-image-768x464.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/resize-image-600x362.webp 600w\" sizes=\"(max-width: 843px) 100vw, 843px\" \/><\/div>\n\n\n\n<ul>\n<li><strong>Image width<\/strong> and <strong>Image height<\/strong>. Enter the desired image width and height in pixels;<\/li>\n\n\n\n<li><strong>Crop starting position<\/strong>. Set the initial point from which the cropping process begins. You can select \u201cDefault,\u201d \u201cCenter,\u201d \u201cTop,\u201d \u201cBottom,\u201d \u201cLeft,\u201d and \u201cRight.\u201d<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"841\" height=\"513\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/crop-starting-position.webp\" alt=\"crop starting position\" class=\"wp-image-42448\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/crop-starting-position.webp 841w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/crop-starting-position-300x183.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/crop-starting-position-768x468.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/crop-starting-position-600x366.webp 600w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"trim-text-by-words\">Trim text by words<\/h4>\n\n\n\n<p>Trims text to a certain <strong>Number of words<\/strong>. This option can be helpful for the Excerpt of the post. In the <strong>More string <\/strong>field, you can enter the text (e.g., \u201cRead more\u2026\u201d) that will appear if the text needs to be trimmed.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"844\" height=\"341\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/trim-text-by-words.webp\" alt=\"trim text by words\" class=\"wp-image-42406\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/trim-text-by-words.webp 844w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/trim-text-by-words-300x121.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/trim-text-by-words-768x310.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/trim-text-by-words-600x242.webp 600w\" sizes=\"(max-width: 844px) 100vw, 844px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"trim-text-by-chars\">Trim text by chars<\/h4>\n\n\n\n<p>Trims text to a certain <strong>Number of characters<\/strong>. In the <strong>More string <\/strong>field, you can enter the text (e.g., \u201cRead more\u2026\u201d) that will appear if the text needs to be trimmed.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"338\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/trim-text-by-characters.webp\" alt=\"trim text by characters\" class=\"wp-image-42408\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/trim-text-by-characters.webp 842w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/trim-text-by-characters-300x120.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/trim-text-by-characters-768x308.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/trim-text-by-characters-600x241.webp 600w\" sizes=\"(max-width: 842px) 100vw, 842px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"array-to-list\">Array to list<\/h4>\n\n\n\n<p>This option can be applied to a meta field that contains a list of values (e.g., checkbox).<\/p>\n\n\n\n<ul>\n<li><strong>First delimiter<\/strong>. Enter a symbol (e.g., comma) that will be applied to all array items except the last one;<\/li>\n\n\n\n<li><strong>Second delimiter<\/strong>. Enter a symbol that will be applied before the last item in the list.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"341\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/array-to-list.webp\" alt=\"array to list\" class=\"wp-image-42451\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/array-to-list.webp 843w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/array-to-list-300x121.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/array-to-list-768x311.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/array-to-list-600x243.webp 600w\" sizes=\"(max-width: 843px) 100vw, 843px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"time-ago\">Time Ago<\/h4>\n\n\n\n<p>This filter shows a date in the \u201ctimeago\u201d format, which is a way of displaying dates and times in a human-readable format. You can use it to express how long ago an event or timestamp occurred or how long it will take to happen.<\/p>\n\n\n\n<p>It has such options:<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"477\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/time-ago.webp\" alt=\"time ago\" class=\"wp-image-42409\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/time-ago.webp 843w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/time-ago-300x170.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/time-ago-768x435.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/time-ago-150x85.webp 150w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/time-ago-600x340.webp 600w\" sizes=\"(max-width: 843px) 100vw, 843px\" \/><\/div>\n\n\n\n<ul>\n<li><strong>Date to calculate difference to<\/strong>. Enter the date string in the \u201cstrtotime()-readable\u201d format. For example, it can be &#8220;2023-11-01 15:30:00,&#8221; where the date is represented in the \u201cYYYY-MM-DD\u201d format and the time is in the \u201cHH:MM:SS\u201d format;<\/li>\n\n\n\n<li><strong>Format of the past dates<\/strong>. Here, you can define in which way past days will be displayed. The default format is \u201c%s ago,\u201d where \u201c%s\u201d will be replaced with actual value;<\/li>\n\n\n\n<li><strong>Format of the future dates<\/strong>. Define in which way future days will be displayed. The default is \u201c%s from now,\u201d where \u201c%s\u201d will be replaced with actual value.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"conditional-tags\">Conditional Tags<\/h3>\n\n\n\n<p>The last button is <strong>\u201cConditional Tags<\/strong>.<strong>\u201d <\/strong>It allows you to use conditional logic in Twig that is available with such a construction:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{% if statement_to_check %}\n&lt;!-- Paste your HTML here --&gt;\n{% endif %} }}\n<\/code><\/pre>\n\n\n\n<p>To learn more about the conditional logic, proceed to the <a href=\"https:\/\/twig.symfony.com\/doc\/2.x\/tags\/if.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"><strong>Twig documentation<\/strong><\/a>.<\/p>\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">If you have the <strong>Dynamic Visibility<\/strong> module of <em>JetEngine<\/em> disabled, you can insert only the empty tag with the <srong>Conditional Tags<\/strong> button. To use the <em>JetEngine<\/em> enhanced conditions, enable the <strong>Dynamic Visibility<\/strong> toggle in the <strong><em>WordPress Dashboard &gt; JetEngine &gt; JetEngine<\/strong><\/em> tab.<\/p><\/div><\/div>\n\n\n\n<p>Conditional Tags&#8217; working process is similar to the <em>JetEngine <\/em><a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/dynamic-visibility-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Dynamic Visibility<\/strong><\/a> feature: it shows elements if they meet the conditions.<\/p>\n\n\n\n<p>In the Timber\/Twig editor, you can use different types of conditional tags.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"841\" height=\"339\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/conditional-tags.webp\" alt=\"conditional tags\" class=\"wp-image-42449\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/conditional-tags.webp 841w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/conditional-tags-300x121.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/conditional-tags-768x310.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/conditional-tags-600x242.webp 600w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"general\">General<\/h4>\n\n\n\n<p><strong>General<\/strong> conditions include such tags:<\/p>\n\n\n\n<ul>\n<li><strong>Query Has Items<\/strong> and <strong>Query Has Not Items<\/strong>. If chosen, they turn on the <strong>Query<\/strong> field to check the drop-down menu to select a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/query-builder-overview\/\"><strong>custom query<\/strong><\/a> with or without the necessary items accordingly;<\/li>\n\n\n\n<li><strong>Equal<\/strong>,<strong> Not Equal<\/strong>,<strong> Greater than<\/strong>,<strong> Greater or Equal<\/strong>,<strong> Less than<\/strong>,<strong> <\/strong>and<strong> Less or Equal<\/strong>. If chosen, the element will appear or not according to the condition and value to compare;<\/li>\n\n\n\n<li><strong>In the list<\/strong> and <strong>Not in the list<\/strong>. Conditions for the <strong>Checkbox<\/strong>, <strong>Select<\/strong>, and <strong>Radio<\/strong> meta fields. The element\u2019s visibility depends on whether a user chooses from the list the value you type in the <strong>Value <\/strong>text area;<\/li>\n\n\n\n<li><strong>Exists<\/strong> and <strong>Doesn\u2019t exist<\/strong>. The element\u2019s appearance on the page depends on the presence or absence of data in a chosen meta field;<\/li>\n\n\n\n<li><strong>Contains<\/strong> and <strong>Doesn\u2019t contain<\/strong>. The condition for the element\u2019s visibility is based on the presence or absence of data you type in the <strong>Value <\/strong>text area;&nbsp;<\/li>\n\n\n\n<li><strong>Between<\/strong> and <strong>Not Between <\/strong>conditions allow displaying elements with values between or not between two values accordingly;<\/li>\n\n\n\n<li><strong>Regexp <\/strong>and<strong> Not Regexp<\/strong> conditions display or do not display elements if the element matches or does not match the regular expression value accordingly;<\/li>\n\n\n\n<li><strong>Is mobile device<\/strong> condition allows displaying elements on mobile devices only.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"570\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/general-conditional-tags.webp\" alt=\"general conditional tags\" class=\"wp-image-42437\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/general-conditional-tags.webp 637w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/general-conditional-tags-300x268.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/general-conditional-tags-600x537.webp 600w\" sizes=\"(max-width: 637px) 100vw, 637px\" \/><\/div>\n\n\n\n<p>Also, conditions can have such options:<\/p>\n\n\n\n<ul>\n<li><strong>Field<\/strong>. Allows typing a meta field name to compare values against. Also, macros can be selected by pressing the \u201c<strong>Dynamic Tags<\/strong>\u201d button;<\/li>\n\n\n\n<li><strong>Value<\/strong>. Allows setting values or values lists (numbers, letters, words, even phrases) to compare data. Here, also macros can be used;<\/li>\n\n\n\n<li><strong>Context<\/strong>. This drop-down menu has two options: \u201cDefault\u201d and \u201cCurrent List object\u201d to get value from a current post by default or the current listing item object;<\/li>\n\n\n\n<li><strong>Data type<\/strong>. Has such options: \u201cChars\u201d (alphabetical comparison) \u2013 letters are compared according to the alphabetical order. In it, every letter has its sequence number (\u201cb\u201d has priority over \u201ca,\u201d for example); \u201cNumeric\u201d \u2013 numbers are compared according to their value; \u201cDatetime\u201d \u2013 date or time are compared according to their position in the timeline.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"418\" height=\"740\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/equal-condition-set.png\" alt=\"equal condition set\" class=\"wp-image-47242\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/equal-condition-set.png 418w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/equal-condition-set-169x300.png 169w\" sizes=\"(max-width: 418px) 100vw, 418px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"jetengine-specific\">JetEngine specific<\/h4>\n\n\n\n<p><strong>JetEngine specific <\/strong>conditions include such options:<\/p>\n\n\n\n<ul>\n<li><strong>Is Profile Page<\/strong>. The element will be displayed on the user\u2019s profile subpage only if it can be chosen from the <strong>Profile Page <\/strong>selector;<\/li>\n\n\n\n<li><strong>Switcher enabled<\/strong> and <strong>Switcher disabled<\/strong>. These two conditions are created especially for the <strong>Switcher<\/strong> meta fields. The element\u2019s appearance will depend on whether the switcher in the mentioned <strong>Field <\/strong>is enabled or disabled;<\/li>\n\n\n\n<li><strong>Value is checked <\/strong>and<strong> Value is not checked<\/strong>. The conditions for the <em>JetEngine<\/em> <strong>Checkbox<\/strong> meta field. You can specify the <strong>Field <\/strong>and the <strong>Value<\/strong>, and when the user ticks that value \u2013 the element will be shown.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"647\" height=\"561\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-specific-conditions.webp\" alt=\"jetengine specific conditions\" class=\"wp-image-42430\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-specific-conditions.webp 647w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-specific-conditions-300x260.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/jetengine-specific-conditions-600x520.webp 600w\" sizes=\"(max-width: 647px) 100vw, 647px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"user\">User<\/h4>\n\n\n\n<p><strong>User <\/strong>block of conditions includes the following options:<\/p>\n\n\n\n<ul>\n<li><strong>User meta is<\/strong>.<strong> <\/strong>The element will be visible if the user has a specified value in the meta field. You can <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-apply-meta-boxes-to-users\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>add custom meta fields to users via Meta Box<\/strong><\/a>;<\/li>\n\n\n\n<li><strong>User has required field<\/strong>. Enter user fields that need to be checked into the <strong>Fields List <\/strong>textarea. It can be default WordPress fields (e.g., first_name, last_name, description, user_nicename) or <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-apply-meta-boxes-to-users\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>custom meta fields added via Meta Box<\/strong><\/a>. The condition will be met if the user has the provided data in all the specified fields;<\/li>\n\n\n\n<li><strong>User meta is equal to post meta (put post meta key into value)<\/strong>. Shows the element if user and post metadata have the same values. Enter the post meta key into the <strong>Value <\/strong>field to compare its value with the user metadata;<\/li>\n<\/ul>\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">The \u201cUser meta is,\u201d \u201cUser has required field,\u201d and \u201cUser meta is equal to post meta (put post meta key into value)\u201d conditions are available after enabling the <strong>Custom visibility conditions<\/strong> toggle in the <strong><em>WordPress Dashboard &gt; JetEngine &gt; JetEngine &gt; Modules &gt; External Modules<\/em><\/strong> tab.<\/p><\/div><\/div>\n\n\n\n<ul>\n<li><strong>User Can Add Post.<\/strong> You can restrict some users from publishing certain post types in the <strong>Profile Builder<\/strong> maintenance window. This condition means that the element will be visible to users who have permission to publish this type of post. To learn more, proceed to the tutorial to learn <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/limiting-user-access-with-profile-builder\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>how to limit user&#8217;s access with Profile Builder<\/strong><\/a>;<\/li>\n\n\n\n<li><strong>User logged in<\/strong>. The element is shown only to authorized users;<\/li>\n\n\n\n<li><strong>User not logged in<\/strong>. The element is shown only to non-authorized users;<\/li>\n\n\n\n<li><strong>User role is<\/strong>. The element is shown only to the users who have a specific role assigned to them. To learn how to assign the role to a user, look at this <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-new-user-in-wordpress-dashboard-user-roles\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>WordPress tutorial<\/strong><\/a>;<\/li>\n\n\n\n<li><strong>User role is not<\/strong>. The element is shown only to the users whose roles don\u2019t match the ones you mention;<\/li>\n\n\n\n<li><strong>User ID is<\/strong>. Only the users whose ID numbers you type into the <strong>User IDs<\/strong> field will see the element;<\/li>\n\n\n\n<li><strong>User ID is not<\/strong>. The users whose IDs you will type into the <strong>User IDs<\/strong> field won\u2019t see the element.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"660\" height=\"562\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/user-conditional-tags.webp\" alt=\"user conditional tags\" class=\"wp-image-42405\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/user-conditional-tags.webp 660w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/user-conditional-tags-300x255.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/user-conditional-tags-600x511.webp 600w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"posts\">Posts<\/h4>\n\n\n\n<p><strong>Posts <\/strong>conditions include such options:<\/p>\n\n\n\n<ul>\n<li><strong>Post Status Is<\/strong>. The element will be visible only on pages with the specified status;<\/li>\n\n\n\n<li><strong>Is post by current user<\/strong>. The element will be visible only on pages built by the current user. It can be used on the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/creating-user-account-page\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>user Account page<\/strong><\/a>;<\/li>\n<\/ul>\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">The \u201cPost Status Is\u201d and \u201cIs post by current user\u201d conditions will be available only if you install and activate the <em>Custom Visibility Conditions<\/em> add-on. Learn more from the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-devtools-custom-visibility-conditions-add-on\/\">Custom Visibility Conditions Add-on<\/a> tutorial.<\/p><\/div><\/div>\n\n\n\n<ul>\n<li><strong>Is post by queried user<\/strong>. The element will appear only on pages built by the queried user. It can be used only on the Profile Builder pages and in the listing for users;<\/li>\n\n\n\n<li><strong>Post ID is<\/strong>. With this condition chosen, the element will appear only on the pages you mention in the <strong>Value <\/strong>area. You have to type in the page ID there (the number only). Every post or page has its unique ID number. To find it, open the post or page and look at its URL. The number after \u201cpost=\u201d will be the post ID. If there\u2019s more than one post, separate the values with commas (no additional spaces needed);<\/li>\n\n\n\n<li><strong>Post ID is not<\/strong>. In this case, the element will appear on all the pages except for the ones you mention in the <strong>Value <\/strong>area;<\/li>\n\n\n\n<li><strong>Single Post Type is<\/strong>. For this condition, you need to type the post type slug in the <strong>Value <\/strong>text area. The element will be shown only on the posts referred to that post type. To find the necessary slug, go to <strong><em>Dashboard <\/em><\/strong><em>&gt; <\/em><strong><em>JetEngine <\/em><\/strong><em>&gt; <\/em><strong><em>Post Types<\/em><\/strong> and look at the <strong>Post Type Slug<\/strong> column;<\/li>\n\n\n\n<li><strong>Single Post Type is not<\/strong>. The element will be shown for all posts except posts of the post type with a slug you will type in the <strong>Value <\/strong>text area;<\/li>\n\n\n\n<li><strong>Post Type Archive is<\/strong>. Shows element only on the post type archive with a slug you enter in the <strong>Value <\/strong>text area;<\/li>\n\n\n\n<li><strong>Post Type <\/strong><strong>Archive <\/strong><strong>is not<\/strong>. The element is visible for all post type archives except the one with a slug entered in the <strong>Value <\/strong>text area;<\/li>\n\n\n\n<li><strong>Taxonomy <\/strong><strong>Archive <\/strong><strong>is<\/strong>. Shows element only on the taxonomy archive, with a slug you enter in the <strong>Value <\/strong>text area;<\/li>\n\n\n\n<li><strong>Taxonomy <\/strong><strong>Archive <\/strong><strong>is not<\/strong>. The element will be shown for all taxonomy archives except the one with a slug entered&nbsp; in the <strong>Value <\/strong>text area;<\/li>\n\n\n\n<li><strong>Is Search Results<\/strong>. Shows the element only on the Search Results Archive page. To learn how to create a custom archive for the search results, proceed to this <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/how-to-create-an-archive-template-to-display-the-search-results\/\"><strong>tutorial<\/strong><\/a>;<\/li>\n\n\n\n<li><strong>Is Not Search Results<\/strong>. Shows the element everywhere except the Search Results Archive page;<\/li>\n\n\n\n<li><strong>Is Current Post Author<\/strong>. Displays the element only if the current user is the post author;<\/li>\n\n\n\n<li><strong>Is Not Current Post Author<\/strong>. Displays the element if the current user is not the author of the post;<\/li>\n\n\n\n<li><strong>Post Has Terms<\/strong>. Shows the element if a post has assigned terms;<\/li>\n\n\n\n<li><strong>Post Hasn\u2019t Terms<\/strong>. Shows the element if a post doesn\u2019t have assigned terms;<\/li>\n\n\n\n<li><strong>Is Parent Post<\/strong>, <strong>Is Not Parent Post<\/strong>, <strong>Is Child Post of<\/strong>, and <strong>Is Not Child Post of<\/strong>. To use such conditions, the <strong><em>WordPress Dashboard &gt; JetEngine &gt; Post Types &gt; Hierarchical <\/em><\/strong>toggle should be enabled for the needed post type. Then, you can click the <strong>\u201cQuick Edit\u201d <\/strong>button on a needed post and assign a <strong>Parent <\/strong>post to it. According to the post role in the <strong>Hierarchical <\/strong>system, you can display different elements.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"607\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/post-conditional-tags.webp\" alt=\"post conditional tags\" class=\"wp-image-42417\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/post-conditional-tags.webp 719w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/post-conditional-tags-300x253.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/post-conditional-tags-600x507.webp 600w\" sizes=\"(max-width: 719px) 100vw, 719px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"dateamptime\">Date&amp;Time<\/h4>\n\n\n\n<p><strong>Date&amp;Time<\/strong> section has the following options:<\/p>\n\n\n\n<ul>\n<li><strong>Time Period<\/strong>. The element will be visible only during specified time periods. Enter the preferred time into the <strong>Time From <\/strong>and <strong>Time To <\/strong>fields in the 24-hour format (For example, 23:00);<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"608\" height=\"581\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/time-period-condition.webp\" alt=\"time period condition\" class=\"wp-image-42407\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/time-period-condition.webp 608w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/time-period-condition-300x287.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/time-period-condition-600x573.webp 600w\" sizes=\"(max-width: 608px) 100vw, 608px\" \/><\/div>\n\n\n\n<ul>\n<li><strong>Days of week<\/strong>. The element will be visible only on specified days of the week. Set the desired weekdays in the <strong>Days of Week <\/strong>selector.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"562\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/days-of-week-condition.webp\" alt=\"days of week condition\" class=\"wp-image-42444\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/days-of-week-condition.webp 680w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/days-of-week-condition-300x248.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/days-of-week-condition-600x496.webp 600w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"listings\">Listings<\/h4>\n\n\n\n<p><strong>Listings <\/strong>section has the following conditions:<\/p>\n\n\n\n<ul>\n<li><strong>Is even item<\/strong>. Shows the element if the <strong>Listing Item<\/strong> position in the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a><strong> <\/strong>widget or block is an even number (second, fourth, etc.);<\/li>\n\n\n\n<li><strong>Is odd item<\/strong>. Shows the element if the <strong>Listing Item<\/strong> position in the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a><strong> <\/strong>widget or block is an odd number (first, third, etc.);<\/li>\n\n\n\n<li><strong>Is N item<\/strong>. Shows the element if the <strong>Listing Item <\/strong>position is N in a row. For example, if you set the <strong>Number <\/strong>to \u201c3,\u201d the element will appear if the <strong>Listing Item<\/strong> is third in a row. If you enable the <strong>Each N Number <\/strong>toggle, the element will be displayed for every third item.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"638\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-conditional-tags.webp\" alt=\"listing conditional tags\" class=\"wp-image-42431\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-conditional-tags.webp 683w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-conditional-tags-300x280.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/listing-conditional-tags-600x560.webp 600w\" sizes=\"(max-width: 683px) 100vw, 683px\" \/><\/div>\n<\/div><\/div>\n\n\n\n<p>That\u2019s all for the Listing Template with Timber\/Twig view available with the <em>JetEngine<\/em> plugin for your WordPress website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn about the Listing template settings in the Timber\/Twig view and what JetEngine functionalities are compatible with it.<\/p>\n","protected":false},"author":8,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[388],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Timber\/Twig Listing View Overview \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn more about the Listing template settings in the Timber\/Twig view. Create a Listing layout with HTML and CSS via the Twig Template Engine, which is available with the JetEngine and Timber WordPress plugins.\" \/>\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\/timber-twig-listing-view-overview\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Timber\/Twig Listing View Overview \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn more about the Listing template settings in the Timber\/Twig view. Create a Listing layout with HTML and CSS via the Twig Template Engine, which is available with the JetEngine and Timber WordPress plugins.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-11T14:44:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/high-performant-timber-twig-view.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=\"31 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\/timber-twig-listing-view-overview\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/\",\"name\":\"Timber\/Twig Listing View Overview \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2023-11-13T12:58:18+00:00\",\"dateModified\":\"2025-03-11T14:44:56+00:00\",\"description\":\"Learn more about the Listing template settings in the Timber\/Twig view. Create a Listing layout with HTML and CSS via the Twig Template Engine, which is available with the JetEngine and Timber WordPress plugins.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/#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\":\"Timber\/Twig Listing View Overview\"}]},{\"@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":"Timber\/Twig Listing View Overview \u2014 JetEngine | Crocoblock","description":"Learn more about the Listing template settings in the Timber\/Twig view. Create a Listing layout with HTML and CSS via the Twig Template Engine, which is available with the JetEngine and Timber WordPress plugins.","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\/timber-twig-listing-view-overview\/","og_locale":"en_US","og_type":"article","og_title":"Timber\/Twig Listing View Overview \u2014 JetEngine | Crocoblock","og_description":"Learn more about the Listing template settings in the Timber\/Twig view. Create a Listing layout with HTML and CSS via the Twig Template Engine, which is available with the JetEngine and Timber WordPress plugins.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/","og_site_name":"Help Center","article_modified_time":"2025-03-11T14:44:56+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/11\/high-performant-timber-twig-view.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"31 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/","name":"Timber\/Twig Listing View Overview \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2023-11-13T12:58:18+00:00","dateModified":"2025-03-11T14:44:56+00:00","description":"Learn more about the Listing template settings in the Timber\/Twig view. Create a Listing layout with HTML and CSS via the Twig Template Engine, which is available with the JetEngine and Timber WordPress plugins.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/timber-twig-listing-view-overview\/#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":"Timber\/Twig Listing View Overview"}]},{"@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\/42403"}],"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=42403"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=42403"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=42403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}