add files

This commit is contained in:
Andrey Kuvshinov
2025-07-09 21:21:17 +03:00
commit 8fc8cbae32
596 changed files with 207566 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
<!--[critical-styles]-->
<?php get_template_part("template-parts/critical-styles/styles-default") ?>
<?php if( 1==1 || !wp_is_mobile() ) : ?>
<?php get_template_part("template-parts/critical-styles/styles-default-desktop") ?>
<?php endif; ?>
<?php get_template_part("template-parts/critical-styles/styles-default-mobile") ?>
<?php get_template_part("template-parts/critical-styles/styles-header") ?>
<?php if( 1==1 || is_author() ) : ?>
<?php get_template_part("template-parts/critical-styles/styles-author") ?>
<?php endif; ?>
<?php if( 1==1 || is_front_page() ) : ?>
<?php get_template_part("template-parts/critical-styles/styles-home") ?>
<?php endif; ?>
<?php if( 1==1 || is_search() ) : ?>
<?php get_template_part("template-parts/critical-styles/styles-search") ?>
<?php endif; ?>
<?php if( 1==1 || is_single() ) : ?>
<?php get_template_part("template-parts/critical-styles/styles-single") ?>
<!--TODO: когда сделаю галерею, ксску выводить только если галерея есть в посте-->
<?php get_template_part("template-parts/critical-styles/styles-single-gallery") ?>
<?php endif; ?>
<?php if( 1==1 || is_tag() ) : ?>
<?php get_template_part("template-parts/critical-styles/styles-tag") ?>
<?php endif; ?>
<!--[/critical-styles]-->