Change The Theme Heading Border Color
body .theme-heading span.text:after { border-color: #000; }
body .theme-heading span.text:after { border-color: #000; }
/** * Example for changing the page header style. * Available styles: centered, centered-minimal, hidden, background-image * */ add_filter( 'totaltheme/page/header/style', function( $style ) { // Change page header style for portfolio posts if ( is_singular( 'portfolio' ) ) { $style…
The following code snippet can be used to add new social options to your staff post type.
Important: In Total 5.0+ you can find a setting in the Customizer to alter the text.
The following snippet will show you how to add a custom block to your portfolio layout which you can enable in the Customizer and then control the output via a callback or anonymous function, however, did you know you can…
Simply add the following code to your child theme functions.php file or via the popular Code Snippets plugin to completely disable the WPBakery Page Builder front-end editor. Note: If you are adding the code via a plugin like Code Snippets…
This sample snippet can be used to place extra code below your header such as an advertisement. While you could also do this via Theme Panel > Custom Actions, if your advertisement is javascript based it's best to use a…
function wpex_remove_script_version( $src ) { if ( strpos( $src, 'ver=' ) ) { $src = remove_query_arg( 'ver', $src ); } return $src; } add_filter( 'script_loader_src', 'wpex_remove_script_version', 15, 1 ); add_filter( 'style_loader_src', 'wpex_remove_script_version', 15, 1 );
Important: Since Total 4.9.3 there is now a setting in the Customizer to enable the scripts globally so you don't need any custom code!
function add_custom_menu_above_main_content() { ?> <?php } add_action( 'wpex_hook_header_after', 'add_custom_menu_above_main_content' );