Support

Account

Home Forums General Issues get_field('my_field_name', $post->ID) returning string on author.php Reply To: get_field('my_field_name', $post->ID) returning string on author.php

  • @laju and @hube2, thank you both so much for the help!

    if( !$query->is_main_query() ) return;

    Did the trick for me! Adding in the or is_admin() threw an error, so I will be leaving that portion out.

    Thanks again to both of you! I was near keyboard smashing levels of hung up on this one. You both rock!