progress with linking logic

This commit is contained in:
prospect
2024-01-24 14:55:42 -05:00
parent f4ae35c532
commit 158d2ac7c5
5 changed files with 87 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
<?php
function themeStarter_adjust_queries($query)
{
// Search Archive Query Adjustment
if ($query->is_search()) {
$query->set('posts_per_page', '-1');
$query->set('order', 'ASC');
}
}