Home › Forums › General Issues › User Name Field – Display Name Only › Reply To: User Name Field – Display Name Only
Well it took me a day of searching, but I hit upon the solution. Hope this helps someone to avoid the same trouble.
<?php
$values = get_field('notes_added');
if($values)
echo'<h1>Notes</h1>';
{
foreach ($values as $value){
echo '<table><tr><td>'.$value['user_meta']['nickname'].'</td><td>'.$value['note_text'].'</td></tr></table>';
}
}
?>
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.