Remove Additional CSS Tab from Customizer
add_action( 'customize_register', function( $wp_customize ) { $wp_customize->remove_section( 'custom_css' ); }, 15 );
add_action( 'customize_register', function( $wp_customize ) { $wp_customize->remove_section( 'custom_css' ); }, 15 );
By default the WPBakery page builder adds an animation to their tabs and tours which is a bit old school and can sometimes cause an unwanted "jumpy" affect. Luckily you can easily disable the animation with a little CSS. The…
Total has a built-in site loading and page animation function however, if you just want a very simple pre-loader that shows up while your site is loading it's very easy to do with a little PHP and CSS.
By default stretch rows are hidden when the site is first loaded to prevent the "bounce" affect when the row becomes stretched (it uses javascript to stretch so it can't run until the site is rendered). If you want though…
This is very similar to the snippet example here here but it allows you to have a custom output function rather then creating a template part. It also allows you to override any of the default "blocks" with your custom…
// Example 1: Disable for all overlays add_filter( 'wpex_overlay_mobile_support', '__return_false' ); // Example 2: Disable on homepage only add_filter( 'wpex_overlay_mobile_support', function( $support, $style ) { if ( is_front_page() ) { $support = false; } return $support; }, 10, 2 );…
add_filter( 'woocommerce_single_product_carousel_options', function( $options ) { $options['directionNav'] = true; return $options; } );
Because of how WordPress menus work the only way to add a login/logout is either using a plugin or custom code that hooks into the menu output. Here is a snippet showing how you can add your own custom login/logout…
If you are working on a site where you are using the overlay header for a specific design on multiple pages rather than using the Visual Composer to add the content under it (if it can be gathered dynamically) you…