Support

Account

Home Forums Front-end Issues Group fields not showing on front end Reply To: Group fields not showing on front end

  • Hi!

    I have tested this on my project. Everything works. I will write as I did so that you can compare.

    1. Created a field Group of fields for the required post type (in my case for posts)
    2. Edited the post, filled in the data in the subfields
    3. In the template for the post added the code

    <? php $video = get_field('video_section');
    
    var_dump($video); ?>
    

    4. Go to the post page and see this

    
    array(3) { ["video_link"]=> string(18) "https://my-link.com" ["video_header"]=> string(5) "Title" ["video_subheader"]=> string(8) "Subtitle" }
    

    What are you doing differently?