Skip to content

Removing All Custom Widgets

Hide Menu Search When Using Custom Menus

// Disables the search in the menu when a custom menu is being used on the page add_filter( 'totaltheme/header/menu/search/is_supported', function( $check ) { if ( get_post_meta( get_the_ID(), 'wpex_custom_menu', true ) ) { return false; } return $check; } );

Read more

Alter Archive Entry Readmore Button Style

/** * Sample snippet showing how to alter the default readmore button styles * Change the filter where it says "blog" to match your custom post type. Example: "wpex_cpt_entry_button_args" * * You can of course also alter the button style…

Read more

Center Blog Entry Content

/* This is for blog entry archives only, the Blog Grid VC module would use different CSS */ body .blog-entry { text-align: center; } body .blog-entry .meta li { display: inline-block; float: none; } body .blog-entry .wpex-social-share.position-horizontal li { display:…

Read more

Alter Blog Entry Elements(blocks) For Specific Categories/Tags

/** * Alter the blog entry blocks via filter. * Available Blocks: featured_media, title, meta, excerpt_content, readmore. */ add_filter( 'totaltheme/blog/entry_blocks', function( $blocks ) { // Alter for "web-design" category if ( is_category( 'web-design' ) ) { $blocks = array( 'title',…

Read more
Back To Top