{"id":126,"date":"2019-04-12T12:39:11","date_gmt":"2019-04-12T12:39:11","guid":{"rendered":"http:\/\/structured-data-for-wp.com\/docs\/?post_type=ht_kb&#038;p=126"},"modified":"2019-04-12T12:39:11","modified_gmt":"2019-04-12T12:39:11","slug":"understanding-placements-as-known-as-conditional-logic","status":"publish","type":"ht_kb","link":"https:\/\/structured-data-for-wp.com\/docs\/article\/understanding-placements-as-known-as-conditional-logic\/","title":{"rendered":"Understanding placements as known as conditional logic"},"content":{"rendered":"<p><strong>This tutorial helps you to set up the placements for schema types <\/strong><strong>so, let\u2019s get into it.<\/strong><\/p>\n<ul>\n<li>In Structured data schema type, first, we request you to click on Add schema type and select schema type like WebPage, Blog posting, Article, etc.<\/li>\n<li>After selecting the schema type, you need to set the <strong>Placement<\/strong> for the schema markup for specific post\/page or all posts where you want to show the schema markup.<\/li>\n<\/ul>\n<p><strong>For eg:<\/strong> If you want to show the Article schema only for Posts then you need to set the placement like &#8220;<strong>Post type\u00a0 &#8212;&gt; Equals to &#8212;&gt; Post<\/strong>&#8221;<\/p>\n<p>Same you can follow this for pages as well &#8220;<strong>Post type\u00a0 &#8212;&gt; Equals to &#8212;&gt; Page<\/strong>&#8221;<\/p>\n<p>If you want to set the Markup only for Single Page\/Post then you need to set like this &#8220;<strong>Post\u00a0 &#8212;&gt; Equals to &#8212;&gt; Post name<\/strong>&#8221; or &#8220;<strong>Page&#8212;&gt; Equals to &#8212;&gt; Page name<\/strong>&#8221;<\/p>\n<p><a href=\"http:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Condition.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-44 aligncenter\" src=\"http:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Condition.png\" alt=\"\" width=\"868\" height=\"539\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Condition.png 868w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Condition-300x186.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Condition-768x477.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Condition-50x31.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Condition-60x37.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Condition-100x62.png 100w\" sizes=\"auto, (max-width: 868px) 100vw, 868px\" \/><\/a><\/p>\n<ul>\n<li>Also, we have excluded feature where you can exclude any Post\/Page for any Schema markup.<\/li>\n<\/ul>\n<p><strong>For eg:<\/strong> &#8220;<strong>Post\u00a0 &#8212;&gt; Not Equal to (Excluded) &#8212;&gt; Post Name<\/strong>&#8221;<\/p>\n<p><a href=\"http:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Exclude.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-129 aligncenter\" src=\"http:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Exclude.png\" alt=\"\" width=\"733\" height=\"502\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Exclude.png 733w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Exclude-300x205.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Exclude-50x34.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Exclude-60x41.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/04\/Exclude-100x68.png 100w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/a><\/p>\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n<p>We hope we\u2019ve clear your doubts in case If you have any feedback or questions, then please share them in the comments section below.<\/p>\n<p><strong>Or you Just contact us\u00a0<a href=\"http:\/\/structured-data-for-wp.com\/contact-us\/\">here<\/a>\u00a0and we are always available for you.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial helps you to set up the placements for schema types so, let\u2019s get into it. In Structured data schema type, first, we request you to click on Add schema type and select schema type like WebPage, Blog posting, Article, etc. After selecting the schema type, you need to&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[3],"ht-kb-tag":[],"class_list":["post-126","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-how-to"],"_links":{"self":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":2,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/126\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/126\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=126"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}