Auction Products Shortcode
Shortcodes can be used on pages , posts and widget in WordPress. If you are using the block editor, there is a shortcode block you can use to paste the shortcode in.
- New Auction
- All Auction
- Live Auction
- Ending soon Auction
- Expired Auction
- Pending Auction
- Featured Auction
- Single Auction (Woocommerce Shortcodes)
New Auction
[uwa_new_auctions]
Shortcode Attributes / Paramters:
-
days_when_added
: Only display10
days auctions since creation date. columns
: The number of columns to display. Defaults to4
orderby
: – Sorts the Auction Products displayed by the entered option. One or more options can be passed by adding both slugs with a space between them. Available options are:date
– The date the Auction Product was published.id
– The post ID of the Auction Product.menu_order
– The Menu Order, if set (lower numbers display first).popularity
– The number of purchases.rand
– Randomly order the Auction Products on page load (may not work with sites that use caching, as it could save a specific order).rating
– The average Auction Product rating.title
– The Auction Product title. This is the defaultorderby
mode.
order
:States whether the Auction Product order is ascending (ASC
) or descending (DESC
), using the method set inorderby
. Defaults toASC
.show_expired
:Default is yes. If we selectno
then expired auction will not be displayed.limit
:The number of Auction Products to display. Defaults to and-1
(display all) when listing Auction Products, and-1
(display all) for categories.paginate
: Toggles pagination on. Use in conjunction withlimit
. Defaults tofalse
set totrue
to paginate .event_id
: Event IDtimer
: Defaults tofalse
set totrue
to display timer.category
: category slugs.
All Auction
[uwa_all_auctions]
Shortcode Attributes / Paramters:
columns
: The number of columns to display. Defaults to4
orderby
: – Sorts the Auction Products displayed by the entered option. One or more options can be passed by adding both slugs with a space between them. Available options are:date
– The date the Auction Product was published.id
– The post ID of the Auction Product.menu_order
– The Menu Order, if set (lower numbers display first).popularity
– The number of purchases.rand
– Randomly order the Auction Products on page load (may not work with sites that use caching, as it could save a specific order).rating
– The average Auction Product rating.title
– The Auction Product title. This is the defaultorderby
mode.
order
:States whether the Auction Product order is ascending (ASC
) or descending (DESC
), using the method set inorderby
. Defaults toASC
.limit
:The number of Auction Products to display. Defaults to and-1
(display all) when listing Auction Products, and-1
(display all) for categories.paginate
: Toggles pagination on. Use in conjunction withlimit
. Defaults tofalse
set totrue
to paginate .event_id
: Event IDtimer
: Defaults tofalse
set totrue
to display timer.category
: category slugs.
Live Auction
[uwa_live_auctions]
Shortcode Attributes / Paramters:
columns
: The number of columns to display. Defaults to4
orderby
: – Sorts the Auction Products displayed by the entered option. One or more options can be passed by adding both slugs with a space between them. Available options are:date
– The date the Auction Product was published.id
– The post ID of the Auction Product.menu_order
– The Menu Order, if set (lower numbers display first).popularity
– The number of purchases.rand
– Randomly order the Auction Products on page load (may not work with sites that use caching, as it could save a specific order).rating
– The average Auction Product rating.title
– The Auction Product title. This is the defaultorderby
mode.
order
:States whether the Auction Product order is ascending (ASC
) or descending (DESC
), using the method set inorderby
. Defaults toASC
.hidescheduled
:Default is yes. If we selectno
then expired auction will not be displayed.limit
:The number of Auction Products to display. Defaults to and-1
(display all) when listing Auction Products, and-1
(display all) for categories.paginate
: Toggles pagination on. Use in conjunction withlimit
. Defaults tofalse
set totrue
to paginate .event_id
: Event IDtimer
: Defaults tofalse
set totrue
to display timer.category
: category slugs.
Ending soon Auction
[uwa_ending_soon_auctions]
Shortcode Attributes / Paramters:
columns
: The number of columns to display. Defaults to4
orderby
: – Sorts the Auction Products displayed by the entered option. One or more options can be passed by adding both slugs with a space between them. Available options are:date
– The date the Auction Product was published.id
– The post ID of the Auction Product.menu_order
– The Menu Order, if set (lower numbers display first).popularity
– The number of purchases.rand
– Randomly order the Auction Products on page load (may not work with sites that use caching, as it could save a specific order).rating
– The average Auction Product rating.title
– The Auction Product title. This is the defaultorderby
mode.
order
:States whether the Auction Product order is ascending (ASC
) or descending (DESC
), using the method set inorderby
. Defaults toASC
.hidescheduled
:Default is yes. If we selectno
then expired auction will not be displayed.limit
:The number of Auction Products to display. Defaults to and-1
(display all) when listing Auction Products, and-1
(display all) for categories.paginate
: Toggles pagination on. Use in conjunction withlimit
. Defaults tofalse
set totrue
to paginate .event_id
: Event IDtimer
: Defaults tofalse
set totrue
to display timer.category
: category slugs.
Expired Auction
[uwa_expired_auctions]
Shortcode Attributes / Paramters:
columns
: The number of columns to display. Defaults to4
orderby
: – Sorts the Auction Products displayed by the entered option. One or more options can be passed by adding both slugs with a space between them. Available options are:date
– The date the Auction Product was published.id
– The post ID of the Auction Product.menu_order
– The Menu Order, if set (lower numbers display first).popularity
– The number of purchases.rand
– Randomly order the Auction Products on page load (may not work with sites that use caching, as it could save a specific order).rating
– The average Auction Product rating.title
– The Auction Product title. This is the defaultorderby
mode.
order
:States whether the Auction Product order is ascending (ASC
) or descending (DESC
), using the method set inorderby
. Defaults toASC
.limit
:The number of Auction Products to display. Defaults to and-1
(display all) when listing Auction Products, and-1
(display all) for categories.paginate
: Toggles pagination on. Use in conjunction withlimit
. Defaults tofalse
set totrue
to paginate .event_id
: Event IDcategory
: category slugs.
Pending Auction
[uwa_pending_auctions]
Shortcode Attributes / Paramters:
columns
: The number of columns to display. Defaults to4
orderby
: – Sorts the Auction Products displayed by the entered option. One or more options can be passed by adding both slugs with a space between them. Available options are:date
– The date the Auction Product was published.id
– The post ID of the Auction Product.menu_order
– The Menu Order, if set (lower numbers display first).popularity
– The number of purchases.rand
– Randomly order the Auction Products on page load (may not work with sites that use caching, as it could save a specific order).rating
– The average Auction Product rating.title
– The Auction Product title. This is the defaultorderby
mode.
order
:States whether the Auction Product order is ascending (ASC
) or descending (DESC
), using the method set inorderby
. Defaults toASC
.limit
:The number of Auction Products to display. Defaults to and-1
(display all) when listing Auction Products, and-1
(display all) for categories.paginate
: Toggles pagination on. Use in conjunction withlimit
. Defaults tofalse
set totrue
to paginate .event_id
: Event IDtimer
: Defaults tofalse
set totrue
to display timer.category
: category slugs.
Featured Auction
[uwa_featured_auctions]
Shortcode Attributes / Paramters:
columns
: The number of columns to display. Defaults to4
orderby
: – Sorts the Auction Products displayed by the entered option. One or more options can be passed by adding both slugs with a space between them. Available options are:date
– The date the Auction Product was published.id
– The post ID of the Auction Product.menu_order
– The Menu Order, if set (lower numbers display first).popularity
– The number of purchases.rand
– Randomly order the Auction Products on page load (may not work with sites that use caching, as it could save a specific order).rating
– The average Auction Product rating.title
– The Auction Product title. This is the defaultorderby
mode.
order
:States whether the Auction Product order is ascending (ASC
) or descending (DESC
), using the method set inorderby
. Defaults toASC
.limit
:The number of Auction Products to display. Defaults to and-1
(display all) when listing Auction Products, and-1
(display all) for categories.paginate
: Toggles pagination on. Use in conjunction withlimit
. Defaults tofalse
set totrue
to paginate .event_id
: Event IDtimer
: Defaults tofalse
set totrue
to display timer.category
: category slugs.
Single Auction (Woocommerce Shortcodes)
[product_page id="99"] [product_page sku="FOO"]
Please review the below video for displaying the auction product using the theme shortcodes. It includes how to display live auction products, expired auction products, future auction products, ending soon auction products, etc... separately on the pages using theme shortcodes.