Home Forums Front-end Issues Problem with get_fields Reply To: Problem with get_fields

  • Its better to create an options page for this and receive you values via get_field( 'field_slug', 'option' );

    On your index.php you’re receiving all your posts, so the index.php has no post id. You can create an page template (with custom post query for your posts) and working with this, but an option page is easier for this.