Skip to content

Re-Enable Fallback for Deprecated WPBakery Design Options

Scroll To Items on Filter

This snippet will make it so when a filter item is clicked it scrolls down to the items. This can be useful on mobile if you have a ton of filter links. As you can see by default it is…

Read more

How to Override Default Post “Block” Section

// Example for overriding a default Blog Post "block" or section // You can add print_r( $blocks ) inside your function and refresh your page to view a list of all available blocks on your site add_filter( 'totaltheme/blog/single_blocks', function( $blocks…

Read more

How to use post image attachments for gallery slider

add_filter( 'wpex_get_post_gallery_ids', function( $ids ) { $images = get_attached_media( 'image' ); if ( $images ) { $ids = array(); // reset incase there are any defined gallery images lets not include them foreach ( $images as $image ) { $ids[]…

Read more

Custom Post Type Image Sizes

The Total theme makes it easy to add new image sizes under the Theme Panel > Image Sizes admin dashboard so you can better control the display of your custom post type featured images. The snippet below is an example…

Read more
Back To Top