Skip to content

Alter The Logo Alt & Title Attribute

Custom Blog Style

/** * Alter blog style * You can return any of the following strings "large-image-entry-style", "thumbnail-entry-style", "grid-entry-style" * */ function my_blog_style( $style ) { // Change style for all tags if ( is_tag() ) { $style = 'thumbnail-entry-style'; } //…

Read more

WooCommerce Category Entry Overlay Title

body .products .product-category a { position: relative; display: block; } body .product-category img { display: block } body .products .product-category h3 .count { display: none } body .products .product-category h3 { position: absolute; bottom: 0; left: 0; color: #fff !important;…

Read more

Exclude Events From Search Results

function my_tribe_events_register_event_type_args( $args ) { // Exclude from search $args['exclude_from_search'] = true; // Return args return $args; } add_filter( 'tribe_events_register_event_type_args', 'my_tribe_events_register_event_type_args' );

Read more

Next/Previous Links NOT From Same Category

// Example 1: Disable next/prev in same term for staff members function my_next_prev_in_same_term( $bool ) { if ( is_singular( 'staff' ) ) { $bool = false; } return $bool; } add_filter( 'wpex_next_prev_in_same_term', 'my_next_prev_in_same_term' ); // Example 2: Disable for ALL…

Read more

Enable Social Sharing For Testimonials

// Enable social share for testimonials function my_enable_social_for_testimonials( $return ) { if ( is_singular( 'testimonials' ) ) { $return = true; } return $return; } add_filter( 'wpex_has_social_share', 'my_enable_social_for_testimonials' ); // Display social share for testimonials function display_social_share_on_testimonials() { if (…

Read more

Add/Remove Typography Options

add_filter( 'wpex_typography_settings', function( $settings ) { // Remove logo typography (not needed if using an image) unset( $settings['logo'] ); // Add new typography settings for your custom element with a class of .my-element $settings['my_element'] = array( 'label' => __( 'My…

Read more
Back To Top