Remove Header Style Two Menu Borders
/* Remove Header Style Two Menu Borders */ body .navbar-style-two .dropdown-menu > li, body .navbar-style-two .dropdown-menu{ border: none; }
/* Remove Header Style Two Menu Borders */ body .navbar-style-two .dropdown-menu > li, body .navbar-style-two .dropdown-menu{ border: none; }
// Disable mobile displace for the sidr mobile menu function my_disable_sidr_displace( $array ) { // Set sidrDisplace to false $array['sidrDisplace'] = false; // Return array return $array; } add_filter( 'wpex_localize_array', 'my_disable_sidr_displace', 20 );
function my_breadcrumbs_trail( $trail ) { // Remove cart from trail unset( $trail['cart'] ); // Return trail return $trail; } add_filter( 'wpex_breadcrumbs_trail', 'my_breadcrumbs_trail', 20 );
/** * Tweak the portfolio grid filter arguments. * * @link https://codex.wordpress.org/Function_Reference/get_terms */ add_filter( 'vcex_portfolio_grid_filter_args', function( $args ) { $args['order'] = 'DESC'; return $args; } );
function my_gallery_metabox_post_types( $types ) { // Add to portfolio $types[] = 'portfolio'; // Remove from staff unset( $types['staff' ] ); // Return types return $types; } add_filter( 'wpex_gallery_metabox_post_types', 'my_gallery_metabox_post_types', 99 );
// Add video field to Total metabox for WooCommerce products function add_woo_to_product_settings( $array ) { // Create your own tab - cool! $array['woo_video_tab'] = array( 'title' => __( 'Video', 'wpex' ), // Tab title 'post_type' => array( 'product' ), //…
The Total theme uses the core WordPress esc_url function to sanitize links which by default strips out the skype protocal. You can use this function to allow it in your theme (any theme).
.header-two .navbar-style-two .site-search-toggle { display: block }
body #site-header #site-logo { float: none; } body #mobile-menu { position: relative; right: auto; left: auto; top: auto; margin: 20px 0 0; }
// Disable WordPress SEO by Yoast Page Analysis which seems to cause issues with the Visual Composer function disable_wpseo_use_page_analysis() { return false; } add_filter( 'wpseo_use_page_analysis', 'disable_wpseo_use_page_analysis' );