{"id":25941,"date":"2022-01-18T13:31:25","date_gmt":"2022-01-18T13:31:25","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=25941"},"modified":"2025-06-23T06:52:56","modified_gmt":"2025-06-23T06:52:56","slug":"jetengine-how-to-create-relationships-between-posts","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/","title":{"rendered":"How to Create Relations Between Posts"},"content":{"rendered":"\n<p><em>JetEngine <\/em>allows setting different types of relations. For now, the refactored <strong>Relations<\/strong> feature enables you to build relations between <strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/custom-post-type-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">Custom Post Types<\/a><\/strong>, <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-related-custom-content-type-items\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Custom Content Types<\/strong><\/a>, users, and taxonomies.&nbsp;<\/p>\n\n\n\n<p>In this article, we revise the <strong>Custom Post Types <\/strong>relations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"building-relationship\"><strong>Build a Relationship<\/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>Head to the <strong><em>WordPress Dashboard &gt; JetEngine &gt; Relations<\/em><\/strong> directory and push the \u201c<strong>Add New<\/strong>\u201d button to build a new relationship.<\/p>\n\n\n\n<p>If you have already created some relations, you can also click on the \u201c<strong>Edit<\/strong>\u201d button next to the existing item to open the relations editor.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/relations-list.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/relations-list-1024x640.webp\" alt=\"relations list\" class=\"wp-image-43994\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/relations-list-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/relations-list-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/relations-list-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/relations-list-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/relations-list-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/relations-list.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"general-settings\">General Settings<\/h3>\n\n\n\n<p>Set a <strong>Name <\/strong>for the relation and select the created post types as the <strong>Parent object <\/strong>and <strong>Child object <\/strong>in the corresponding drop-down menus.<\/p>\n\n\n\n<p>Proceed to the <strong>Relation type <\/strong>selector and <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-choose-the-needed-post-relations-and-set-them-with-jetengine-plugin\/\" target=\"_blank\" rel=\"noreferrer noopener\">pick the suitable option<\/a>.&nbsp;<\/p>\n\n\n\n<p>Once the type is defined, you can set the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-choose-the-needed-post-relations-and-set-them-with-jetengine-plugin\/#title4\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Parent relation<\/strong><\/a><strong> <\/strong>if desired.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/relation-general-settings.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/relation-general-settings-1024x640.png\" alt=\"relation general settings\" class=\"wp-image-47228\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/relation-general-settings-1024x640.png 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/relation-general-settings-300x188.png 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/relation-general-settings-768x480.png 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/relation-general-settings-1536x960.png 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/relation-general-settings-600x375.png 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/relation-general-settings.png 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>The following toggles allow registering more controls for the related items:<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/register-and-delete-toggles.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/register-and-delete-toggles-1024x640.png\" alt=\"register and delete toggles\" class=\"wp-image-47229\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/register-and-delete-toggles-1024x640.png 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/register-and-delete-toggles-300x188.png 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/register-and-delete-toggles-768x480.png 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/register-and-delete-toggles-1536x960.png 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/register-and-delete-toggles-600x375.png 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/register-and-delete-toggles.png 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<ul>\n<li><strong>Register controls for parent object <\/strong>\u2014 a toggle that adds controls of the related children to the parent object;<\/li>\n\n\n\n<li><strong>Require at least one child <\/strong>\u2014 a toggle that, when activated, requires at least one child to be connected to the parent. If not, the error message will be shown in the post while trying to save. It also adds additional label control in the <strong>Labels <\/strong>section that allows changing the error message label;<\/li>\n\n\n\n<li><strong>Allow to create new children from parent <\/strong>\u2014 a toggle that allows creating new children from the parent object page;<\/li>\n\n\n\n<li><strong>Allow to delete children from parent <\/strong>\u2014 a toggle that allows deleting children from the parent object page;<\/li>\n\n\n\n<li><strong>Register controls for child object <\/strong>\u2014 a toggle that adds controls of the related parent to the child object;<\/li>\n\n\n\n<li><strong>Require at least one parent <\/strong>\u2014 a toggle that, when activated, requires at least one parent to be connected to the child. If not, the error message will be shown in the post while trying to save. It also adds additional label control in the <strong>Labels <\/strong>section that allows changing the error message label;<\/li>\n\n\n\n<li><strong>Allow to create new parents from children <\/strong>\u2014 a toggle that allows creating new parents from the child object page;<\/li>\n\n\n\n<li><strong>Allow to delete parents from children <\/strong>\u2014 a toggle that allows deleting parents from the child object page;<\/li>\n\n\n\n<li><strong>Register separate DB table <\/strong>\u2014 a toggle that creates a new database only for the current relation. If not enabled, the data will be stored in the global relations database.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"labels\">Labels<\/h3>\n\n\n\n<p>If desired, set the custom labels for the controls or leave them empty to see the default labels.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/labels-section.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/labels-section-1024x640.png\" alt=\"labels section\" class=\"wp-image-47230\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/labels-section-1024x640.png 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/labels-section-300x188.png 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/labels-section-768x480.png 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/labels-section-1536x960.png 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/labels-section-600x375.png 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/labels-section.png 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"meta-fields\">Meta Fields<\/h3>\n\n\n\n<p>This tab allows setting <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\">meta fields<\/a> for the relationship as a unit. Push the \u201c<strong>New Field<\/strong>\u201d button to add a new meta field.<\/p>\n\n\n\n<p>Adjust the needed <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-relations-dynamic-output\/\" target=\"_blank\" rel=\"noreferrer noopener\">meta fields<\/a>. The following <strong>Field types <\/strong>are available: \u201cText,\u201d \u201cDate,\u201d \u201cTime,\u201d \u201cDatetime,\u201d \u201cTextarea,\u201d \u201cCheckbox,\u201d \u201cMedia,\u201d \u201cRadio,\u201d \u201cSelect,\u201d and \u201cNumber.\u201d<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/meta-field-settings.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/meta-field-settings-1024x640.png\" alt=\"meta field settings\" class=\"wp-image-47231\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/meta-field-settings-1024x640.png 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/meta-field-settings-300x188.png 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/meta-field-settings-768x480.png 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/meta-field-settings-1536x960.png 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/meta-field-settings-600x375.png 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/meta-field-settings.png 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<ul>\n<li><strong>Label <\/strong>\u2014 a label that will be displayed next to the meta field;<\/li>\n\n\n\n<li><strong>Name\/ID <\/strong>\u2014 a value stored in the database. Mind that this field should include only lowercase Latin letters with no spaces. Use \u201c-\u201d and \u201c_\u201d symbols to separate words;<\/li>\n\n\n\n<li><strong>Field type <\/strong>\u2014 a meta field type that will be displayed when the field in the post is being edited;<\/li>\n\n\n\n<li><strong>Description <\/strong>\u2014 a meta field description that can be used if you want to show additional information about the field next to it;<\/li>\n\n\n\n<li><strong>Is required <\/strong>\u2014 a toggle that, if enabled, makes the field obligatory for completing.<\/li>\n<\/ul>\n\n\n\n<p>After making all the changes, push the \u201c<strong>Add Relation<\/strong>\u201d button.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"parent-post-type-editor\">Parent Post Type 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>The editor will appear in the <strong>Custom Post Type<\/strong> posts, both in the parent and child post types.<\/p>\n\n\n\n<p>Let\u2019s check the parent post type. Return to the WordPress Dashboard and head to the custom post type you have set as a <strong>Parent object<\/strong>.<\/p>\n\n\n\n<p>Click on the \u201c<strong>Edit<\/strong>\u201d button next to any post to which you want to add related children.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-posts.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-posts-1024x640.webp\" alt=\"parent posts\" class=\"wp-image-44000\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-posts-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-posts-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-posts-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-posts-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-posts-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-posts.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>After opening the parent object post type, head to the <strong>Children <\/strong>\u2026 tab. Here, you can add, edit, and delete all the needed posts as related child items. You can read more about the controls in the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-related-items-editing-overview\/#columns-for-editing\" target=\"_blank\" rel=\"noreferrer noopener\">Related Items Editing<\/a> article.<\/p>\n\n\n\n<p>Once the connections are made, press the \u201c<strong>Update<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-post-related-items.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-post-related-items-1024x640.webp\" alt=\"parent post related items\" class=\"wp-image-44001\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-post-related-items-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-post-related-items-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-post-related-items-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-post-related-items-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-post-related-items-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/parent-post-related-items.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Repeat the previous steps for all the child posts you want to relate.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"child-post-type-editor\">Child Post Type 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>If you want to work with the child object, return to the WordPress Dashboard and proceed to the post type you have set as a <strong>Child object<\/strong>.&nbsp;<\/p>\n\n\n\n<p>To add related parent posts to an item, click the \u201cEdit\u201d button next to it.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-posts.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-posts-1024x640.webp\" alt=\"child posts\" class=\"wp-image-44002\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-posts-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-posts-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-posts-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-posts-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-posts-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-posts.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Go to the <strong>Parent \u2026 <\/strong>tab. Here, you can <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/jetengine-related-items-editing-overview\/#children-post-controls\" target=\"_blank\" rel=\"noreferrer noopener\">set and delete relations<\/a> with the parent object posts.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Remember to update the post to save the result. This way, you can relate any children posts you need to parent post type items.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-post-related-items.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-post-related-items-1024x640.webp\" alt=\"child post related items\" class=\"wp-image-44003\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-post-related-items-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-post-related-items-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-post-related-items-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-post-related-items-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-post-related-items-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/child-post-related-items.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"use-case\">Use Case<\/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>Let\u2019s assume you already have related posts connected and want to display the child objects on the parent <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetthemecore\/creating-custom-post-type-archive-template-with-jetengine-listing-grid\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Single Page<\/strong><\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create-a-query\">Create a query<\/h3>\n\n\n\n<p>To do so, we first need to build a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/query-builder-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">custom query<\/a>. Proceed to <strong><em>WordPress Dashboard &gt; JetEngine &gt; Query Builder<\/em><\/strong>.<\/p>\n\n\n\n<p>Click the \u201c<strong>Add New<\/strong>\u201d button.<\/p>\n\n\n\n<p>In the query editor page, complete the <strong>Name <\/strong>field and select the \u201c<a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/query-builder-posts-query-type\/\" target=\"_blank\" rel=\"noreferrer noopener\">Posts Query<\/a>\u201d <strong>Query Type<\/strong>.<\/p>\n\n\n\n<p>In the <strong>General <\/strong>tab of the <strong>Posts Query <\/strong>section, select the <strong>Post Type<\/strong> that was previously set as a child.<\/p>\n\n\n\n<p>Set the <strong>Post Status <\/strong>to \u201cPublished (Publish).\u201d<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/new-query-general-settings.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/new-query-general-settings-1024x640.png\" alt=\"new query general settings\" class=\"wp-image-47232\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/new-query-general-settings-1024x640.png 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/new-query-general-settings-300x188.png 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/new-query-general-settings-768x480.png 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/new-query-general-settings-1536x960.png 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/new-query-general-settings-600x375.png 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/new-query-general-settings.png 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Open the <strong>Post &amp; Page <\/strong>tab. Here, push the \u201c<strong>coin stack<\/strong>\u201d button to open the list of available macros.<\/p>\n\n\n\n<p>Find the \u201cRelated items\u201d option and click on it to open the additional customization settings.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-1024x640.png\" alt=\"related items macro\" class=\"wp-image-47233\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-1024x640.png 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-300x188.png 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-768x480.png 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-1536x960.png 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-600x375.png 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro.png 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>In the <strong>From Relation <\/strong>field, pick the relation that will be used as a source; in the <strong>From Object (what to show) <\/strong>field, select the \u201cChild Object\u201d option; and in the <strong>Initial Object ID From (get initial ID here) <\/strong>field, pick the \u201cCurrent Object ID\u201d option.<\/p>\n\n\n\n<p>Press the \u201c<strong>Apply<\/strong>\u201d button.<\/p>\n\n\n\n<p>Once the query is adjusted, press the \u201c<strong>Add Query<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-settings.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-settings-1024x640.png\" alt=\"related items macro settings\" class=\"wp-image-47234\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-settings-1024x640.png 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-settings-300x188.png 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-settings-768x480.png 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-settings-1536x960.png 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-settings-600x375.png 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-items-macro-settings.png 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"build-a-listing\">Build a listing<\/h3>\n\n\n\n<p>If you haven\u2019t created a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-template-in-elementor-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing<\/strong><\/a><strong> <\/strong>for the child object, you can do it in the <strong><em>WordPress Dashboard &gt; JetEngine &gt; Listings <\/em><\/strong>directory.<\/p>\n\n\n\n<p>Click the \u201c<strong>Add New<\/strong>\u201d button. In the opened pop-up, complete the pre-customization fields. In our case, we select the &#8220;Posts&#8221; <strong>Listing source<\/strong>, &#8220;Tour&#8221; option (our child post type) in the <strong>From post type<\/strong> field, complete the <strong>Listing item name <\/strong>with the &#8220;Listing Tour&#8221; value, and set the <strong>Listing view <\/strong>to &#8220;Elementor.&#8221;<\/p>\n\n\n\n<p>Press the \u201c<strong>Create Listing Item<\/strong>\u201d button to proceed to the editor.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/setup-listing-item-pop-up.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/setup-listing-item-pop-up-1024x640.webp\" alt=\"setup listing item pop-up\" class=\"wp-image-44007\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/setup-listing-item-pop-up-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/setup-listing-item-pop-up-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/setup-listing-item-pop-up-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/setup-listing-item-pop-up-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/setup-listing-item-pop-up-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/setup-listing-item-pop-up.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Depending on the option picked earlier in the <strong>Listing view <\/strong>field, the corresponding editor will be opened. In this tutorial, it\u2019s Elementor.<\/p>\n\n\n\n<p>Add the needed <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/dynamic-widgets-and-blocks\/\" target=\"_blank\" rel=\"noreferrer noopener\">dynamic widgets\/blocks\/elements<\/a> to display content. <\/p>\n\n\n\n<p>For instance, we place a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-dynamic-image-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Dynamic Image<\/strong><\/a><strong> <\/strong>widget with the &#8220;Post thumbnail&#8221; selected as a <strong>Source<\/strong>. <\/p>\n\n\n\n<p>Then, we add the tour title with the <strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-dynamic-link-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">Dynamic Link<\/a> <\/strong>widget and other meta fields&#8217; values with the <strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/dynamic-field-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">Dynamic Field<\/a> <\/strong>widgets (price, type of vehicle, duration, and type of tour).<\/p>\n\n\n\n<p>Once done, press the \u201c<strong><strong>Publish<\/strong><\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/child-listing-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"641\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/child-listing-in-elementor-1024x641.webp\" alt=\"related items macro settings\" class=\"wp-image-47235\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/child-listing-in-elementor-1024x641.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/child-listing-in-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/child-listing-in-elementor-768x481.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/child-listing-in-elementor-1536x962.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/child-listing-in-elementor-600x376.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/child-listing-in-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"adjust-a-parent-single-template\">Adjust a parent single template<\/h3>\n\n\n\n<p>Now, it\u2019s time to create a <strong>Single Template <\/strong>for the parent object. We will use the <a href=\"https:\/\/crocoblock.com\/plugins\/jetthemecore\/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>JetThemeCore<\/em><\/a> plugin to create a template.<\/p>\n\n\n\n<p>Head to <strong><em>WordPress Dashboard &gt; Crocoblock &gt; Theme Builder <\/em><\/strong>and push the \u201c<strong>Create new page template<\/strong>\u201d button.&nbsp;<\/p>\n\n\n\n<p>At first, the conditions pop-up will open. Press the \u201c<strong>Add Condition<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-page-template-pop-up.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-page-template-pop-up-1024x640.webp\" alt=\"create page template pop-up\" class=\"wp-image-44009\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-page-template-pop-up-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-page-template-pop-up-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-page-template-pop-up-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-page-template-pop-up-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-page-template-pop-up-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-page-template-pop-up.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Set the needed conditions: \u201cInclude,\u201d \u201cSingular,\u201d and pick the parent post type.<\/p>\n\n\n\n<p>Once done, press the \u201c<strong>Create<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/conditions-set.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/conditions-set-1024x640.webp\" alt=\"conditions set\" class=\"wp-image-44010\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/conditions-set-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/conditions-set-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/conditions-set-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/conditions-set-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/conditions-set-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/conditions-set.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>You can set the header and footer of your desire and proceed to the body editing.<\/p>\n\n\n\n<p>Then, create a new template by clicking the \u201c<strong>Create template<\/strong>\u201d button or select a new one with the help of the \u201c<strong>Add from library<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-template-and-add-from-library-buttons.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-template-and-add-from-library-buttons-1024x640.webp\" alt=\"create template and add from library buttons\" class=\"wp-image-44011\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-template-and-add-from-library-buttons-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-template-and-add-from-library-buttons-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-template-and-add-from-library-buttons-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-template-and-add-from-library-buttons-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-template-and-add-from-library-buttons-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-template-and-add-from-library-buttons.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>For instance, we create a new template. Once we click the \u201c<strong>Create template<\/strong>\u201d button, the pre-editing pop-up opens.<\/p>\n\n\n\n<p>Here, select the preferred option in the <strong>Template content type <\/strong>drop-down list and complete the <strong>Template name <\/strong>field.<\/p>\n\n\n\n<p>Once done, press the \u201c<strong>Create<\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-a-template-pop-up.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-a-template-pop-up-1024x640.webp\" alt=\"create a template pop-up\" class=\"wp-image-44012\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-a-template-pop-up-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-a-template-pop-up-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-a-template-pop-up-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-a-template-pop-up-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-a-template-pop-up-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/create-a-template-pop-up.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>First, add some information about the current parent.&nbsp;<\/p>\n\n\n\n<p>In our case, it is a country. So, we put the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/dynamic-field-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Dynamic Field<\/strong><\/a><strong> <\/strong>widget and set its <strong>Object Field <\/strong>to \u201cTitle.\u201d<\/p>\n\n\n\n<p>Next, we also add <em><a href=\"https:\/\/crocoblock.com\/plugins\/jetsmartfilters\/\" target=\"_blank\" rel=\"noreferrer noopener\">JetSmartFilters<\/a> <\/em>filters to the page so users can later filter the listing. <span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">Among the added widgets are the&nbsp;<strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-the-select-filter-to-filter-publications-or-products\/\" target=\"_blank\" rel=\"noreferrer noopener\">Select Filter<\/a><\/strong>,&nbsp;<strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-active-tags-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">Active Tags<\/a><\/strong>, <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-remove-filters-widget\/\"><strong>Re<\/strong><\/a><\/span><strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-remove-filters-widget\/\" target=\"_blank\" rel=\"noreferrer noopener\">move Filters<\/a><\/strong>,<strong> <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-range-filter\/\" target=\"_blank\" rel=\"noreferrer noopener\">Range Filter<\/a><\/strong>, and <strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-the-check-range-filter-to-filter-the-publications-or-products\/\" target=\"_blank\" rel=\"noreferrer noopener\">Check Range Filter<\/a><\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/dynamic-field-on-a-single-page.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"641\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/dynamic-field-on-a-single-page-1024x641.webp\" alt=\"dynamic field on a single page\" class=\"wp-image-47236\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/dynamic-field-on-a-single-page-1024x641.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/dynamic-field-on-a-single-page-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/dynamic-field-on-a-single-page-768x481.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/dynamic-field-on-a-single-page-1536x962.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/dynamic-field-on-a-single-page-600x376.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/dynamic-field-on-a-single-page.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Then, add the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid <\/strong>widget<\/a>\/<a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/listing-grid-block-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">block<\/a> to the page.<\/p>\n\n\n\n<p>Pick the just-built <strong>Listing <\/strong>in the <strong>General <\/strong>tab. <\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/listing-grid-general-settings-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"641\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/listing-grid-general-settings-in-elementor-1024x641.webp\" alt=\"listing grid general settings in elementor\" class=\"wp-image-47237\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/listing-grid-general-settings-in-elementor-1024x641.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/listing-grid-general-settings-in-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/listing-grid-general-settings-in-elementor-768x481.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/listing-grid-general-settings-in-elementor-1536x962.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/listing-grid-general-settings-in-elementor-600x376.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/listing-grid-general-settings-in-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Open the <strong>Custom Query <\/strong>tab and activate the <strong>Use Custom Query <\/strong>toggle.<\/p>\n\n\n\n<p>Pick the needed option in the <strong>Custom Query <\/strong>\u2014 the query you built earlier.<\/p>\n\n\n\n<p>That\u2019s it for the basic customizations; adjust other settings if needed and press the \u201c<strong><strong>Publish<\/strong><\/strong>\u201d button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/custom-query-settings-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"641\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/custom-query-settings-in-elementor-1024x641.webp\" alt=\"custom query settings in elementor\" class=\"wp-image-47238\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/custom-query-settings-in-elementor-1024x641.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/custom-query-settings-in-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/custom-query-settings-in-elementor-768x481.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/custom-query-settings-in-elementor-1536x962.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/custom-query-settings-in-elementor-600x376.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/custom-query-settings-in-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"check-the-result\">Check the result<\/h3>\n\n\n\n<p>Head to the front end and open one of the parent posts. The listing with the related child items will be displayed on a single page.<\/p>\n\n\n\n<p>For instance, we opened &#8220;Spain&#8221;. As you can observe, the Spanish tours are now shown.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-tour-on-the-country-single-page.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"641\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-tour-on-the-country-single-page-1024x641.webp\" alt=\"related tour on the country single page\" class=\"wp-image-47239\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-tour-on-the-country-single-page-1024x641.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-tour-on-the-country-single-page-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-tour-on-the-country-single-page-768x481.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-tour-on-the-country-single-page-1536x962.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-tour-on-the-country-single-page-600x376.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/03\/related-tour-on-the-country-single-page.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<p>This is it; the WordPress <strong>Custom Post Type<\/strong> relation is set. Now you know how to relate items with one another using the <em>JetEngine <\/em>plugin.<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Discover how to build relationships between Custom Post Types using the JetEngine plugin on your WordPress website.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[399],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create Relationships Between Posts \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Implement JetEngine&#039;s Relations feature on your WordPress website to connect posts from different post types. Build relations between Custom Post Types, Custom Content Types, users, and taxonomies.\" \/>\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-create-relationships-between-posts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create Relationships Between Posts \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Implement JetEngine&#039;s Relations feature on your WordPress website to connect posts from different post types. Build relations between Custom Post Types, Custom Content Types, users, and taxonomies.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-23T06:52:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/relations-list-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=\"11 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-create-relationships-between-posts\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/\",\"name\":\"How to Create Relationships Between Posts \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-01-18T13:31:25+00:00\",\"dateModified\":\"2025-06-23T06:52:56+00:00\",\"description\":\"Implement JetEngine's Relations feature on your WordPress website to connect posts from different post types. Build relations between Custom Post Types, Custom Content Types, users, and taxonomies.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/#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 Create Relations Between Posts\"}]},{\"@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 Create Relationships Between Posts \u2014 JetEngine | Crocoblock","description":"Implement JetEngine's Relations feature on your WordPress website to connect posts from different post types. Build relations between Custom Post Types, Custom Content Types, users, and taxonomies.","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-create-relationships-between-posts\/","og_locale":"en_US","og_type":"article","og_title":"How to Create Relationships Between Posts \u2014 JetEngine | Crocoblock","og_description":"Implement JetEngine's Relations feature on your WordPress website to connect posts from different post types. Build relations between Custom Post Types, Custom Content Types, users, and taxonomies.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/","og_site_name":"Help Center","article_modified_time":"2025-06-23T06:52:56+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/04\/relations-list-1024x640.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/","name":"How to Create Relationships Between Posts \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-01-18T13:31:25+00:00","dateModified":"2025-06-23T06:52:56+00:00","description":"Implement JetEngine's Relations feature on your WordPress website to connect posts from different post types. Build relations between Custom Post Types, Custom Content Types, users, and taxonomies.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/jetengine-how-to-create-relationships-between-posts\/#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 Create Relations Between Posts"}]},{"@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\/25941"}],"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=25941"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=25941"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=25941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}