Enable Lightbox Title for Portfolio Media Gallery
// Enable Lightbox Title for Portfolio Media Gallery // Uses image alt attribute for the title add_filter( 'wpex_portfolio_gallery_lightbox_title', '__return_true' );
// Enable Lightbox Title for Portfolio Media Gallery // Uses image alt attribute for the title add_filter( 'wpex_portfolio_gallery_lightbox_title', '__return_true' );
add_filter( 'wpex_woo_version_supported', '__return_false' );
body #site-header, body #site-header-sticky-wrapper.is-sticky #site-header { background: #000 url( YOUR_IMAGE_BACKBGROUND_URL ); }
body .page-header.background-image-page-header { background-position: bottom center; }
@media only screen and (min-width: 960px) { body.wpex-has-vertical-header #site-header { width: 400px !important; } body.wpex-has-vertical-header.full-width-main-layout #wrap { padding-left: 400px !important; } }
add_filter( 'wpex_download_single_blocks', function( $blocks ) { unset( $blocks['meta'] ); // Remove meta unset( $blocks['share'] ); // Remove social share return $blocks; } );
IMPORTANT: As of 2018 Google changed things so you can no longer disable related videos. Read more here.
The following snippet can be used to hide the post meta data from blog posts and entries and only display it when a custom field has been checked to show it.
.woocommerce-product-gallery__image { pointer-events: none; }