Snippet library
WordPress code snippets, ready to use.
707 free & Pro snippets and modules. Copy-paste-ready, or import in one click with SnipCraft.
Product Badges (New/Hot/Bestseller)
Automatically overlays dynamic corner badges — New (recently added), Hot (on sale with percentage off), and Bestseller (by total sales) — on archive cards and single product pages.
Color/Image Variation Swatches
Replaces WooCommerce variation dropdowns with clickable color swatches or text buttons, syncing disabled states with WooCommerce availability checks.
Sticky Add-to-Cart Bar
Shows a fixed bottom bar with the product name, current price and an add-to-cart link once the visitor scrolls past the main purchase form.
Click-to-Copy Coupon Code Box
Shortcode that renders a styled coupon code box; clicking the code or the copy button copies it to the clipboard with a brief confirmation.
Business Hours Table With Open/Closed
Shortcode that renders a weekly hours table and shows a live "Open now" or "Closed" badge based on the visitor's local time.
Multi-Step Form Wizard
Shortcode-based multi-step form wizard with step indicators; final step submits all data via wp_mail with nonce verification.
AJAX Contact Form
Shortcode contact form that submits via fetch/AJAX without reloading the page; nonce-protected with live validation feedback.
Simple PHP Contact Form
Shortcode-based contact form that validates input, verifies a nonce, and sends the message to the admin via wp_mail — no plugin required.
Promo Strip Rotator
Cycles through a list of short promotional messages in a top-of-page strip, rotating on a configurable interval.
Countdown Announcement Bar
Displays a full-width top announcement bar with a live countdown timer to a deadline; dismissible with dismiss state stored in localStorage.
Generic Live Chat Launcher
Renders a floating "Chat with us" trigger button that opens an inline custom chat panel; no third-party service required.
WhatsApp Click-to-Chat Widget
Adds a floating WhatsApp button to the frontend that opens a pre-filled chat with a configurable phone number and message.
Multi-Action Floating Button (FAB)
A fixed floating action button that expands to reveal up to five labelled sub-action links; fully configurable via filters.
Spin-to-Win Wheel Popup
Gamified email-capture popup that lets visitors spin a canvas prize wheel; the result and email are emailed to the admin and the coupon is displayed.
Newsletter Slide-In Box
A corner slide-in subscribe prompt that collects an email address via wp_mail and remembers dismissal in localStorage for 7 days.
Time-Delay Popup
Displays a customisable overlay popup after a configurable delay (default 5 s); dismissed state is stored in sessionStorage for the current visit.
Scroll-Triggered Slide-In CTA
Shows a configurable slide-in call-to-action panel when the visitor scrolls past a set depth; dismissed state persists in localStorage.
Sticky Social Share Sidebar
Renders a fixed vertical social share rail on the left side of single posts with Twitter/X, Facebook, LinkedIn, Pinterest, and copy-link buttons that update dynamically.
Post Likes / Reactions Bar
Adds a Facebook-style emoji reactions bar below post content; counts are stored in post meta, user choices persist in a cookie, and the UI updates optimistically.
Live Visitor Counter
Shows a "X people are viewing this" social-proof badge on single posts by tracking active sessions in a transient; the count auto-refreshes every 60 seconds.
Print-This-Page Toolbar
Inserts a discreet print and save-as-PDF toolbar below post content with print-specific styles that hide navigation, sidebars, and ads.
Content Locker (Email to Unlock)
Gates post content behind an email-capture overlay; the visitor submits their email, the address is saved to a WordPress option, and the content slides into view — use [scseed_locker]...[/scseed_locker].
Recent Posts With Thumbnails Widget
Renders a compact list of recent posts with featured image thumbnails, title, date, and optional excerpt — use [scseed_recent_posts count="5" category="" excerpt="0"].
Trending Posts Widget
Counts page views per post via post meta, then renders the top trending posts with thumbnails via the [scseed_trending] shortcode.