{"id":34070,"date":"2023-02-01T08:14:41","date_gmt":"2023-02-01T08:14:41","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=34070"},"modified":"2023-07-28T09:04:25","modified_gmt":"2023-07-28T09:04:25","slug":"meta-boxes-visibility-overview","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/","title":{"rendered":"Meta Boxes Visibility Conditions Overview"},"content":{"rendered":"\n<p><a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-group-the-custom-meta-fields-for-the-certain-post-types-into-meta-boxes\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Meta Box<\/strong><\/a> is a container for meta fields in the <strong>WordPress <\/strong><em>JetEngine <\/em>plugin. It stores the meta fields you put inside and helps to organize and maintain them. You can add meta boxes to any post type, user, or taxonomy. But what if you need to show meta boxes to the administrator or hide them from the editor? Do you need to apply meta boxes to some exact posts or terms? That is doable with the <strong>Visibility Conditions <\/strong>feature.<\/p>\n\n\n\n<p>Proceed to <strong><em>JetEngine &gt; Meta Boxes. <\/em><\/strong>After the <strong>General Settings <\/strong>tab, you can see the <strong>Visibility Conditions<\/strong>.<strong> <\/strong>That\u2019s how they look if you select \u201cPost\u201d in the <strong>Meta Box for <\/strong>field.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/visibility-conditions-tab-2.png\" alt=\"meta box for post visibility conditions\">\n\n\n\n<p>You can add any Post Types to the <strong>Enable For Post Types <\/strong>field for the meta box visibility condition. This field is required because it should specify where conditions will be applied. After you hit the <strong>\u201c+ New condition\u201d <\/strong>button, you will see the <strong>Add new condition<\/strong> field.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/add-new-condition-2.png\" alt=\"add new condition jetengine meta box\">\n\n\n\n<p>Such options are available in this drop-down menu:<\/p>\n\n\n\n<ul>\n<li><strong>Include Posts<\/strong>. Here you can enter the names of posts that you want the meta box to be shown for;<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/include-posts-2.png\" alt=\"include posts condition\">\n\n\n\n<ul>\n<li><strong>Exclude Posts. <\/strong>Here you can enter the names of posts that you want to exclude the meta box from;<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/exclude-posts-2.png\" alt=\"exclude posts condition\">\n\n\n\n<ul>\n<li><strong>Included for User Roles. <\/strong>Here you can specify the user roles that such meta box will be shown for;<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/included-for-user-roles-2.png\" alt=\"included for user roles condition\">\n\n\n\n<ul>\n<li><strong>Exclude for User Roles. <\/strong>Specify here the user roles that will be unable to see meta boxes;<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/exlude-for-user-roles-2.png\" alt=\"exclude for user roles condition\">\n\n\n\n<ul>\n<li><strong>Post Has Taxonomy Terms. <\/strong>Choose the taxonomy name in the drop-down menu and enter the names of the terms in the nearby field.<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/post-has-taxonomy-terms-2.png\" alt=\"post has taxonomy terms condition\">\n\n\n\n<p>After you set one condition, you can add another one. Feel free to add as many conditions as you need.<\/p>\n\n\n\n<p>We have quite familiar settings for the <strong>Taxonomy <\/strong>meta boxes. The difference is that you should select the taxonomies for visibility conditions. And there are only two available conditions \u2014 <strong>Included for User Roles<\/strong> and <strong>Exclude for User Roles<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/meta-box-for-taxonomy-2.png\" alt=\"meta box for taxonomy jetengine\">\n\n\n\n<p>If you create a meta box for <strong>User, <\/strong>a new <strong>Visible at<\/strong> selector with two new options will appear:<\/p>\n\n\n\n<ul>\n<li><strong>Edit User. <\/strong>It adds meta fields to the <strong>Edit User <\/strong>page. Since only administrators can edit users, such fields became visible only to people with such a role;<\/li>\n\n\n\n<li><strong>Edit User &amp; Profile. <\/strong>This option adds meta fields to the <strong>Edit User <\/strong>page and the <strong>Profile Page<\/strong>, which users can edit.<\/li>\n<\/ul>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/meta-box-for-user-2.png\" alt=\"meta box for user jetengine\">\n\n\n\n<p>Meta boxes for User also have the same two conditions: <strong>Included for User Roles<\/strong> and <strong>Exclude for User Roles<\/strong>.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/add-new-condition-to-user-2.png\" alt=\"visibility condition for user meta box\">\n\n\n<div class=\"note-banner d-flex border-bold border-jetthemecore rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z\" fill=\"#F2D23C\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Things to know<\/div><p class=\"m-0\">If you need the same meta box, e.g., for post and user, you should create two meta boxes because there is no way to extend the <strong>Meta Box for<\/strong> option.<\/p><\/div><\/div>\n\n\n\n<p>That\u2019s all. Add as many conditions as you need and organize the meta fields on the WordPress website faster and easier. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>From this tutorial, you will learn how to add Visibility Conditions to Meta Boxes with the WordPress JetEngine plugin.<\/p>\n","protected":false},"author":9,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[400],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Meta Boxes Visibility Conditions Overview \u2014 JetEngine | Crocoblock<\/title>\n<meta name=\"description\" content=\"Find out how to apply Visibility Conditions to Meta Boxes and make some meta fields visible\/invisible for different posts, users, and terms. Use the WordPress JetEngine plugin.\" \/>\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\/meta-boxes-visibility-overview\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Meta Boxes Visibility Conditions Overview \u2014 JetEngine | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Find out how to apply Visibility Conditions to Meta Boxes and make some meta fields visible\/invisible for different posts, users, and terms. Use the WordPress JetEngine plugin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-28T09:04:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/visibility-conditions-tab-2.png\" \/>\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=\"5 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\/meta-boxes-visibility-overview\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/\",\"name\":\"Meta Boxes Visibility Conditions Overview \u2014 JetEngine | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2023-02-01T08:14:41+00:00\",\"dateModified\":\"2023-07-28T09:04:25+00:00\",\"description\":\"Find out how to apply Visibility Conditions to Meta Boxes and make some meta fields visible\/invisible for different posts, users, and terms. Use the WordPress JetEngine plugin.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/#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\":\"Meta Boxes Visibility Conditions Overview\"}]},{\"@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":"Meta Boxes Visibility Conditions Overview \u2014 JetEngine | Crocoblock","description":"Find out how to apply Visibility Conditions to Meta Boxes and make some meta fields visible\/invisible for different posts, users, and terms. Use the WordPress JetEngine plugin.","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\/meta-boxes-visibility-overview\/","og_locale":"en_US","og_type":"article","og_title":"Meta Boxes Visibility Conditions Overview \u2014 JetEngine | Crocoblock","og_description":"Find out how to apply Visibility Conditions to Meta Boxes and make some meta fields visible\/invisible for different posts, users, and terms. Use the WordPress JetEngine plugin.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/","og_site_name":"Help Center","article_modified_time":"2023-07-28T09:04:25+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/01\/visibility-conditions-tab-2.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/","name":"Meta Boxes Visibility Conditions Overview \u2014 JetEngine | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2023-02-01T08:14:41+00:00","dateModified":"2023-07-28T09:04:25+00:00","description":"Find out how to apply Visibility Conditions to Meta Boxes and make some meta fields visible\/invisible for different posts, users, and terms. Use the WordPress JetEngine plugin.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/meta-boxes-visibility-overview\/#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":"Meta Boxes Visibility Conditions Overview"}]},{"@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\/34070"}],"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\/9"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=34070"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=34070"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=34070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}