Admin Notice Helper That Survives Redirects
Adds a wpide_flash_notice() helper that queues a success, warning or error message for the current user and shows it on the next admin screen, even after a redirect.
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.
Adds a wpide_flash_notice() helper that queues a success, warning or error message for the current user and shows it on the next admin screen, even after a redirect.
Adds "All Settings" to the Settings menu, which opens the hidden screen listing every stored option for administrators.
Refuses to give the administrator role to accounts whose email address is not on one of your approved domains, whether set from the profile screen, the Add User screen or a bulk role change.
Makes screen readers announce when a product is added to the cart with AJAX on shop and category pages, which otherwise happens silently.
Tells screen reader users when the cart has been updated after they change a quantity, remove a product or apply a coupon on the classic cart page, which otherwise happens silently.
Adds hidden "(opens in a new tab)" text and a small icon to links in post content that open a new window, so screen reader and keyboard users are not surprised.
On search result pages, tells screen reader users how many results were found for their search as soon as the page loads.
Adds a "Mobile bottom bar" menu location and shows that menu as a fixed bar of up to five links at the bottom of the screen on phones, like a mobile app.
New sign-ups wait for an administrator to approve them on the Users screen before they can log in, and get an email once approved.
Adds a "Current password" field to the profile screen and refuses changes to your own email address or password unless it is correct, so someone using an unattended logged-in browser cannot take over the account.
Requires administrators to log in again before opening plugin, theme, user and update screens when their login is older than 30 minutes, so a hijacked session cannot quietly install code or add users.
Changes the screen width at which the Astra theme switches to the mobile (hamburger) menu, useful when a long menu wraps on tablets.
Slides the admin bar out of view on the front end and brings it back when you move the mouse to the top edge of the screen.
Adds a Tools > Block Usage screen counting how many posts and pages use each block, with a link to the content using it, so you know which blocks and plugins are safe to remove.
Adds a star menu to the admin bar where each user can bookmark the admin screen they are on, such as a plugin's settings or a filtered list, and jump back to it from anywhere.
Adds a gently bouncing arrow to the bottom of any Cover block with the class "wpide-scroll-hint", inviting visitors to scroll past a full-screen hero.
Restyles the login screen with your own background, button and link colors.
Adds a "Last active" column to the WordPress Users screen using BuddyPress's activity tracking, so you can see who is actually using the community.
Sends logged-out visitors who open BuddyPress pages (members, profiles, activity, groups) to the login screen, so the community is visible to members only.
Adds "Add role" options to the Bulk actions menu on the Users screen, so you can give a second role to many users at once without replacing their current role.
Adds "Make sticky" and "Remove sticky" to the bulk actions on the Posts screen, so you can pin or unpin many posts at once instead of editing each one.
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.
Adds a "Camera details" box to the media edit screen showing the camera, lens settings, ISO, shutter speed, focal length and date taken that WordPress read from the photo.
Stops browsers on large screens from downloading huge image versions by leaving very wide sizes out of the responsive srcset list.