From bd6fa118a795d632bfd89542f85ce7f2edb861a1 Mon Sep 17 00:00:00 2001 From: AKSHAT2802 Date: Wed, 13 Aug 2025 23:02:50 +0530 Subject: [PATCH] Fix: Update query blocks to ignore sticky posts in various templates --- .../twentytwentyfive/patterns/hidden-sidebar.php | 2 +- .../twentytwentyfive/patterns/more-posts.php | 2 +- .../patterns/page-portfolio-home.php | 12 ++++++------ .../patterns/template-home-news-blog.php | 14 +++++++------- .../template-home-posts-grid-news-blog.php | 10 +++++----- .../template-home-with-sidebar-news-blog.php | 6 +++--- .../patterns/template-query-loop-news-blog.php | 2 +- .../patterns/template-query-loop-photo-blog.php | 2 +- .../patterns/template-query-loop-text-blog.php | 2 +- .../template-query-loop-vertical-header-blog.php | 2 +- .../patterns/template-query-loop.php | 2 +- 11 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/wp-content/themes/twentytwentyfive/patterns/hidden-sidebar.php b/src/wp-content/themes/twentytwentyfive/patterns/hidden-sidebar.php index 1b6dccbfa2497..f85685704ec29 100644 --- a/src/wp-content/themes/twentytwentyfive/patterns/hidden-sidebar.php +++ b/src/wp-content/themes/twentytwentyfive/patterns/hidden-sidebar.php @@ -18,7 +18,7 @@ - +
diff --git a/src/wp-content/themes/twentytwentyfive/patterns/more-posts.php b/src/wp-content/themes/twentytwentyfive/patterns/more-posts.php index 6dd8f82984ab4..bfb98e0bea6fd 100644 --- a/src/wp-content/themes/twentytwentyfive/patterns/more-posts.php +++ b/src/wp-content/themes/twentytwentyfive/patterns/more-posts.php @@ -18,7 +18,7 @@

- +
diff --git a/src/wp-content/themes/twentytwentyfive/patterns/page-portfolio-home.php b/src/wp-content/themes/twentytwentyfive/patterns/page-portfolio-home.php index 7a2a5b3f11d6b..4dfb2823fc57f 100644 --- a/src/wp-content/themes/twentytwentyfive/patterns/page-portfolio-home.php +++ b/src/wp-content/themes/twentytwentyfive/patterns/page-portfolio-home.php @@ -49,7 +49,7 @@
- +
@@ -71,7 +71,7 @@
- +
@@ -105,7 +105,7 @@ - +
@@ -138,7 +138,7 @@
- +
@@ -160,7 +160,7 @@
- +
@@ -187,7 +187,7 @@ - +
diff --git a/src/wp-content/themes/twentytwentyfive/patterns/template-home-news-blog.php b/src/wp-content/themes/twentytwentyfive/patterns/template-home-news-blog.php index 7dea528fa3882..d8aa557cee19d 100644 --- a/src/wp-content/themes/twentytwentyfive/patterns/template-home-news-blog.php +++ b/src/wp-content/themes/twentytwentyfive/patterns/template-home-news-blog.php @@ -24,7 +24,7 @@
- +
@@ -42,7 +42,7 @@
- +
@@ -61,7 +61,7 @@
- +
@@ -81,7 +81,7 @@
- +
@@ -94,7 +94,7 @@
- +
@@ -118,7 +118,7 @@
- +
@@ -136,7 +136,7 @@
- +
diff --git a/src/wp-content/themes/twentytwentyfive/patterns/template-home-posts-grid-news-blog.php b/src/wp-content/themes/twentytwentyfive/patterns/template-home-posts-grid-news-blog.php index 167f0a04700d6..a9b286e6504c3 100644 --- a/src/wp-content/themes/twentytwentyfive/patterns/template-home-posts-grid-news-blog.php +++ b/src/wp-content/themes/twentytwentyfive/patterns/template-home-posts-grid-news-blog.php @@ -18,7 +18,7 @@
- +
@@ -44,7 +44,7 @@
- +
@@ -62,7 +62,7 @@
- +
@@ -87,7 +87,7 @@
- +
@@ -113,7 +113,7 @@

- +
diff --git a/src/wp-content/themes/twentytwentyfive/patterns/template-home-with-sidebar-news-blog.php b/src/wp-content/themes/twentytwentyfive/patterns/template-home-with-sidebar-news-blog.php index ee6732278e676..01d1ae11c7bc7 100644 --- a/src/wp-content/themes/twentytwentyfive/patterns/template-home-with-sidebar-news-blog.php +++ b/src/wp-content/themes/twentytwentyfive/patterns/template-home-with-sidebar-news-blog.php @@ -20,7 +20,7 @@
- +
@@ -44,7 +44,7 @@ - +
@@ -71,7 +71,7 @@ - +
diff --git a/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-news-blog.php b/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-news-blog.php index c55b337304c24..8e7bd30e8988c 100644 --- a/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-news-blog.php +++ b/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-news-blog.php @@ -10,7 +10,7 @@ */ ?> - +
diff --git a/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-photo-blog.php b/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-photo-blog.php index c9f150cbe05ee..f5b47efe47e7a 100644 --- a/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-photo-blog.php +++ b/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-photo-blog.php @@ -13,7 +13,7 @@ */ ?> - +
diff --git a/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-text-blog.php b/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-text-blog.php index e90e4805183d0..466ac0de70802 100644 --- a/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-text-blog.php +++ b/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-text-blog.php @@ -10,7 +10,7 @@ */ ?> - +
diff --git a/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-vertical-header-blog.php b/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-vertical-header-blog.php index b572e9306a9fe..704a6c5079c91 100644 --- a/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-vertical-header-blog.php +++ b/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-vertical-header-blog.php @@ -10,7 +10,7 @@ */ ?> - +
diff --git a/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop.php b/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop.php index 82dc4de8471fa..d229d74a9a598 100644 --- a/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop.php +++ b/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop.php @@ -12,7 +12,7 @@ */ ?> - +