Skip to content

Change Mobile Menu Dropdown Arrows to Plus Icon

Change Mobile Menu Dropdown Arrows to Plus Icon

body .wpex-open-submenu span { font-family: "Arial"; font-size: 16px; } body .wpex-open-submenu span::before { content: "\002B" !important; font-family: "Arial" } /* Show minus icon when active */ body .wpex-open-submenu[aria-expanded="true"] span::before { content: "\2212" !important; }

Read more

Add Custom Params to Lightbox Videos

If you want to modify the video embed URLs used in lightboxes in the Total WordPress Theme, you can use the wpex_get_video_embed_url_params filter. This filter allows you to add or change URL query parameters for YouTube and Vimeo embeds. It’s…

Read more

Change Layout for LearnDash Courses

// Alter the layout for the courses post type // Choices: left-sidebar, right-sidebar, full-width or full-screen add_action( 'wpex_post_layout_class', function() { if ( is_singular( 'sfwd-courses') ) { $layout = 'full-width'; } return $layout; }, 40 );

Read more

Remove Staff Meta Settings & Image Gallery

// Remove staff settings metabox add_filter( 'wpex_main_metaboxes_post_types', function( $types ) { unset( $types['staff'] ); return $types; }, 40 ); // Remove staff gallery add_filter( 'wpex_gallery_metabox_post_types', function( $types ) { $types = array_combine( $types, $types ); unset( $types['staff'] ); return $types;…

Read more

Override All Search Forms with Google Search

Below is a snippet showing how you can override all the searchforms in Total (and any WordPress theme that correctly uses the get_search_form() function). Make sure to replace 'YOUR_ENGINE_ID' and also you may have to do some additional styling to…

Read more
Back To Top