Support

Account

Forum Replies Created

  • That’s actually a really good approach — using an ACF text field for the marquee makes it much easier for non-technical users to update the scrolling text without touching any code.

    You can try this clean setup:

    <div class=”loop”>
    <div class=”content”>
    <?php
    $marquee_text = get_field(‘marquee_txt’);
    if( $marquee_text ) {
    echo esc_html($marquee_text);
    } else {
    echo ‘See calendar for details ✦’;
    }
    ?>
    </div>
    </div>

    This way, if someone adds text to the marquee_txt field, it’ll automatically appear inside your scrolling div. If they leave it blank, it’ll show your default message (“See calendar for details ✦”).

    You can drop this directly into your Elementor HTML widget (make sure the page uses the correct ACF field group).

    This keeps things simple and plugin-free — perfect for a non-profit setup!

Viewing 1 post (of 1 total)