{"id":1577,"date":"2021-10-26T22:17:33","date_gmt":"2021-10-26T22:17:33","guid":{"rendered":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/?p=1577"},"modified":"2021-12-22T13:01:35","modified_gmt":"2021-12-22T13:01:35","slug":"how-to-set-condition-to-a-layout","status":"publish","type":"post","link":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/2021\/10\/26\/how-to-set-condition-to-a-layout\/","title":{"rendered":"How to set condition to a layout?"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>Please click the cog icon button in the page layout\u2019s header.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"917\" height=\"540\" src=\"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-content\/uploads\/sites\/21\/2021\/10\/set-condition-1.jpg\" alt=\"set-condition-1\" class=\"wp-image-3140\" srcset=\"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-content\/uploads\/sites\/21\/2021\/10\/set-condition-1.jpg 917w, https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-content\/uploads\/sites\/21\/2021\/10\/set-condition-1-768x452.jpg 768w\" sizes=\"(max-width: 917px) 100vw, 917px\" \/><figcaption>Set condition 1<\/figcaption><\/figure>\n\n\n\n<ol class=\"mt-6 wp-block-list\"><li><\/li><li> Choose your display condition that decides where you want to apply the layout. <code class=\"code-grey\">All shop pages<\/code> will apply the layout to shop pages.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"936\" height=\"552\" src=\"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-content\/uploads\/sites\/21\/2021\/10\/set-condition-2.jpg\" alt=\"set-condition-2\" class=\"wp-image-3142\" srcset=\"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-content\/uploads\/sites\/21\/2021\/10\/set-condition-2.jpg 936w, https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-content\/uploads\/sites\/21\/2021\/10\/set-condition-2-768x453.jpg 768w\" sizes=\"(max-width: 936px) 100vw, 936px\" \/><figcaption>Set condition 2<\/figcaption><\/figure>\n\n\n\n<ol class=\"mt-6 wp-block-list\"><li><\/li><li><\/li><li>You can choose specific category pages if you want apply the layout to them.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"917\" height=\"531\" src=\"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-content\/uploads\/sites\/21\/2021\/10\/set-condition-3.jpg\" alt=\"set-condition-3\" class=\"wp-image-3144\" srcset=\"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-content\/uploads\/sites\/21\/2021\/10\/set-condition-3.jpg 917w, https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-content\/uploads\/sites\/21\/2021\/10\/set-condition-3-768x445.jpg 768w\" sizes=\"(max-width: 917px) 100vw, 917px\" \/><figcaption>Set Condtion 3<\/figcaption><\/figure>\n\n\n\n<ol class=\"mt-6 wp-block-list\"><li><\/li><li><\/li><li><\/li><li>Finally, please click <code class=\"code-grey\">Save Layouts<\/code> button.<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Please click the cog icon button in the page layout\u2019s header. Choose your display condition that decides where you want to apply the layout. All shop pages will apply the layout to shop pages. You can choose specific category pages if you want apply the layout to them. Finally, please click Save Layouts button.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1577","post","type-post","status-publish","format-standard","hentry","category-layout-builder"],"_links":{"self":[{"href":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-json\/wp\/v2\/posts\/1577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-json\/wp\/v2\/comments?post=1577"}],"version-history":[{"count":2,"href":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-json\/wp\/v2\/posts\/1577\/revisions"}],"predecessor-version":[{"id":3145,"href":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-json\/wp\/v2\/posts\/1577\/revisions\/3145"}],"wp:attachment":[{"href":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-json\/wp\/v2\/media?parent=1577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-json\/wp\/v2\/categories?post=1577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/panda\/documentation\/wp-json\/wp\/v2\/tags?post=1577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}