{"id":13984,"date":"2019-08-21T10:19:10","date_gmt":"2019-08-21T10:19:10","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=13984"},"modified":"2023-04-10T13:44:07","modified_gmt":"2023-04-10T13:44:07","slug":"jetengine-how-to-display-media-files-with-dynamic-repeater-widget","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/","title":{"rendered":"How to Display Media Files with the Dynamic Repeater Widget"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"creating-meta-box\"><strong>Creating Meta Box<\/strong><\/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>First of all, we create the <strong>Tour Details<\/strong> meta box, enable it for the <strong>Tour<\/strong> custom post type, and set the needed adjustments in the <strong>General Settings<\/strong> tab in the <strong>JetEngine &gt; Meta Boxes<\/strong> block in the WordPress Dashboard.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/tour-details-meta-box.png\" alt=\"tour details meta box\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"adding-meta-field\"><strong>Adding Meta Field<\/strong><\/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>Now we add necessary meta fields by clicking the <strong>New Meta Field<\/strong> button in the <strong>Meta fields<\/strong> tab below. One of the custom meta fields is called the <strong>Tour<\/strong> program. We specify its <strong>label<\/strong>, <strong>name\/ ID<\/strong>, and select the <strong>Field<\/strong> object type. In the <strong>Field<\/strong> type, we choose the <strong>Repeater<\/strong> option and add the <strong>Image<\/strong> repeater field.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/the-tour-program.png\" alt=\"the tour program\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"enriching-meta-field-with-content\"><strong>Enriching Meta Field with Content<\/strong><\/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>Then, we proceed to edit the <strong>Tour program<\/strong> custom meta field of the posts included in the <strong>Tour<\/strong> custom post type. Click the <strong>Edit<\/strong> button under a certain post, and the settings window will occur right here. In the Tour Details block, we find the Tour program field and add the pdf file with detailed information about the particular tour. Save the changes by clicking the <strong>Update<\/strong> button in the right corner.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/filling-the-tour-program-meta-field.png\" alt=\"filling the tour program meta field\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-listing-with-jetengine\"><strong>Creating Listing with JetEngine<\/strong><\/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 next step is creating the <strong>Tours<\/strong> new listing, which is enriched with relevant information about the tour using <strong>JetEngine<\/strong> dynamic widgets. We add the <strong>Dynamic Image<\/strong> widget for displaying the image, the <strong>Dynamic Link,<\/strong> and the <strong>Dynamic Field<\/strong> for showing the name and price of the tour.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/listing.png\" alt=\"listing\">\n\n\n\n<p>To showcase the tour program, we use the Dynamic Repeater widget. In the Content block of the widget\u2019s settings, we select the <strong>Source &#8220;<\/strong>The tour program&#8221; (the name of the custom meta field) and insert the macros: <strong>&lt;a href=%img|file_url_by_id% target=&#8221;_blank&#8221; rel=&#8221;noopener noreferrer&#8221;&gt;The tour program &lt;\/a&gt; <\/strong>&#8220;, where <strong>img<\/strong> &#8211; the repeater field name and the <strong>tour program<\/strong> &#8211; the text, which will be displayed in the listing.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/dynamic-repeater-widget-1-1.png\" alt=\"dynamic repeater widget\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"setting-listing-grid-widget\"><strong>Setting Listing Grid Widget<\/strong><\/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 last step is to display the listing via the <strong>Listing Grid<\/strong> widget. Open the <strong>Tours<\/strong> page in <strong>Elementor<\/strong> and drop the widget to a certain section. In the Content &gt; General block of the widget\u2019s settings, we select the created listing in the <strong>Listing<\/strong> field and adjust other needed adjustments.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/listing-grid.png\" alt=\"listing grid\">\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"viewing-listing-on-frontend\"><strong>Viewing Listing on Frontend<\/strong><\/h2>\n\n\n\n<p>Save the changes and view the listing on the front end. Click the The tour program field, and the program will be downloaded in a pdf format.<\/p>\n\n\n\n<p>Now you can provide users with downloadable media files with the help of the <strong>JetEngine<\/strong> plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Continue reading this tutorial if you want to learn how to display varied media files using JetEngine Dynamic Repeater widget.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[390],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to add Media Files with Dynamic Repeater Widget \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Using JetEngine Dynamic Repeater widget you can show media files on pages and allow users to download them in a few clicks.\" \/>\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\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add Media Files with Dynamic Repeater Widget \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Using JetEngine Dynamic Repeater widget you can show media files on pages and allow users to download them in a few clicks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-10T13:44:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/tour-details-meta-box.png\" \/>\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=\"3 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\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/\",\"name\":\"How to add Media Files with Dynamic Repeater Widget \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2019-08-21T10:19:10+00:00\",\"dateModified\":\"2023-04-10T13:44:07+00:00\",\"description\":\"Using JetEngine Dynamic Repeater widget you can show media files on pages and allow users to download them in a few clicks.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Display Media Files with the Dynamic Repeater Widget\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to add Media Files with Dynamic Repeater Widget \u2014 JetEngine | Crocoblock","description":"Using JetEngine Dynamic Repeater widget you can show media files on pages and allow users to download them in a few clicks.","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\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/","og_locale":"en_US","og_type":"article","og_title":"How to add Media Files with Dynamic Repeater Widget \u2014 JetEngine | Crocoblock","og_description":"Using JetEngine Dynamic Repeater widget you can show media files on pages and allow users to download them in a few clicks.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/","og_site_name":"Help Center","article_modified_time":"2023-04-10T13:44:07+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/tour-details-meta-box.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/","name":"How to add Media Files with Dynamic Repeater Widget \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2019-08-21T10:19:10+00:00","dateModified":"2023-04-10T13:44:07+00:00","description":"Using JetEngine Dynamic Repeater widget you can show media files on pages and allow users to download them in a few clicks.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-display-media-files-with-dynamic-repeater-widget\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Display Media Files with the Dynamic Repeater Widget"}]},{"@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\/13984"}],"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\/11"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=13984"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=13984"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=13984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}