Home › Forums › General Issues › AWESUM! › Reply To: AWESUM!
Ok, sounds better.
Here is some code (with no html format) to help you sort this out:
<?php
$args = array(
'orderby'=>'nicename',
'role'=>'subscriber'
);
$users = get_users( $args );
foreach ( $users as $user ) {
print($user->display_name);
the_field('years_of_experience', 'user_'.$user->ID);
the_field('credentials', 'user_'.$user->ID);
}
?>
The role
must be the one your Instructors will get.
You need to put that in a template (author.php or a page template) in your custom theme.
Useful references:
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.