SLB theme integration: free one-liner, paid automatic

Does SLB work with my theme? In the free edition, yes, with any theme whose page template calls slbuild_render_page(). The paid edition renders automatically. Your theme’s own header, footer and styles are untouched.

Free Paid
How pages render Your theme calls one function Through the the_content filter
Theme change needed One line of PHP None
Clean full-width page Your own template Optional SLB Canvas page template
Starter theme Separate download (slb-starter) Installs from SLB settings in one click

Free: the one line

Add this to your theme’s page template where the page content should appear:

<?php if ( function_exists( 'slbuild_render_page' ) ) { slbuild_render_page(); } ?>

A the_content filter renders SLB pages in the theme’s own page template. The optional SLB Canvas page template gives a full-width page with only the theme’s header and footer. The paid edition also offers slb_render_page().

Styles and Tailwind

Starter sections are styled by one precompiled stylesheet bundled with the plugin. It is a normal stylesheet, loaded only on pages that have SLB section data, with no script and no external connection. If your theme already bundles Tailwind, disable the bundled file:

add_filter( 'slbuild_load_tailwind', '__return_false' );

There is no Tailwind JIT in the free edition: sections you write can use any class your theme’s own Tailwind build contains.

Google Fonts

SLB loads Google Fonts only when you choose a font pairing other than “Default” in Theme Settings. No personal data is sent.

Related: SLB documentation · Getting started · Free vs paid

Last updated