Support

Account

Home Forums ACF PRO Arbitrary field on secure page

Helping

Arbitrary field on secure page

  • There is a page with a password, you do not need to display it Repeater

    Now it is always displayed.
    https://yadi.sk/i/FwSX7v_c17ygGw

    It is necessary to appear after entering the password

  • Thank you all for your attention
    Suddenly someone come in handy:

    <?php if ( ! post_password_required() ) { if( have_rows(‘test’) ): ?>
    <?php while( have_rows(‘test’) ): the_row();
    // vars
    $tesst = get_sub_field(‘test_tesst’);
    ?>
    <?php echo $tesst; ?>
    <?php endwhile; ?>
    <?php endif; } ?>

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

The topic ‘Arbitrary field on secure page’ is closed to new replies.