Template Library
Overview
The Nectarblocks Template Library is your go-to resource for effortlessly creating visually stunning and cohesive web pages on your WordPress site.
The library offers a collection of prebuilt layouts which are meticulously designed and seamlessly integrated with the Global Color Palette and Global Typography of the Nectarblocks. You'll notice that the previews of the templates in the library will always match the global settings you have activated on your site. Making it easier than ever to create a cohesive and professional-looking website.
While the templates come pre-stylized, you have the freedom to customize various elements, including text, images, and additional blocks.
Accessing the Library
To access the template library, click the Template Library button in the top toolbar of the editor.
Header and off canvas layouts
The Navigation and Off-Canvas Menu categories hold layouts for your site header and the panel its menu button opens. Insert them into a Header Navigation or Off Canvas Menu template in the Theme Builder, where the library opens to the matching category. Inserted into a page instead, a header layout becomes part of that page's content and appears below the site's real header.
Ever-growing Collection
Upon purchase, enjoy a complimentary one-year access to additional templates. Following this period, to continue accessing new to the template library, a subscription to Nectarblocks is required.
Disabling The Library
You can hide the template library through the filter nectar.templateLibraryDisabled. Here's an example you can add to your child theme's functions.php file:
function add_nectar_template_library_inline_script() {
$script = "
wp.hooks.addFilter(
'nectar.templateLibraryDisabled',
'child-theme/disable-template-library',
function() {
return true;
}
);
";
wp_add_inline_script( 'wp-hooks', $script );
}
add_action( 'enqueue_block_editor_assets', 'add_nectar_template_library_inline_script' );