Skip to content

Manually Enable WPBakery on Post Types For Specific User Roles

Add Tilted Dividers to Menu Style One

.navbar-style-one .dropdown-menu > li > a > span:after { content: ""; height: 24px; width: 1px; background: #ccc; position: absolute; right: 0; top: 50%; margin-top: -12px; transform: skew(-10deg); } .navbar-style-one .dropdown-menu > li:last-child > a > span:after { display: none; }

Read more

Hide portfolio media block on password protected posts

// Hide portfolio media block on password protected posts add_filter( 'totaltheme/portfolio/single_blocks', function( $blocks, $instance ) { // Don't mess with customizer blocks if ( 'customizer' == $instance ) { return $blocks; } // Alter front-end blocks else { // Get…

Read more

Alter Scroll to Top Speed

You can use the following code in your child theme's functions.php file to alter the back to top scroll speed. Simply change the 1000 value to your value of choice (speed in milliseconds).

Read more

Enable WooCommerce Gallery Auto Play

add_filter( 'woocommerce_single_product_carousel_options', function( $options ) { $options['slideshow'] = true; // enable auto slideshow $options['slideshowSpeed'] = 2000; // time in millesecond between slides return $options; }, PHP_INT_MAX );

Read more
Back To Top