Snippet library
WordPress code snippets, ready to use.
707 free & Pro snippets and modules. Copy-paste-ready, or import in one click with SnipCraft.
Remove Dashboard Welcome Panel
Hides the default Welcome to WordPress panel shown at the top of the dashboard for all users.
Custom Site Status Dashboard Widget
Adds a dashboard widget showing at-a-glance site statistics: post counts by status, comment counts, user count, and site health score — all with a clean card layout.
Members-Only Content Gate
Shortcode [scseed_members_only] that hides content from logged-out visitors, replacing it with a styled login prompt; supports a role parameter to restrict to specific roles.
White-Label Admin Theme
Applies a branded white-label skin to the WordPress admin: custom colours, hidden WordPress branding, custom footer text, and admin-bar logo — all configurable via filters.
Admin Dashboard Notes Widget
Adds an editable sticky-notes dashboard widget for admins; content is saved per-user via AJAX to user meta and persists across sessions.
Recipe Card With Schema
Shortcode [scseed_recipe] that displays a fully styled recipe card with metadata and outputs Recipe JSON-LD for Google rich results.
HowTo Steps Block With Schema
Shortcode [scseed_howto] with nested [scseed_step] items that render a numbered instruction list and emit a HowTo JSON-LD block for rich step results.
Breadcrumb Bar With JSON-LD
Renders a schema-aware breadcrumb navigation bar via [scseed_breadcrumbs] shortcode or action hook, outputting both accessible HTML and BreadcrumbList JSON-LD.
Star Review Block With Schema
Shortcode [scseed_review_block] that renders a single star-rating summary card and emits a Review JSON-LD object for Google rich snippets.
Testimonials With Review Schema
Shortcode [scseed_testimonials] that renders a styled testimonial grid and outputs Review JSON-LD structured data for each quote.
SEO FAQ Block (Accordion + JSON-LD)
Shortcode [scseed_faq] that renders an accessible accordion FAQ and outputs a matching FAQPage JSON-LD block for Google rich results.
Google Tag Manager Container
Injects the GTM JavaScript snippet into <head> and the required <noscript> iframe into <body>, using a configurable container ID constant.
Consent-Gated Analytics Loader
Listens for consent events from any cookie-consent solution and dynamically loads analytics and marketing scripts only after the visitor opts in, preventing data collection before consent.
GDPR Cookie Preferences Center
Displays a consent banner with granular toggles for analytics, marketing, and functional cookies; stores preferences in a first-party cookie and blocks scripts until consent is given.
Sticky Coupon / Discount Bar
Renders a dismissible top bar displaying a coupon code that visitors can click to copy; on cart/checkout pages the bar also includes a one-click Apply button that submits the coupon via WooCommerce AJAX.
Product Comparison Tool
Lets shoppers add up to four products to a floating comparison bar from archive pages, then view a side-by-side attribute table via an [scseed_comparison_table] shortcode.
Product Video Tab
Adds a Video tab to the WooCommerce product tabs, embedding a responsive YouTube, Vimeo, or direct MP4 URL stored in a custom admin meta box on each product.
Flash Sale Countdown Banner
Displays a dismissible full-width countdown banner with a live timer counting down to the flash sale end time, configurable via a WordPress filter.
Request-a-Quote Form
Adds a Request a Quote button to single product pages that opens a modal form, then emails the enquiry to the site admin with product details and the customer message.
Back-in-Stock Notify Form
Displays an email capture form on out-of-stock products, stores requests in a custom DB table, and emails all registered addresses when that product comes back into stock.
Order Tracking Lookup Form
Provides an [scseed_order_tracking] shortcode that renders a form for customers to look up any order status by entering their order ID and billing email.
Estimated Delivery Date Display
Shows a formatted estimated delivery window on single product pages, calculated from configurable processing and shipping-day ranges, skipping weekends.
Free Gift Progress Bar
Displays a spend-to-unlock gift meter above the cart and checkout, and automatically adds or removes a configured free gift product when the cart subtotal crosses the threshold.
Wishlist / Save-for-Later Button
Adds a cookie-based wishlist heart button to product pages and archive cards, with an [scseed_wishlist] shortcode to display saved items.