We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Showing only forthcoming event in post #36673
    Ema
    Participant

    Hello Fernando, I’m still a little stuck

    My ACF field is ‘start_date’ and my list id is ‘4943’.

    Would the code look like this below? Also – do I still add via shortcode, and add this function via my child theme?

    add_action( 'wpsp_before_content', function( $settings ) {
        if ( 4943 === $settings['list_id'] ) {
            $meta = get_post_meta( get_the_ID(), '_start_date', true );
    
            if ( $meta ) {
                echo $meta;
            }
        }
    } );

    All my CPT event posts have the ACF field of ‘start_date’ – how does this only show the current events.

    Many thanks in advance

    • This reply was modified 2 months, 2 weeks ago by Ema.
    • This reply was modified 2 months, 2 weeks ago by Ema.
    in reply to: Showing posts from a tag? #36666
    Ema
    Participant

    Thank you Fernandoaz!

    • This reply was modified 2 months, 3 weeks ago by Ema.
    in reply to: Showing posts from a tag? #36652
    Ema
    Participant

    Oh, Where do I find the ‘list id’?

    • This reply was modified 2 months, 3 weeks ago by Ema.
    in reply to: Showing posts from a tag? #36650
    Ema
    Participant

    Thanks for your reply Elvin! I’ll give this a try and get back to you. Looking forward to GP Blocks merge 😀

    in reply to: Make containers the same size with Overlay 1 layout #36019
    Ema
    Participant

    Thanks Elvin! Can I make them more square?

    • This reply was modified 5 months, 1 week ago by Ema.
    in reply to: Make containers the same size with Overlay 1 layout #35797
    Ema
    Participant

    I’ve done it!

    .slick-track
    {
    display: flex !important;
    }

    .slick-slide
    {
    height: inherit !important;
    }

    in reply to: Can I add an icon to the read more button? #29548
    Ema
    Participant

    hello Elvin, thanks so much for helping me with this. do I add to elements – hooks? I added to snippets and it created a critical error?

    best Ema 🙂

    in reply to: Can I add an icon to the read more button? #29447
    Ema
    Participant

    Hi Elvin,

    Thank you!

    it’s this one

    <svg aria-hidden=”true” role=”img” height=”1em” width=”1em” viewBox=”0 0 256 512″ xmlns=”http://www.w3.org/2000/svg”><path fill=”currentColor” d=”M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z”></path></svg>

    Ema

    in reply to: Can I add an icon to the read more button? #29402
    Ema
    Participant

    Hello Elvin,

    Thanks for getting back to me.

    Would be like this – just using one of the general arrows from GP Blocks

Viewing 9 posts - 1 through 9 (of 9 total)