Home Forums Front-end Issues User role field not showing in Safari


User role field not showing in Safari

  • Hello,

    I’ve used a User field in ACF to create a list of users as a footer section.
    It works Google on Chrome, but Safari is not showing it.

    It happens only with this user field, since I’ve been trying some other fields as a debug process and they work (it’s not a CSS problem).

    Any idea what can this be?

    This is the code used:

    $users = get_field('authors_footer', 'option');
    if( $users ): ?>
    <ul class="footer_authors">
        <?php foreach( $users as $user ): ?>
                <a href="<?php echo get_author_posts_url( $user->ID ); ?>"><?php echo $user->display_name; ?></a>
        <?php endforeach; ?>
    <?php endif; ?>

    Thanks in advance.

Viewing 1 post (of 1 total)

The topic ‘User role field not showing in Safari’ is closed to new replies.