Support

Account

Home Forums General Issues Please help fix my loop? No fields display Reply To: Please help fix my loop? No fields display

  • Try that to test what happens:

    $yourname = get_field('your_name');
    var_dump($your_name);

    var_dump show you, what returned by get_field/the_field function.

    to hide your tests from users, put testing code into that check:

    if ( get_current_user_id() == 1 ) { /* if your user_id isn't 1, change 1 into code to your user_id */
    //your testing code here
    }