page.php 652 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Singular template file
  4. *
  5. * This is the most generic template file in a WordPress theme
  6. * and one of the two required files for a theme (the other being style.css).
  7. * It is used to display a page when nothing more specific matches a query.
  8. * E.g., it puts together the home page when no home.php file exists.
  9. *
  10. * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
  11. *
  12. * @package Quadrat
  13. * @since 1.0.0
  14. */
  15. get_header();
  16. // the header
  17. get_template_part( 'template-parts/header' );
  18. echo gutenberg_block_template_part( 'page' );
  19. // the footer
  20. echo gutenberg_block_template_part( 'footer' );
  21. get_footer();