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,41 @@
<!--[home/list-items]-->
<?php
global $main_item, $colon_item;
$mainpage_query = new WP_Query(
[
"post_type" => ["profile_article"],
"post_status" => "publish",
"posts_per_page" => 22,
"ignore_sticky_posts" => true,
"order" => "DESC",
"orderby" => "post_date",
"post__not_in" => [$main_item, $colon_item]
]
);
?>
<?php if($mainpage_query->have_posts()): ?>
<?php while ($mainpage_query->have_posts()): ?>
<?php $mainpage_query->the_post(); ?>
<?php if ( in_array( $mainpage_query->current_post, [8, 16] ) ): ?>
<?php get_template_part("template-parts/home/cell", "", ["wide" => true]); ?>
<?php else: ?>
<?php get_template_part("template-parts/home/cell", "", ["wide" => false]); ?>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>
<!--[/home/list-items]-->