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.
Shows administrators a warning in the dashboard when WordPress could not send an email, with the error message, so delivery problems are noticed quickly.
Adds a [wpide_affiliate_stats] shortcode that shows the logged-in affiliate their unpaid and paid earnings, referral count, visits and personal referral link on any page.
Adds a required "I confirm I am 18 or older" checkbox to the classic checkout and records the confirmation on the order.
Lets users who can write posts but not upload files (the Contributor role) add images to their drafts. The role itself is not changed in the database.
Adds max-snippet:-1 and max-video-preview:-1 to the robots meta tag, letting search engines show longer text snippets and video previews for your pages.
Limits the file types authors, editors and other non-admin users can upload to common images and PDF documents.
Limits uploads to common images, documents, audio and video, and rejects files with a hidden second extension such as photo.php.jpg.
Removes maximum-scale and user-scalable=no from the page's viewport tag when a theme or plugin adds them, so visitors can zoom in on phones as WCAG requires.
Lets users in chosen roles, such as shop managers or support staff, log in only on working days between set hours in the site's time zone.
Replaces the usual same-site framing rule with a Content-Security-Policy frame-ancestors list, so your pages can be shown in iframes on the partner sites you name and nowhere else.
Adds an Alt text column to the Media Library list view and flags images that have none, making accessibility clean-ups much quicker.
Adds Media > Alt Text Editor, a page that lists images without alternative text with a thumbnail and a text field next to each, so you can describe dozens of images quickly and save them all at once.
Makes links inside posts and pages underlined, so they can be recognised without relying on color alone, as WCAG requires for links in text.
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.
On search result pages, tells screen reader users how many results were found for their search as soon as the page loads.
Shows the latest headlines from an RSS feed of your choice on the dashboard, such as your agency blog or an industry news site.
Outputs BlogPosting schema (JSON-LD) on single posts with the headline, dates, author, image and publisher.
Shows a confirmation dialog when someone clicks "Trash" under a post, page or media item, or applies the Move to Trash bulk action, to prevent accidental removals.
Gives posts created outside the editor, for example by importers, cron jobs, forms or the REST API, the default Polylang language when they have none, so they do not vanish from language-filtered lists.
Stops the Astra theme from showing the featured image at the top of pages, while it is still used for social sharing and page lists.
Prints a slim message bar above the Astra header on every page, for sales, shipping notes or event dates, using Astra's own header hook.
Removes the sidebar in the Astra theme for the post types you list, such as products, courses or landing pages, without changing each item's settings.