{"id":46309,"date":"2024-12-09T18:19:02","date_gmt":"2024-12-09T18:19:02","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=tips-and-tricks&#038;p=46309"},"modified":"2024-12-17T11:52:52","modified_gmt":"2024-12-17T11:52:52","slug":"changing-listing-items-and-html-tag-wrappers","status":"publish","type":"tips-and-tricks","link":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/","title":{"rendered":"Changing Listing Items and Their HTML Tag Wrappers"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"add-the-code-snippet\"><strong>Add the Code Snippe<\/strong><strong>t<\/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>Navigate to the <strong><em>WordPress Dashboard &gt; Snippets &gt; Add New<\/em><\/strong> page and add the snippet\u2019s name (here, the \u201cJetEngine. Register new settings for Jet_Engine_Render_Base instance\u201d text). Then, insert the following code into the <strong>Code<\/strong> block.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class JEC_Change_Tags {\n\t\n\tpublic function __construct() {\n\t\tadd_filter( 'jet-engine\/listing\/render\/jet-listing-grid\/settings', array( $this, 'apply_settings' ) );\n\t\tadd_filter( 'jet-engine\/listing\/grid\/nav-widget-settings', array( $this, 'nav_settings' ), 10, 2 );\n\t\tadd_filter( 'jet-engine\/listing\/render\/default-settings', array( $this, 'default_settings' ) );\n\t}\n\t\n\t\/\/set 'is-ul-listing' setting to 1 if tags need to be changed to ul \/ li\n\t\/\/change tags\n\tpublic function apply_settings( $settings ) {\n\t\t$settings&#91;'is-ul-listing'] = $this-&gt;is_ul_listing( $settings );\n\t\t\t\n\t\tif ( ! empty( $settings&#91;'is-ul-listing'] ) ) {\n\t\t\t$settings&#91;'list_items_wrapper_tag'] = 'ul';\n\t\t\t$settings&#91;'list_item_tag'] = 'li';\n\t\t}\n\n\t\treturn $settings;\n\t}\n\t\n\t\/\/set default value for compatibility with JetSmartFilters\n\tpublic function default_settings( $settings ) {\n\t\t$settings&#91;'is-ul-listing'] = '';\n\t\treturn $settings;\n\t}\n\t\n\t\/\/save 'is-ul-listing' to nav settings for compatibility with Load More\n\tpublic function nav_settings( $widget_settings, $settings ) {\n\t\t$widget_settings&#91;'is-ul-listing'] = $this-&gt;is_ul_listing( $settings );\n\t\treturn $widget_settings;\n\t}\n\t\n\t\/\/check if 'is-ul-listing' setting should be set for block \/ widget \/ element \n\t\/\/\n\t\/\/for Elementor and Block Editor - widget \/ block must have 'listing-ul' class\n\t\/\/for Bricks Builder - element must have a 'data-listing-ul' attribute\n\tpublic function is_ul_listing( $settings ) {\n\t\tif ( ! empty( $settings&#91;'is-ul-listing'] ) ) {\n\t\t\treturn 1;\n\t\t}\n\t\t\n\t\t$class = '';\n\t\t\n\t\tif ( ! empty( $settings&#91;'_css_classes'] ) ) {\n\t\t\t$class = $settings&#91;'_css_classes'];\n\t\t} elseif ( ! empty( $settings&#91;'className'] ) ) {\n\t\t\t$class = $settings&#91;'className'];\n\t\t} elseif( ! empty( $settings&#91;'_attributes'] ) &amp;&amp; is_array( $settings&#91;'_attributes'] ) ) {\n\t\t\tforeach ( $settings&#91;'_attributes'] as $attr ) {\n\t\t\t\tif ( ! empty( $attr&#91;'name'] ) &amp;&amp; $attr&#91;'name'] === 'data-listing-ul' ) {\n\t\t\t\t\t$class = 'listing-ul';\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn false !== strpos( $class, 'listing-ul' ) ? 1 : '';\n\t}\n}\n\n\/\/create an instance of a class\nnew JEC_Change_Tags();<\/code><\/pre>\n\n\n\n<p>After that, tick the \u201c<strong>Run snippet everywhere<\/strong>\u201d selector below the <strong>Code<\/strong> block and press the \u201c<strong>Save Changes<\/strong>\u201d button.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-added.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-added-1024x640.webp\" alt=\"the code snipped added\" class=\"wp-image-46314\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-added-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-added-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-added-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-added-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-added-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-added.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>In the next step, move to the <strong><em>WordPress Dashboard &gt; Snippets &gt; All Snippets<\/em><\/strong> page and activate the newly-created snippet.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-activated.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-activated-1024x640.webp\" alt=\"the code snipped activated\" class=\"wp-image-46315\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-activated-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-activated-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-activated-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-activated-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-activated-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-activated.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"gutenberg\"><strong>Change the Listing Grid Settings in the Block Editor<\/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>Create a page or open a previously created one and insert the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/listing-grid-block-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a><strong> <\/strong>block. Add the needed <strong>LISTING<\/strong> and configure other settings. Next, scroll the <strong>Block<\/strong> settings down and unroll the <strong>Advanced <\/strong>tab. Here, add the \u201clisting-ul\u201d class into the <strong>ADDITIONAL CSS CLASS(ES)<\/strong> field.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-additional-css-classes-field.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-additional-css-classes-field-1024x640.webp\" alt=\"the listing-ul class added to the additional css class(es) field\" class=\"wp-image-46312\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-additional-css-classes-field-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-additional-css-classes-field-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-additional-css-classes-field-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-additional-css-classes-field-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-additional-css-classes-field-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-additional-css-classes-field.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Once added, click the \u201c<strong>Publish\/Save<\/strong>\u201d button.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"change-the-listing-grid-settings-in-the-elementor\"><strong>Change the Listing Grid Settings in the Elementor<\/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>As in the <a href=\"#gutenberg\">Block Editor<\/a>, \u0441reate a page or open a previously created one and insert the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-grid-widget-overview\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a><strong> <\/strong>widget.&nbsp;<\/p>\n\n\n\n<p>Configure the needed settings. Then, unroll the <strong>Advanced<\/strong> tab and add the \u201clisting-ul\u201d class into the <strong>CSS Classes<\/strong> field.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-css-classes-field.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-css-classes-field-1024x640.webp\" alt=\"the listing-ul class added to the css classes field\" class=\"wp-image-46311\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-css-classes-field-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-css-classes-field-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-css-classes-field-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-css-classes-field-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-css-classes-field-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-ul-class-added-to-the-css-classes-field.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Finally, click the \u201c<strong>Publish\/Save<\/strong>\u201d button.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"change-the-listing-grid-settings-in-the-bricks-theme\"><strong>Change the Listing Grid Settings in the Bricks Theme<\/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>As in the <a href=\"#gutenberg\">Block Editor<\/a>, \u0441reate a page or open a previously created one and insert the <strong>Listing Grid <\/strong>element.&nbsp;<\/p>\n\n\n\n<p>Adjust the needed settings. Then, unroll the <strong>STYLE<\/strong> tab and move to the <strong>ATTRIBUTES <\/strong>tab. Here, unfold this tab, add the \u201cdata-listing-ul\u201d value into the <strong>Name<\/strong> field, and type a random value into the <strong>Value<\/strong> field (in this case, \u201c1\u201d text).<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-data-listing-ul-class-added-to-the-attributes.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-data-listing-ul-class-added-to-the-attributes-1024x640.webp\" alt=\"the data-listing-ul class added to the attributes\" class=\"wp-image-46310\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-data-listing-ul-class-added-to-the-attributes-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-data-listing-ul-class-added-to-the-attributes-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-data-listing-ul-class-added-to-the-attributes-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-data-listing-ul-class-added-to-the-attributes-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-data-listing-ul-class-added-to-the-attributes-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-data-listing-ul-class-added-to-the-attributes.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Finally, save the page.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"site-code-changes\"><strong>Site Code Changes<\/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>After the actions mentioned above, the <strong>Listing Item<\/strong>\u2019s code will be changed from the following one:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;div class=\"jet-listing-grid__items\"&gt;\n&lt;div class=\"jet-listing-grid__item\"&gt;&lt;\/div&gt;\n&lt;div class=\"jet-listing-grid__item\"&gt;&lt;\/div&gt;\n&lt;\/div&gt;<\/code><\/pre>\n\n\n\n<p>To the code presented below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;ul class=\"jet-listing-grid__items\"&gt;\n&lt;li class=\"jet-listing-grid__item\"&gt;&lt;\/li&gt;\n&lt;li class=\"jet-listing-grid__item\"&gt;&lt;\/li&gt;\n&lt;\/ul&gt;<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-items-code-modified-1024x640.webp\" alt=\"the listing items code modified\" class=\"wp-image-46313\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-items-code-modified-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-items-code-modified-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-items-code-modified-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-items-code-modified-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-items-code-modified-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-listing-items-code-modified.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/div>\n<\/div><\/div>\n\n\n\n<p>That\u2019s it. Now you know how to add HTML tag wrappers to the listing and its compounds using the specific code snippet to provide better HTML semantics, SEO, and code flexibility using the <em>JetEngine<\/em> plugin for WordPress.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add the Code Snippet Navigate to the WordPress Dashboard &gt; Snippets &gt; Add New page and add the snippet\u2019s name (here, the \u201cJetEngine. Register new settings for Jet_Engine_Render_Base instance\u201d text). Then, insert the following code into the Code block. After that, tick the \u201cRun snippet everywhere\u201d selector below the Code block and press the \u201cSave [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"template":"","format":"standard","tipstricks-tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add HTML Tag Wrappers to Listing Items \u3161 JetEngine l Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to add HTML tag wrappers to listings using a specific code snippet to provide better HTML semantics, SEO, and code flexibility using the JetEngine plugin for WordPress.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add HTML Tag Wrappers to Listing Items \u3161 JetEngine l Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to add HTML tag wrappers to listings using a specific code snippet to provide better HTML semantics, SEO, and code flexibility using the JetEngine plugin for WordPress.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-17T11:52:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-added-1024x640.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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/\",\"name\":\"How to Add HTML Tag Wrappers to Listing Items \u3161 JetEngine l Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2024-12-09T18:19:02+00:00\",\"dateModified\":\"2024-12-17T11:52:52+00:00\",\"description\":\"Learn how to add HTML tag wrappers to listings using a specific code snippet to provide better HTML semantics, SEO, and code flexibility using the JetEngine plugin for WordPress.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tips & tricks\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Changing Listing Items and Their HTML Tag Wrappers\"}]},{\"@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 HTML Tag Wrappers to Listing Items \u3161 JetEngine l Crocoblock","description":"Learn how to add HTML tag wrappers to listings using a specific code snippet to provide better HTML semantics, SEO, and code flexibility using the JetEngine plugin for WordPress.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/","og_locale":"en_US","og_type":"article","og_title":"How to Add HTML Tag Wrappers to Listing Items \u3161 JetEngine l Crocoblock","og_description":"Learn how to add HTML tag wrappers to listings using a specific code snippet to provide better HTML semantics, SEO, and code flexibility using the JetEngine plugin for WordPress.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/","og_site_name":"Help Center","article_modified_time":"2024-12-17T11:52:52+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/12\/the-code-snipped-added-1024x640.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/","url":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/","name":"How to Add HTML Tag Wrappers to Listing Items \u3161 JetEngine l Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2024-12-09T18:19:02+00:00","dateModified":"2024-12-17T11:52:52+00:00","description":"Learn how to add HTML tag wrappers to listings using a specific code snippet to provide better HTML semantics, SEO, and code flexibility using the JetEngine plugin for WordPress.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/changing-listing-items-and-html-tag-wrappers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Tips & tricks","item":"https:\/\/crocoblock.com\/knowledge-base\/tips-and-tricks\/"},{"@type":"ListItem","position":3,"name":"Changing Listing Items and Their HTML Tag Wrappers"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tips-and-tricks\/46309"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tips-and-tricks"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/tips-and-tricks"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/12"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=46309"}],"wp:term":[{"taxonomy":"tipstricks-tags","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/tipstricks-tags?post=46309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}