โœจ Test Module Hook: Before Content - This is rendered via hook system

๐Ÿงช Test Module Demo

๐Ÿ“Œ Registered Hooks

database.seed
page.after_content
page.before_content
seo.data

๐ŸŽฏ Registered Shortcodes

[test-card] (module)
[products] (module)

โš™๏ธ test-card Shortcode Examples

Basic Product

Wireless Headphones

Wireless Headphones

Premium sound quality with noise cancellation

โ˜… โ˜… โ˜… โ˜… โ˜…
(248 reviews)
$79.99
โœ“ In Stock

Sale Product (with discount)

Mechanical Keyboard
-40%

Mechanical Keyboard

RGB switches with customizable lighting

โ˜… โ˜… โ˜… โ˜… โ˜†
(156 reviews)
$119.99 $199.99
โœ“ In Stock

Out of Stock Product

4K Monitor

4K Monitor

32" curved display with USB-C

โ˜… โ˜… โ˜… โ˜† โ˜†
(89 reviews)
$449.99
โœ— Out of Stock

New Product with Badge

Wireless Mouse
๐Ÿ†• NEW

Wireless Mouse

Ultra-responsive with 18-hour battery

โ˜… โ˜… โ˜… โ˜… โ˜…
(512 reviews)
$34.99
โœ“ In Stock

Premium Product

USB-C Hub (7-in-1)
-31%

USB-C Hub (7-in-1)

Docking station with multiple ports

โ˜… โ˜… โ˜… โ˜… โ˜…
(634 reviews)
$89.99 $129.99
โœ“ In Stock

Budget Friendly

Phone Stand

Phone Stand

Adjustable holder for all devices

โ˜… โ˜… โ˜… โ˜… โ˜†
(1245 reviews)
$12.99
โœ“ In Stock

๐Ÿ“ฆ [products] Shortcode - Real World Example

Display products using a loop. Below are different examples with various filters and settings:

โœจ All Products - Sorted by Popularity

[products sort="popular"]
Phone Stand Premium

Phone Stand Premium

Adjustable aluminum stand for all devices

โ˜… โ˜… โ˜… โ˜… โ˜†
(1245 reviews)
$12.99
โœ“ In Stock
Wireless Mouse Ultra
๐Ÿ†• NEW

Wireless Mouse Ultra

Lightweight gaming mouse with 18-hour battery life

โ˜… โ˜… โ˜… โ˜… โ˜…
(856 reviews)
$34.99
โœ“ In Stock
USB-C Hub 7-in-1

USB-C Hub 7-in-1

Multi-port docking station with 100W charging

โ˜… โ˜… โ˜… โ˜… โ˜…
(634 reviews)
$89.99
โœ“ In Stock
Laptop Stand Aluminum

Laptop Stand Aluminum

Portable stand for 11-17" laptops

โ˜… โ˜… โ˜… โ˜… โ˜†
(567 reviews)
$24.99
โœ“ In Stock
Gaming Mousepad XL

Gaming Mousepad XL

Extended gaming surface with RGB lighting

โ˜… โ˜… โ˜… โ˜… โ˜…
(489 reviews)
$39.99
โœ“ In Stock
Wireless Headphones Pro
๐Ÿ”ฅ Best Seller

Wireless Headphones Pro

Premium noise-cancelling headphones with 30-hour battery

โ˜… โ˜… โ˜… โ˜… โ˜…
(428 reviews)
$149.99
โœ“ In Stock
Mechanical Keyboard RGB

Mechanical Keyboard RGB

Cherry MX switches with customizable RGB lighting

โ˜… โ˜… โ˜… โ˜… โ˜†
(312 reviews)
$119.99
โœ“ In Stock
Studio Microphone Pro

Studio Microphone Pro

Professional XLR microphone with shock mount

โ˜… โ˜… โ˜… โ˜… โ˜…
(234 reviews)
$199.99
โœ“ In Stock
4K Ultra Monitor 32"

4K Ultra Monitor 32"

Curved gaming monitor with 144Hz refresh rate

โ˜… โ˜… โ˜… โ˜… โ˜…
(187 reviews)
$449.99
โœ“ In Stock

โญ Featured Products (Limit 3)

[products limit="3" columns="3" sort="popular"]
Phone Stand Premium

Phone Stand Premium

Adjustable aluminum stand for all devices

โ˜… โ˜… โ˜… โ˜… โ˜†
(1245 reviews)
$12.99
โœ“ In Stock
Wireless Mouse Ultra
๐Ÿ†• NEW

Wireless Mouse Ultra

Lightweight gaming mouse with 18-hour battery life

โ˜… โ˜… โ˜… โ˜… โ˜…
(856 reviews)
$34.99
โœ“ In Stock
USB-C Hub 7-in-1

USB-C Hub 7-in-1

Multi-port docking station with 100W charging

โ˜… โ˜… โ˜… โ˜… โ˜…
(634 reviews)
$89.99
โœ“ In Stock

๐ŸŽง Audio Products

[products category="audio"]
Wireless Headphones Pro
๐Ÿ”ฅ Best Seller

Wireless Headphones Pro

Premium noise-cancelling headphones with 30-hour battery

โ˜… โ˜… โ˜… โ˜… โ˜…
(428 reviews)
$149.99
โœ“ In Stock
Studio Microphone Pro

Studio Microphone Pro

Professional XLR microphone with shock mount

โ˜… โ˜… โ˜… โ˜… โ˜…
(234 reviews)
$199.99
โœ“ In Stock

๐Ÿ’ก Accessories - Price Low to High

[products category="accessories" sort="price-asc" columns="4"]
Phone Stand Premium

Phone Stand Premium

Adjustable aluminum stand for all devices

โ˜… โ˜… โ˜… โ˜… โ˜†
(1245 reviews)
$12.99
โœ“ In Stock
Laptop Stand Aluminum

Laptop Stand Aluminum

Portable stand for 11-17" laptops

โ˜… โ˜… โ˜… โ˜… โ˜†
(567 reviews)
$24.99
โœ“ In Stock
Gaming Mousepad XL

Gaming Mousepad XL

Extended gaming surface with RGB lighting

โ˜… โ˜… โ˜… โ˜… โ˜…
(489 reviews)
$39.99
โœ“ In Stock
USB-C Hub 7-in-1

USB-C Hub 7-in-1

Multi-port docking station with 100W charging

โ˜… โ˜… โ˜… โ˜… โ˜…
(634 reviews)
$89.99
โœ“ In Stock

โŒจ๏ธ Input Devices

[products category="input" columns="2"]
Wireless Mouse Ultra
๐Ÿ†• NEW

Wireless Mouse Ultra

Lightweight gaming mouse with 18-hour battery life

โ˜… โ˜… โ˜… โ˜… โ˜…
(856 reviews)
$34.99
โœ“ In Stock
Mechanical Keyboard RGB

Mechanical Keyboard RGB

Cherry MX switches with customizable RGB lighting

โ˜… โ˜… โ˜… โ˜… โ˜†
(312 reviews)
$119.99
โœ“ In Stock

๐Ÿ“– [test-card] Shortcode

Single product card with full control:

[test-card
    title="Product Name"
    price="99.99"
    original_price="129.99"
    rating="5"
    reviews="100"
    badge="Hot Sale"
]

๐Ÿ“ฆ [products] Shortcode

List products in a loop with filters:

[products
    limit="12"
    category="accessories"
    columns="3"
    sort="price-asc"
]

โš™๏ธ [products] Parameters

limit

0 = all products, or specify a number (e.g., 6)

category

audio, input, displays, accessories

columns

1, 2, 3, or 4 columns per row

sort

popular, price-asc, price-desc, newest

๐ŸŽ‰ Test Module Hook: After Content - This is rendered via hook system