Home Forums ACF PRO Arbitrary field on secure page


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.

    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)

You must be logged in to reply to this topic.