add update rubrics

This commit is contained in:
argoexpert press
2024-05-25 16:51:55 +03:00
parent 5a9c8597ba
commit 641399598f
6 changed files with 113 additions and 5 deletions

View File

@@ -11,7 +11,7 @@
$paged = (get_query_var('paged')) ? absint(get_query_var('paged')) : 1;
$args = array(
'post_type' => 'post',
'posts_per_page' => 5,
'posts_per_page' => 9,
'paged' => $paged,
'category__in' => get_queried_object_id()
);

10
en/menu-primary-en.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
$menu_id = 761;
$menu_items = wp_get_nav_menu_items($menu_id);
?>
<?php foreach ($menu_items ?: [] as $menu_item):?>
<li class="menu-item">
<a href="<?=esc_url($menu_item->url);?>"><?=$menu_item->title?></a>
</li>
<?php endforeach ?>