Template

This block type renders a template.

Parameters

  • template - the name of a template to render.

Example

The code below renders the Listings page template.

echo ( new HivePress\Blocks\Template(
	[
		'template' => 'listings_view_page',
	]
) )->render();

Last updated