Shorter Login Sessions for Administrators
Makes administrator logins expire sooner than everyone else's, limiting the damage of a forgotten logged-in browser.
Snippet Library
3,040 snippets written and tested by the WPIDE team.
Makes administrator logins expire sooner than everyone else's, limiting the damage of a forgotten logged-in browser.
Makes WordPress security tokens (nonces) expire after 4 hours instead of up to 24, shrinking the window in which a leaked link can be reused.
Removes filler words such as "the", "and" or "how" from automatically created post slugs and caps their length, giving shorter, cleaner URLs.
Makes WooCommerce forget guest shopping sessions (cart contents and entered details) after 24 hours instead of two days, so less customer data sits in the sessions table.
Adds a menu item to a theme menu location that reads "Affiliate Area" for affiliates and "Become an affiliate" for everyone else, both pointing to your AffiliateWP page.
Displays the word "Free" for products priced at 0 instead of showing $0.00.
Adds a clear "Free" label to shipping options that cost nothing, such as local pickup, which WooCommerce otherwise shows with no price at all.
Replaces price ranges like "$10 - $40" on variable products with a shorter "From $10", which reads better on shop pages.
Lets customers reorder from orders that are still processing, not only completed ones, using the "Order again" button in My Account.
Adds a line under the price of products on sale that tells shoppers how much they save, for example "You save $15.00 (25%)".
Loads the CSS from Appearance > Customize > Additional CSS into the block editor canvas, so posts look the same while you write as they do on the site.
Removes the Settings and Styles tabs from the block sidebar in the editor, so every panel for the selected block is listed together again.
Users who cannot edit other people's posts, like authors and contributors, see only their own items in the admin lists.
Hides any Beaver Builder row, column or module with the class "wpide-logged-in" from guests, and anything with "wpide-logged-out" from members.
Skips rendering any Bricks element with the CSS class "wpide-logged-in" for guests and "wpide-logged-out" for members, a quick alternative to setting conditions on each element.
Hides category, tag and taxonomy descriptions on page 2 and beyond of an archive, so long intro texts are not repeated on every page.
Collapses the comments section behind a "Show comments" button, so long discussions do not distract from the article or load avatars until wanted.
Hides existing comments and the comment form from visitors who are not logged in, including in feeds and the REST API, and invites them to log in.
Adds a [scheduled] shortcode that shows the text inside it only from a start date, until an end date, or between both. Ideal for limited offers and event notices.
Adds a [wpide_lang only="fr,de"]...[/wpide_lang] shortcode that shows the enclosed text only when the page is displayed in one of those languages, for small differences between translations.
Adds a [show_to] shortcode that reveals the text inside it only to users with the roles you list, such as editors or customers.
Adds every image size registered by your theme and plugins to the size dropdown in the editor and media modal, instead of only Thumbnail, Medium, Large and Full.
Adds the order details you choose, such as a delivery date or gift message saved by another plugin, to WooCommerce's order emails with friendly labels.
Adds published counts for public custom post types (portfolio items, products, events and so on) to the At a Glance Dashboard widget.