Skip to main content

Post Content

Post Content block in the editor

The Post Content block outputs the main content of the current post or page. It is intended for use in single post or page templates (e.g. in Full Site Editing or template parts) so that each post or page automatically shows its own body content in the correct place.

Where to use it

  • Single post template – Renders the post body (the content edited in the block editor for that post).
  • Single page template – Renders the page body for the current page.
  • Custom post type single template – Renders the main content for the current CPT item when the block is used in that CPT’s single template.

The block has no configurable options in the sidebar; it simply outputs the content of the current post in context. Place it where you want the main content to appear in your template.

Dynamic data and templating

When building templates that change per post or page (e.g. Dynamic Data or Global Sections), the Post Content block is the block that displays the actual post/page content. Use it together with other dynamic or static blocks (headers, footers, sidebars, etc.) to build full single-post or single-page layouts.

Block controls available

The Post Content block uses the standard block wrapper and does not expose additional Nectar block controls in the sidebar.