Hero/Banner
You can aslo reuse this component widget and can be embedded using the widget option in the CMS or via the "the_widget" function with an optional argument "url" which accepts an image URL. If not provided it will default to the featured image as it does in within the templates. Keep in mind that when it is reused within a container it will not be full-bleed.
Accepts array parameter with key "url" for specified image via URL.
Templates
- Home: The homepage.php file (template name "home") can be assigned via CMS and is assigned to the homepage currently. The home widgets "sidebar" (widget container) displays only on this template and this template does not have an H1 within it since the "home" title would be a bit unnecessary to load on the template. If an H1 is desired it can be entered via CMS
- Index/Post: The index.php, archive.php, and single.php files are WordPress's default templates for Posts (ie. blog post listing and landing pages). They cannot be assigned via CMS other than by using the "default" assignment which selects according to the framework logic. These templates contain the "post widgets" sidebar/container.
- Page: The page.php file is the default template for pages created via "page". This also controls the pages where plugins are typically embedded. To get a plugin-only look, use the "minimalist" template. This template contains the "page widgets" sidebar/container.
- Minimalist: This template is a clone of the page template which only differs in its use of the minimalist widget sidebar. Many plugins may create their own templates which cannot be passed widgets since they are not within our theme. The only way to pass these would be through the footer, which is universally shared. Since the minimalist design calls for no widgets, those plugins are fine. If you have a page or post template which is displaying widgets and you wish to remove them or use the minimalist sidebar, just assign that page to the minimalist template.