Auctions for WooCommerceAuctions for WooCommerce
Buy Now
View Demo
  • Getting Started

    • Introduction
    • Quick Start
    • Features
    • Installation
    • First-Time Setup
    • Onboarding Tour
  • Admin Guide

    • Admin Overview
    • Dashboard
    • All Auctions
    • Add / Edit Auction
    • Bids
    • Reports
    • Events
    • Wallet
    • Disputes
    • Blocked Users
    • Fraud Detection
    • Tools (Import / Export)
    • Settings
    • Design Studio
    • Pending Review
    • Audit Log
  • Auction Mechanics

    • Auction Types
    • Bidding Engine
    • Anti-Sniping
    • Bid Increments
    • Reserve & Buy Now
    • Auto-Relist
    • Watchlist
  • Customer Experience

    • Customer Overview
    • My Auctions
    • My Wallet
    • Withdrawal
    • Single Auction Page
    • Notifications
  • Wallet & Payments

    • Wallet System
    • Auto-Charge
    • Stripe Connect
    • Monetization Fees
  • Multi-Vendor & Integrations

    • Multi-Vendor Compatibility
    • Twilio SMS
    • Firebase Push
    • Two-Factor Auth
    • Captcha
    • Social Login
    • Subscription Gate
    • Elementor & Gutenberg
  • Premium Features

    • Smart Features
    • Psychology Triggers
    • Gamification
    • Fraud Detection
    • Compliance
    • Social Sharing
    • Email Notifications
  • Developer

    • REST API
    • Hooks & Filters
    • JS Events
    • Database Schema
    • Shortcodes
    • Options Reference
    • WP-CLI
  • Help

    • Troubleshooting
    • FAQ
    • Glossary
    • Changelog
Support
Buy Now
View Demo
  • Getting Started

    • Introduction
    • Quick Start
    • Features
    • Installation
    • First-Time Setup
    • Onboarding Tour
  • Admin Guide

    • Admin Overview
    • Dashboard
    • All Auctions
    • Add / Edit Auction
    • Bids
    • Reports
    • Events
    • Wallet
    • Disputes
    • Blocked Users
    • Fraud Detection
    • Tools (Import / Export)
    • Settings
    • Design Studio
    • Pending Review
    • Audit Log
  • Auction Mechanics

    • Auction Types
    • Bidding Engine
    • Anti-Sniping
    • Bid Increments
    • Reserve & Buy Now
    • Auto-Relist
    • Watchlist
  • Customer Experience

    • Customer Overview
    • My Auctions
    • My Wallet
    • Withdrawal
    • Single Auction Page
    • Notifications
  • Wallet & Payments

    • Wallet System
    • Auto-Charge
    • Stripe Connect
    • Monetization Fees
  • Multi-Vendor & Integrations

    • Multi-Vendor Compatibility
    • Twilio SMS
    • Firebase Push
    • Two-Factor Auth
    • Captcha
    • Social Login
    • Subscription Gate
    • Elementor & Gutenberg
  • Premium Features

    • Smart Features
    • Psychology Triggers
    • Gamification
    • Fraud Detection
    • Compliance
    • Social Sharing
    • Email Notifications
  • Developer

    • REST API
    • Hooks & Filters
    • JS Events
    • Database Schema
    • Shortcodes
    • Options Reference
    • WP-CLI
  • Help

    • Troubleshooting
    • FAQ
    • Glossary
    • Changelog
Support
  • Getting Started

    • Introduction
    • Quick Start
    • Feature Catalog
    • Installation
    • First-Time Setup
    • Onboarding Tour
  • Admin Guide

    • Admin Overview
    • Dashboard
    • All Auctions
    • Add / Edit Auction
    • Bids
    • Reports
    • Events
    • Wallet (Admin)
    • Disputes
    • Blocked Users
    • Fraud Detection
    • Tools
    • Settings
    • Design Studio
    • Pending Review
    • Audit Log
  • Auction Mechanics

    • Auction Types
    • Bidding Engine
    • Anti-Sniping (Soft Close)
    • Bid Increments
    • Reserve & Buy Now
    • Auto-Relist
    • Watchlist
  • Customer Experience

    • Customer Experience Overview
    • My Auctions
    • My Wallet
    • Withdrawal
    • Single Auction Page
    • Customer Notifications
  • Wallet & Payments

    • Wallet System
    • Wallet Auto-Charge
    • Stripe Connect
    • Monetization
  • Multi-Vendor & Integrations

    • Multi-Vendor Compatibility
    • Twilio SMS
    • Firebase (Push Notifications)
    • Two-Factor Authentication
    • Captcha
    • Social Login
    • Subscription Gate
    • Elementor & Gutenberg
  • Premium Features

    • Smart Features
    • Psychology Triggers
    • Gamification
    • Fraud Detection
    • Compliance
    • Social Sharing
    • Email Notifications
  • Developer

    • REST API
    • Hooks & Filters
    • JavaScript Events
    • Database Schema
    • Shortcodes
    • Options Reference
    • WP-CLI
  • Help

    • Troubleshooting
    • FAQ
    • Glossary
    • Changelog

Shortcodes

For each Gutenberg block / Elementor widget, an equivalent shortcode is available — useful for classic editor, Beaver Builder, Divi, and similar.

Auction Grid page — what  renders on the storefront when you drop it on any page or template

Quick reference

ShortcodeEquivalent
[wkafw_auctions]Auction list grid
[wkafw_auction]Single auction (by ID)
[wkafw_countdown]Standalone countdown
[wkafw_bid_form]Bid form (use inside custom layouts)
[wkafw_search]Search bar
[wkafw_top_bidders]Leaderboard
[wkafw_recent_winners]Recently-paid lots
[wkafw_my_auctions]Customer's My Auctions tabs
[wkafw_my_wallet]Wallet balance display
[wkafw_watchlist]User's watchlist
[wkafw_auction_of_day]Featured rotation
[wkafw_flash_auctions]Flash auction grid
[wkafw_event_landing]Event page (by event ID)
[wkafw_donor_wall]Charity donor wall
[wkafw_leaderboard]Achievements leaderboard
[wkafw_compare]Comparison page
[wkafw_share_buttons]Social share row
[wkafw_seller_register](legacy) seller registration form

Auction list grid

[wkafw_auctions
    status="active"
    type="all"
    category="watches"
    sort="end_date"
    order="ASC"
    limit="12"
    columns="3"
    layout="grid"
    show_countdown="yes"
    show_bid_count="yes"
    pagination="yes"
]
ParamDefaultValues
statusactiveactive, scheduled, ended, paid, all
typeallstandard, reverse, sealed, proxy, silent, charity, penny, dutch, seated, unique-bid, all
category(none)WC product category slug
vendor_id(none)Filter to one vendor
sortend_datestart_date, end_date, current_price, bid_count, created_at
orderASCASC, DESC
limit12Max items
columns31–6
layoutgridgrid, list, carousel
show_countdownyesyes, no
show_bid_countyesyes, no
show_watchersnoyes, no
paginationyesyes, no
class(empty)Extra CSS class

Single auction

[wkafw_auction id="123"]
ParamDefaultEffect
id(required)Auction ID
componentsallComma-list: bid_form,countdown,history,share,buy_now,reserve
layouttwo-columntwo-column, stacked

Countdown timer

[wkafw_countdown auction="123" style="large"]
ParamDefaultValues
auction(required)Auction ID
stylecompactcompact, large, minimal
show_labelyesyes, no
when_endedhidehide, show, redirect

Bid form (in-context)

For custom auction layouts where you want to compose components yourself:

[wkafw_bid_form auction="123"]
ParamDefaultEffect
auction(required)Auction ID
quick_bidsyesShow quick-bid buttons
show_maxautoShow "Max bid" field for proxy auctions

Search bar

[wkafw_search]

Renders an autocomplete search input that queries auctions live (uses /wp-json/wkafw/v1/search).

ParamDefaultEffect
placeholder"Search auctions..."Input placeholder
limit10Max suggestions
categories(none)Restrict to categories

Top bidders / leaderboard

[wkafw_top_bidders limit="10" range="all"]
ParamDefaultValues
limit10Number of rows
rangeallday, week, month, all
show_avataryesyes, no
show_countyesyes, no

Recent winners

[wkafw_recent_winners limit="6"]

Shows recently-paid auctions with winner names, amounts, and "won X minutes ago" timestamps.

Customer endpoints

These render the same content as their respective My-Account pages — use to embed in custom dashboards:

[wkafw_my_auctions tab="active"]   # active / won / lost / watchlist
[wkafw_my_wallet]
[wkafw_watchlist]

Auction of the Day

[wkafw_auction_of_day style="hero"]

Renders the Auction of the Day prominently. Style: hero (full-width banner) or card (compact).

Flash auctions

[wkafw_flash_auctions]

Grid of currently-running flash auctions with heightened urgency UI.

Event landing

[wkafw_event_landing event_id="42"]

Renders an event page inline. Use to embed event listings in custom layouts.

Donor wall

[wkafw_donor_wall limit="50" charity_only="yes"]

Public donor list. Defaults to last 50 donations across all charity auctions. Set charity_only="no" for any auction donor.

Compare

[wkafw_compare]

Renders the comparison page (up to 3 lots side-by-side).

Share buttons

[wkafw_share_buttons platforms="facebook,twitter,whatsapp,linkedin"]

Standalone share row. Useful when you want shares on a non-auction page (e.g., "share this campaign").

Custom shortcodes

Register your own:

add_shortcode( 'my_auction_widget', function( $atts ) {
    $atts = shortcode_atts( [ 'category' => '', 'limit' => 5 ], $atts );

    $auctions = wkafw_get_auctions( [
        'category' => $atts['category'],
        'limit'    => (int) $atts['limit'],
        'status'   => 'active',
    ] );

    ob_start();
    foreach ( $auctions as $auction ) {
        // ... your output
    }
    return ob_get_clean();
} );

Performance

Shortcodes cache their query results:

  • 60-second TTL for active-auction queries
  • Cached per-shortcode-attribute hash
  • Bust on bid placement (cache invalidation tied to wkafw_bid_placed hook)

For very-high-traffic pages with many shortcodes, ensure object cache (Redis / Memcached) is enabled.

Common questions

"Can I use these in widgets?"

Yes — shortcodes work in WP Text widgets, Custom HTML widgets, Elementor's "Shortcode" widget, and similar.

"How do I get a list of currently-active auctions in PHP?"

Use wkafw_get_auctions() directly:

$auctions = wkafw_get_auctions( [
    'status' => 'active',
    'limit'  => 10,
    'sort'   => 'end_date',
    'order'  => 'ASC',
] );
foreach ( $auctions as $auction ) {
    echo $auction->title . ' — $' . $auction->current_price;
}

"Why does [wkafw_bid_form] show 'Auction not found'?"

The shortcode requires auction attribute with a valid auction ID. Ensure you're passing it correctly: [wkafw_bid_form auction="123"].

Prev
Database Schema
Next
Options Reference