Bricks Query Loop: Exclude the Current Post
Leaves the post being viewed out of the Bricks query loops you choose, so "More articles" sections in single post templates never repeat the current article.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Leaves the post being viewed out of the Bricks query loops you choose, so "More articles" sections in single post templates never repeat the current article.
Adds a custom query ID "wpide_exclude_current" for Elementor Pro's Posts and Loop Grid widgets that leaves out the post being viewed, ideal for "More articles" sections.
Hides chosen categories from the classic Categories widget list or dropdown.
Removes chosen post types and taxonomies (tags by default) and the users list from the built-in wp-sitemap.xml.
Adds the "no-lazyload" class (and matching skip attributes) to the site logo and the featured image of single posts, so Smush and other lazy-load plugins load them immediately and improve Largest Contentful Paint.
Marks chosen pages as not cacheable in LiteSpeed Cache from code, for example pages with a personalised widget, a query parameter or for visitors with a specific cookie.
Removes whole post types, such as landing pages or a plugin's internal post type, from the Yoast SEO sitemap index.
Keeps chosen posts, and posts in chosen categories, out of Jetpack's Related Posts suggestions, such as announcements, legal pages or outdated content.
Stops chosen products or whole categories, such as gift cards, samples or spare parts, from appearing in the related products section.
Hides chosen posts or pages (thank-you pages, landing pages, legal pages) from front-end search results.
Keeps the posts and pages you list out of All in One SEO's XML sitemap.
Leaves the posts and pages you list out of Rank Math's XML sitemaps without changing their robots settings.
Leaves the posts and pages you list out of the built-in XML sitemap, such as thank-you pages, landing pages for ads or legal pages.
Keeps the posts and pages you list out of the Yoast SEO XML sitemaps while leaving them indexable.
Leaves taxonomy sitemaps, such as tags or a plugin's filter attributes, out of the Yoast SEO sitemap index.
Keeps posts in chosen categories out of the main RSS feed.
Keeps posts from the categories you choose, such as internal updates or sponsored posts, out of the site search results.
Hides posts in chosen categories from the main blog page. The posts remain visible in their own category archive.
Hides products from one or more categories on the main shop page while they remain available in their own category and by direct link.
Keeps posts from the categories you choose out of the classic Recent Posts widget, for example sponsored posts or internal news.
Adds a "wp heaviest-posts" command listing the posts and pages with the largest stored content, revisions excluded, to track down pasted base64 images or page builder bloat slowing the editor.
Keeps the posts you list off the main blog page and its pagination while they stay reachable through their own URL, categories and search.
Leaves posts by the authors you list, such as guest writers or an automated account, out of your main feeds, while their author feed and the posts on the site stay available.
Excludes scripts you list, such as a consent banner, chat widget or analytics loader, from WP Rocket's "Delay JavaScript execution" so they run right away.