xtxpatch v 0.1.1 it works fine

This commit is contained in:
asus
2024-03-31 19:59:20 +02:00
parent 995e230e32
commit 5d4be76102
10 changed files with 52 additions and 1527 deletions

View File

@@ -28,7 +28,6 @@ function randomize_post_output_CIPF($query) {
}
Plgntls::debug_infos();
error_log("posts_per_page: " . json_encode($posts_per_page));
$query->set('orderby', 'rand');
}
add_action('pre_get_posts', 'randomize_post_output_CIPF');