{"id":1577,"date":"2021-10-26T22:17:33","date_gmt":"2021-10-26T22:17:33","guid":{"rendered":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/?p=1577"},"modified":"2025-09-05T06:42:37","modified_gmt":"2025-09-05T06:42:37","slug":"how-to-set-condition-to-a-layout","status":"publish","type":"post","link":"https:\/\/d-themes.com\/wordpress\/udesign\/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\">\n<li>Please click cog icon button in page layout\u2019s header or mouse hover on condition lists part.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"616\" src=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-1.jpg\" alt=\"edit condition\" class=\"wp-image-12268\" srcset=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-1.jpg 1024w, https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-1-768x462.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list mt-6\">\n<li><\/li>\n\n\n\n<li> Choose your display condition where you want to apply the layout. <code class=\"code-grey\">All Blog Pages<\/code> will apply the layout to blog page, and all post archive pages such as post category pages, post tag pages.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"620\" src=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-2.jpg\" alt=\"edit condition\" class=\"wp-image-12269\" srcset=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-2.jpg 1024w, https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-2-768x465.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list mt-6\">\n<li><\/li>\n\n\n\n<li><\/li>\n\n\n\n<li>You can choose specific category pages if you want apply the layout to them.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"610\" src=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-3.jpg\" alt=\"edit condition\" class=\"wp-image-12270\" srcset=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-3.jpg 1024w, https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-3-768x458.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list mt-6\">\n<li><\/li>\n\n\n\n<li><\/li>\n\n\n\n<li><\/li>\n\n\n\n<li>Finally, please click <code class=\"code-grey\">Save Layouts<\/code> button.<\/li>\n<\/ol>\n\n\n\n<p class=\"mt-10 has-text-color has-background has-link-color wp-elements-8492f084d798c4593235308d9b1608c7 wp-block-paragraph\" style=\"color:#212529;background-color:#efdeff\"><strong>Alternative:<\/strong> If you do right mouse click on layouts, you can see tooltip you can choose. There are 4 options you can choose: Edit conditions, Copy options, Duplicate and Delete. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"616\" src=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-4.jpg\" alt=\"edit condition\" class=\"wp-image-12271\" srcset=\"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-4.jpg 1024w, https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-content\/uploads\/sites\/17\/2021\/10\/edit-condition-4-768x462.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Edit Conditions:<\/strong> It works as you click on cog icon of layout toolbar.<\/li>\n\n\n\n<li><strong>Copy Options:<\/strong> You can copy all options of target layout and paste to another layout in a easy way.<\/li>\n\n\n\n<li><strong>Duplicate:<\/strong> Create another layout with same options and conditions.<\/li>\n\n\n\n<li><strong>Delete:<\/strong> Delete target layout.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Alternative: If you do right mouse click on layouts, you can see tooltip you can choose. There are 4 options you can choose: Edit conditions, Copy options, Duplicate and Delete.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1577","post","type-post","status-publish","format-standard","hentry","category-page-layouts"],"_links":{"self":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts\/1577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/comments?post=1577"}],"version-history":[{"count":2,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts\/1577\/revisions"}],"predecessor-version":[{"id":12275,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/posts\/1577\/revisions\/12275"}],"wp:attachment":[{"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/media?parent=1577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/categories?post=1577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/d-themes.com\/wordpress\/udesign\/documentation\/wp-json\/wp\/v2\/tags?post=1577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}