Hide Members-Only Pages From Menus for Visitors
Removes menu links to posts and pages marked members-only (by the WPIDE "Members-Only Posts" snippet) or set to private, so visitors never see links they can't open.
Snippet Library
3,040 snippets written and tested by the WPIDE team.
Removes menu links to posts and pages marked members-only (by the WPIDE "Members-Only Posts" snippet) or set to private, so visitors never see links they can't open.
Sets every newly created site to "Discourage search engines" so half-built sites are not indexed; site owners switch it off when they launch.
When the cart qualifies for free shipping, shows only the free shipping and local pickup options instead of all rates.
Leaves sold-out products out of the front-end search results while keeping them visible on the shop and category pages.
Turns off on-screen PHP warnings and errors for everyone except logged-in administrators, so file paths are never shown to the public.
Leaves password-protected posts and pages out of search results so their titles are not exposed to visitors.
Removes events that have already ended from your site's search results, while keeping posts, pages and upcoming events, when The Events Calendar is active.
Removes Settings > Permalinks from subsite dashboards for non-super-admins so URL structures stay consistent across the network.
Leaves pingbacks and trackbacks out of the Recent Comments widget and the Latest Comments block, so they show only real conversations.
Replaces the ?ver= value on plugin and theme CSS and JavaScript files with a short hash, so scanners cannot read your exact plugin versions from the page source, while caches still refresh whenever a version changes.
Hides chosen plugins from the Plugins screen for everyone except the users you name, so clients do not deactivate them by accident.
Shows a "Log in to see prices" link instead of prices and disables purchasing until the visitor logs in. Common for wholesale and B2B shops.
Removes the "(12)" product count shown beside category names on the shop page when categories are displayed.
Keeps unfinished products that have no price yet out of the shop, category pages and product searches until you add one.
Removes the Rank Math meta box and settings from post types that are never shown in search, such as internal records or form entries.
Removes the meta block below the add to cart button that lists the SKU, categories and tags of the product.
Stops SKUs from being shown on product pages while keeping them available in the admin.
Removes chosen templates, such as a landing page or a blank canvas, from the template picker for editors and authors, so only administrators can apply layouts that need care.
Leaves shipping out of the cart totals so it is only calculated and shown at checkout, once the customer has entered an address.
Removes the core blocks you list from the post editor, so writers only see the blocks you want them to use.
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 comments written by authors, editors and administrators out of the Recent Comments widget, so it highlights what readers are saying.
Removes the star rating below product titles on shop and category pages. Ratings stay visible on product pages.
Makes a category archive list only the posts assigned directly to that category, not the posts from its child categories.