Allow Random Order in REST API Post Lists
Lets REST API clients request posts with orderby=rand, for example to show a few random articles in an app, which WordPress does not allow by default.
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.
Lets REST API clients request posts with orderby=rand, for example to show a few random articles in an app, which WordPress does not allow by default.
Removes the post being viewed from Beaver Builder Posts, Post Slider and Post Carousel modules, so "latest posts" blocks on articles never repeat the article itself.
Registers a block bindings source that shows a post's main category name, link or description in any paragraph, heading or button, for example as a label above titles in a Query Loop.
Adds a {wpide_reading_time} dynamic data tag that shows the estimated reading time of the current post ("5 min read"), for single templates and query loops.
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.
Limits the chosen Bricks query loops to items whose date field is today or later and sorts them soonest first, for event and webinar lists.
Adds a "Child pages" query type to Bricks query loops that lists the subpages of the page being viewed, in menu order, for section overview pages.
Turns the page numbers under the blog, archives and Query Loop blocks into evenly sized rounded buttons with a clear current-page state.
Tells WP Rocket to keep separate cached copies for URLs with the query parameters you list, such as a currency or filter parameter, instead of skipping the cache for them.
Stores the comment totals that WordPress shows in the admin menu, toolbar and dashboard for 10 minutes, avoiding a slow counting query on every admin page view on sites with many comments.
Caches the per-role user counts shown on the Users screen and dashboard for 12 hours, avoiding a heavy query on sites with many users.
Turns each post in Query Loop blocks into a card with padding, rounded corners, a soft shadow and a lift on hover, for blog and archive templates in block themes.
Adds an Edit link under each post on blog, archive and search pages for logged-in users who are allowed to edit that post. Works with classic themes and Query Loop blocks.
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.
Adds a custom query ID "wpide_same_author" that lists other posts by the author of the post being viewed, for "More from this writer" sections.
Adds a custom query ID "wpide_popular" that orders posts by number of comments, to build a "Most discussed" block with Elementor Pro.
Adds a custom query ID "wpide_sticky" that shows only the posts you marked as sticky, so a "Featured articles" section in Elementor Pro stays in sync with the post editor's Sticky option.
Adds a custom query ID "wpide_random" that shows posts in random order in Elementor Pro's Posts and Loop Grid widgets, for testimonials, team members or featured products.
Adds a custom query ID "wpide_related" that shows posts sharing a category with the current post, newest first, without the current post itself.
Adds a custom query ID "wpide_upcoming" that shows only items whose date field (for example an event date) is today or later, soonest first.
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.
Hides chosen posts or pages (thank-you pages, landing pages, legal pages) from front-end search results.
Hides posts in chosen categories from the main blog page. The posts remain visible in their own category archive.
Adds a gentle zoom to featured images on the blog page, archives and Query Loop blocks when visitors hover over a post, making lists feel more interactive.