We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1ddea6 commit 69f9957Copy full SHA for 69f9957
1 file changed
themes/osi/functions.php
@@ -376,6 +376,11 @@ function osi_query_offset( WP_Query &$query ) {
376
return;
377
}
378
379
+ // If this is a page and its not set as the page for posts, return.
380
+ if ( (int) get_option( 'page_for_posts' ) !== (int) get_queried_object_id() ) {
381
+ return;
382
+ }
383
+
384
$offset = -1;
385
$ppp = get_option( 'posts_per_page' );
386
0 commit comments