Support

Account

Home Forums Gutenberg Can't output values on frontend Reply To: Can't output values on frontend

  • Problem solved!

    So after playing around, I realised I was including the block in my template directly, rather than just using ‘the_content();’.

    So my template just looks like this now (which makes so much sense!):

    <?php
      /** Template name: Home */
    ?>
    
    <?php
      get_template_part('blocks/header');
    
      the_content();
    
      get_template_part('blocks/footer');
    ?>