add folder EN
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php get_header( 'en' ); ?>
|
||||
|
||||
<div class="content-middle articles-wrapper">
|
||||
<?php include(get_template_directory().'/partials/pinned-post-mob.php');?>
|
||||
<?php include(get_template_directory().'/en/pinned-post-mob-en.php');?>
|
||||
<?php get_template_part('partials/rubrics-mobile'); ?>
|
||||
<div class="articles-preview">
|
||||
<?php
|
||||
@@ -12,11 +12,11 @@
|
||||
'orderby' => 'date', // сортировка по дате
|
||||
'order' => 'DESC', // по убыванию (сначала новые)
|
||||
'ignore_sticky_posts' => 1,
|
||||
'cat' => get_expression_en()
|
||||
'cat' => EN_PARTS
|
||||
);
|
||||
$query = new WP_Query($args);
|
||||
?>
|
||||
<?php get_template_part('partials/post-list', null, ['large_first_image' => false, 'query' => $query]); ?>
|
||||
<?php get_template_part('en/post-list-en', null, ['large_first_image' => false, 'query' => $query]); ?>
|
||||
</div>
|
||||
<button class="articles-preview__show-next">More Read</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user