add infinity scroll frontpage and paged

This commit is contained in:
2024-07-14 20:59:28 +03:00
parent 2ead9c2bee
commit 6960f49d78
4 changed files with 87 additions and 19 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' => 11,
'paged' => $paged,
'category__in' => get_queried_object_id()
);