update theme

This commit is contained in:
2024-03-12 09:16:19 +03:00
parent 10722da013
commit bef7aac0d5
74 changed files with 2018 additions and 2417 deletions

View File

@@ -3,8 +3,12 @@
Template Name: Шаблон страницы партнёров
*/
$partners = get_post_query('partners', 10, 'DESC', '');
$partners = new WP_Query([
'post_type' => 'partners',
'posts_per_page' => 10,
'orderby' => 'date',
'order' => 'DESC'
]);
?>
<?php get_header(); ?>
@@ -35,5 +39,4 @@ $partners = get_post_query('partners', 10, 'DESC', '');
<? custom_pagination($partners); ?>
</div>
<?php
get_footer(); ?>
<?php get_footer(); ?>