title: How to display ACF field Content from User Profile
body: <p>I know this is duplicated to this one
  <a href="https://stackoverflow.com/questions/38253265/how-to-display-an-acf-field-from-a-user-profile">How to display an acf field from a user profile?</a></p>
  
  <p>I copied the code but it is not working, I tried googling and tried also the code here</p>
  
  <p><a href="https://www.advancedcustomfields.com/resources/how-to-get-values-from-a-user/" rel="nofollow noreferrer">https://www.advancedcustomfields.com/resources/how-to-get-values-from-a-user/</a> and it is not also working</p>
  
  <p>Screenshot:
  <a href="https://i.stack.imgur.com/TtLh0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TtLh0.png" alt="enter image description here"></a></p>
  
  <p>screenshot:
  <a href="https://i.stack.imgur.com/dXwAJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dXwAJ.png" alt="enter image description here"></a></p>
  
  <p>screenshot:
  <a href="https://i.stack.imgur.com/UJWse.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UJWse.png" alt="enter image description here"></a></p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;?php   
      acf_form_head();
      get_header();       
      $author_id = get_the_author_meta('ID');
      $author_field = get_field('author_content', 'user_'. $author_id );
  ?&gt;
  
  &lt;?php echo $author_field; ?&gt;
  </code></pre>
  
  <p>User Kristen
  - should display 'Kristen Content'</p>
  
  <p>User Admin
  - should display 'Admin Content'</p>
  
  <p>User Testa
  - should display 'Testa Content'</p>
  
  <p>It is just displaying the Admin Content when i tried to logged in user kristen and user testa it should display their own content. I don't know what is wrong with my code. </p>