Example Custom REST API Endpoint
Registers a read-only endpoint at /wp-json/wpide/v1/latest that returns your latest posts in a compact format, as a starting point for your own API routes.
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.
Registers a read-only endpoint at /wp-json/wpide/v1/latest that returns your latest posts in a compact format, as a starting point for your own API routes.
Adds an Excerpt column to the Posts screen showing the start of each manual excerpt, and a clear "missing" label where none was written, so editors can fill the gaps.
Shows a live character and word count under a short preview of the excerpt in the editor sidebar, colored when it is too short or too long for search results and post cards.
Hides chosen categories from the classic Categories widget list or dropdown.
Removes chosen post types and taxonomies (tags by default) and the users list from the built-in wp-sitemap.xml.
Adds the "no-lazyload" class (and matching skip attributes) to the site logo and the featured image of single posts, so Smush and other lazy-load plugins load them immediately and improve Largest Contentful Paint.
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.
Removes whole post types, such as landing pages or a plugin's internal post type, from the Yoast SEO sitemap index.
Keeps chosen posts, and posts in chosen categories, out of Jetpack's Related Posts suggestions, such as announcements, legal pages or outdated content.
Stops chosen products or whole categories, such as gift cards, samples or spare parts, from appearing in the related products section.
Hides chosen posts or pages (thank-you pages, landing pages, legal pages) from front-end search results.
Keeps the posts and pages you list out of All in One SEO's XML sitemap.
Leaves the posts and pages you list out of Rank Math's XML sitemaps without changing their robots settings.
Leaves the posts and pages you list out of the built-in XML sitemap, such as thank-you pages, landing pages for ads or legal pages.
Keeps the posts and pages you list out of the Yoast SEO XML sitemaps while leaving them indexable.
Leaves taxonomy sitemaps, such as tags or a plugin's filter attributes, out of the Yoast SEO sitemap index.
Keeps posts in chosen categories out of the main RSS feed.
Keeps posts from the categories you choose, such as internal updates or sponsored posts, out of the site search results.
Hides posts in chosen categories from the main blog page. The posts remain visible in their own category archive.
Hides products from one or more categories on the main shop page while they remain available in their own category and by direct link.
Keeps posts from the categories you choose out of the classic Recent Posts widget, for example sponsored posts or internal news.
Shows a popup with your offer or newsletter link when a desktop visitor moves the mouse toward closing the tab, at most once every 30 days.
Makes users in chosen roles reset their password once it is older than 90 days; at login they are told it has expired and pointed to the password reset form.
Shortens how long the download link and ZIP file of a personal data export stay available, from WordPress's default of three days to one day.