[Support request] WPSP Pro 1.0 Beta Testing

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support WPSP Pro 1.0 Beta Testing

Viewing 15 posts - 16 through 30 (of 45 total)
  • Author
    Posts
  • #8571
    Jamal
    Participant

    Any way to auto scroll the carousel? Thanks

    #8580
    Jamal
    Participant

    Any way to auto scroll the carousel? Thanks

    Dug around and finally got something working. I added 'autoplay' => 'true', to core file. I feel like i got a superpower 🙂

    Now how to do it without editing core file?

    #8585
    Tom
    Keymaster

    Yep! There’s a filter:

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

    Let me know if that does the trick 🙂

    #8608
    Jamal
    Participant

    There was never a doubt its gonna work, thank you very much Tom. WPSP is another beast of a plugin, great job man !

    #8619
    Tom
    Keymaster

    Thank you!

    #8861
    Callista
    Participant

    Hi Tom,
    You mentioned that there is a filter to turn the arrows on. Can you point me to it?
    Thank you!
    Have a great day!
    Callista

    #8875
    Tom
    Keymaster

    Give this a shot:

    add_filter( 'wpsp_carousel_args', function( $args ) {
        $args['arrows'] = true;
    
        return $args;
    } );
    #8887
    Callista
    Participant

    Thanks, Tom.
    I’m not sure I’m adding it in the right place. I tried adding it as a code snippet and that didn’t do anything. I also tried adding it right after the php I added in a GP element (hook) to limit the carousel to posts with the same category as the current post. That also had no effect. I blame my lack of knowledge of php.
    Sorry to keep bugging you.
    Have a great day!
    Callista

    #8897
    Tom
    Keymaster

    Hmm, it should work in Code Snippets.

    Can you try this?:

    add_action( 'after_setup_theme', function() {
        add_filter( 'wpsp_carousel_args', function( $args ) {
            $args['arrows'] = true;
    
            return $args;
        } );
    } );
    #8914
    Callista
    Participant

    Hi Tom,
    It was working after all, but hidden by some CSS (slick-min.css). The arrows are not super attractive, but I’ll keep fiddling with it.
    Thanks!
    Callista

    #8934
    Tom
    Keymaster

    No problem 🙂

    #9188
    sebastien
    Participant

    hey,
    Still about the arrows, I would like to replace the arrows (no more request) by some custom content.
    Is there a way to code somewhere.. something like that: arrows = customcontent ? =)
    thanks

    #9195
    sebastien
    Participant

    I want report an issue I’ve found with style “Overlay – Style 1”.
    it only works with post type: Post (from WP core).
    If I change by Pages (from WP core) or any other Custom Post Type, then issues happens:
    1) with Pages: only one post appear (even if I param X columns & number/page).
    2) with custom Post: all post display at the expected position. but the hover effect doesn’t work. Even if the background color change as expected, the text content/others meta is sticky (never desappears/appears).

    So I had to switch to style Overlay – Style 2 which works perfectly with any Type Post.
    Do you have any quick CSS tricks that would fix this issue? =)

    • This reply was modified 1 year, 8 months ago by sebastien.
    #9197
    sebastien
    Participant

    EDIT: after few responsiv tests (by changing the screen size), the Overlay – Style 2 doesn’t display well:
    * the content once hovered is out of the image.
    * in some positions, the content still is still displayed

    =/

    #9223
    sebastien
    Participant

    my solution, was stop to use any cards style, use the “none” and then build my own CSS…

Viewing 15 posts - 16 through 30 (of 45 total)
  • You must be logged in to reply to this topic.