Unlimited Yearly Save $44
Then renews at $72/yr.
Native Divi 5 Module
Syntax-highlighted code blocks with line numbers and copy.
Ask AI about the Divi Code Snippet module
A live snippet. Try the Copy button. The highlighter runs only on pages that use the module.
add_action( 'wp_enqueue_scripts', function () {
if ( ! is_singular( 'post' ) ) {
return;
}
wp_enqueue_style(
'brand-tweaks',
get_stylesheet_directory_uri() . '/css/brand.css',
array(),
'1.2.0'
);
} );Paste code into a text module and it comes out mangled. The Divi Code Snippet module publishes it the way documentation sites do.
Every option below is included in every Divi Torque Pro plan.
Every plan includes all 103 Divi modules. The Unlimited plan covers every site you build.
5,000+ paying customers · 70,000+ WordPress sites