Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 1,256 total)
  • Author
    Posts
  • in reply to: grayscale on hover fix needed #10793

    Tom
    Keymaster

    Hi Sarah,

    What if you do this?:

    #wpsp-123 .wp-show-posts-inner .wp-show-posts-image img {
        filter: grayscale(100%);
        -webkit-filter: grayscale(100%);
    }
    
    #wpsp-123 .wpshow-posts-inner:hover .wp-show-posts-image img {
        filter: none;
        -webkit-filter: grayscale(0);
    }

    Be sure to replace 123 with the ID of your list.

    in reply to: Adding linebreak in #10792

    Tom
    Keymaster
    in reply to: Background title on hover #10791

    Tom
    Keymaster

    What if you remove your WPSP-related custom CSS?

    in reply to: Excerpts under featured image #10790

    Tom
    Keymaster

    Hey Sarah,

    You could wrap your text in a div:

    add_action( 'wpsp_before_content', function() {
        $text = get_post_meta( get_the_ID(), 'your_custom_field', true );
    
        if ( $text ) {
            echo '<div class="your-custom-class-name">' . $text . '</div>';
        }
    }, 20 );
    in reply to: Background title on hover #10776

    Tom
    Keymaster

    For sure, you just need to add this CSS:

    .wpsp-overlay.wpsp-ov-style-two .wp-show-posts-inner:hover {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    in reply to: Display Date of Event #10775

    Tom
    Keymaster

    I’m not 100% sure it will work, but you could try this:

    add_filter( 'wpsp_date_output', function( $output ) {
        return sprintf(
            '<span class="wp-show-posts-posted-on wp-show-posts-meta">
                %1$s %2$s
            </span>',
            do_shortcode( '[gd_post_badge key="event_dates" condition="is_not_empty" badge="%%event_start_date%%" bg_color="#ffffff" txt_color="#1339f0" alignment="center"]' ),
            do_shortcode( '[gd_post_badge key="event_dates" condition="is_not_empty" badge="%%event_end_date%%" bg_color="#ffffff" txt_color="#1339f0" alignment="center"]' );
        );
    } );

    You’ll also need to add the snippet they provided.

    in reply to: Background title on hover #10764

    Tom
    Keymaster

    What if you add this?:

    #wpsp-3458.wpsp-card .wp-show-posts-inner:hover .wpsp-content-wrap {
        background: #fff;
        height: 100%;
    }
    in reply to: Display Date of Event #10763

    Tom
    Keymaster

    I just looked around their forums to find what field to query, but I couldn’t find anything. You might need to ask their support what the get_post_meta() name is that we need to use.

    in reply to: Display Date of Event #10753

    Tom
    Keymaster

    Hi Barb,

    Where is the event date coming from? Is it post meta from a plugin? If so, which one?

    in reply to: Background title on hover #10752

    Tom
    Keymaster

    Hi Eva,

    It doesn’t look like the title is set to show. Can you make sure it’s enabled in the list settings?


    Tom
    Keymaster

    It might be possible if Yoast has a function we can use to get that data. You might want to see if their support can provide whether that’s possible/what the post meta names are. If we have that info, we can likely use hooks to output it in each post.

    I took a quick look through their documentation but couldn’t find any info on getting that data.

    in reply to: Carousel is not displaying mobile #10750

    Tom
    Keymaster

    Can you try deactivating WP Rocket completely? I’m not seeing any obvious reasons why the cards wouldn’t be showing up.

    in reply to: Add arrow to Carousel and hide dots #10749

    Tom
    Keymaster

    Is there a URL I can check out?

    in reply to: Add arrow to Carousel and hide dots #10722

    Tom
    Keymaster

    Hi there,

    First, add this function:

    add_filter( 'wpsp_carousel_args', function( $args ) {
        $args['arrows'] = true;
        $args['dots'] = false;
    
        return $args;
    } );

    Then, add this CSS:

    .slick-next:before, 
    .slick-prev:before {
        color: black;
    }
    in reply to: Filtering category views to showpost pages #10721

    Tom
    Keymaster

    Awesome, glad it’s working 🙂

Viewing 15 posts - 1 through 15 (of 1,256 total)