Show On A Post Type#
Use show.post_types for whole WordPress post types:
title: Article Bannercategory: Sectionsshow: post_types: post---<section> <h2>Article banner</h2></section>This block appears while editing posts.
Use page for pages, or the slug of a custom post type:
show: post_types: post, page, projectShow On Specific Pages#
Use show.pages for individual pages:
show: pages: contactYou can use page slugs, page IDs, front_page, and posts_page:
show: pages: - contact - 42 - front_pageCombine Rules#
When post_types and pages are both present, either match can show the block:
show: post_types: post pages: contactshow only controls editor availability. Blocks already saved in content can still render on the frontend.