Support

Account

Forum Replies Created

  • Having the same issue,

    <?php 
     tvar1 = get_field('tree_votes_display');
      echo '<pre>';
       var_dump( $tvar1 );
      echo '</pre>';
    ?>

    always returns
    bool(false)

    no matter if checkbox is checked or not.

  • Thanks for your reply and sorry for that long post 🙂
    I rewrote the code using only get_field and it works… I used get_post_meta because I found a snippet somewhere. My issue is that get_field('country_nav_menu') doesn’t seem to “get” the field value when it is assigned to a category. It works fine when assigned to a post, but not to a category.
    Thanks for you time!

Viewing 2 posts - 1 through 2 (of 2 total)