Skip to content

Add Background Image to Footer Widgets

WPBakery Pageable Container jwplayer Not Working Fix

Basically the way the pageable containers work is by hiding whatever is inside the non-active tabs. Certain players like jwplayer can not properly render the media if it's hidden by default. The following CSS will display all your tabs by…

Read more

Add Custom Icon Font Family To Icon Box

This is no longer necessary! You can now use the theme’s “Custom” button to upload and select any SVG for your icon. While it’s still technically possible to register and use your own font family, it’s not recommended. SVGs are…

Read more

Replace WooCommerce Product Entry Link With Affiliate Link

// Remove default link around product entries remove_action( 'woocommerce_before_shop_loop_item', 'woocommerce_template_loop_product_link_open', 10 ); // Re-add links and check for affiliate link function myprefix_woocommerce_template_loop_product_link_open() { $affiliate_link = get_post_meta( get_the_ID(), '_product_url', true ); if ( $affiliate_link ) { echo ''; } else {…

Read more

Add More Column Choices To Grid Modules

// This function will add the column selections you will then have to add your custom CSS // for the actual column. Example '.span_1_of_8{ width: 12.5%; }' add_filter( 'wpex_grid_columns', function( $columns ) { $columns['8'] = '8'; $columns['9'] = '9'; $columns['10']…

Read more

Open Portfolio Items With Custom Links in Portfolio Grid in New Tab

function myprefix_vcex_shortcode_loop_atts( $atts ) { // Target portfolio grid if ( isset( $atts['base'] ) && 'vcex_portfolio_grid' == $atts['base'] && get_post_meta( get_the_ID(), 'wpex_post_link', true ) ) { $atts['link_target'] = 'blank'; } // very important return $atts; } add_filter( 'vcex_shortcode_loop_atts', 'myprefix_vcex_shortcode_loop_atts' );

Read more
Back To Top