functions.php 511 B

123456789101112131415161718192021222324
  1. <?php
  2. if ( ! function_exists( 'quadrat_support' ) ) :
  3. function quadrat_support() {
  4. // Add support for starter content
  5. include get_stylesheet_directory() . '/inc/starter-content.php';
  6. add_theme_support(
  7. 'starter-content',
  8. $quadrat_starter_content
  9. );
  10. }
  11. add_action( 'after_setup_theme', 'quadrat_support' );
  12. endif;
  13. /**
  14. * Block Patterns.
  15. */
  16. require get_stylesheet_directory() . '/inc/block-patterns.php';
  17. /**
  18. * Block Styles.
  19. */
  20. require get_stylesheet_directory() . '/inc/block-styles.php';