Developer Docs
Website
Community
GitHub
Search
⌃
K
Links
Getting started
Tutorials
Framework
Blocks
Callback
Container
Content
Form
Menu
Modal
Part
Section
Template
Toggle
Components
Configurations
Controllers
Emails
Fields
Forms
Menus
Models
Templates
Resources
Code snippets
Code reference
Hook reference
REST API
Powered By
GitBook
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
();
Previous
Section
Next
Toggle
Last modified
1yr ago