Auction Events 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.
Please review the below video for auction event shortcodes. This video will cover how to display live auction events, future auction events, past auction events, and all auction events using theme shortcodes.
All Events
[ua_all_events]
Shortcode Attributes / Paramters:
-
selected_datetime
: Only display between dates Like"today,2022-08-31"
orderby
: – Sorts the Auction Events 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.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
.timer
: Defaults tofalse
set totrue
to display timer.show_expired
:Default is yes. If we selectno
then expired auction will not be displayed.per_page
:The number of Auction Events to display. Defaults to and12
(display all) when listing Auction Events, and-1
(display all) for categories.show_pagination
: Toggles pagination on. Use in conjunction withlimit
. Defaults toNo
set toYes
to pagination .
Live Events
[ua_live_events]
Shortcode Attributes / Paramters:
-
selected_datetime
: Only display between dates Like"today,2022-08-31"
orderby
: – Sorts the Auction Events 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.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
.timer
: Defaults tofalse
set totrue
to display timer.show_expired
:Default is yes. If we selectno
then expired auction will not be displayed.per_page
:The number of Auction Events to display. Defaults to and12
(display all) when listing Auction Events, and-1
(display all) for categories.show_pagination
: Toggles pagination on. Use in conjunction withlimit
. Defaults toNo
set toYes
to pagination .
Future Events
[ua_future_events]
Shortcode Attributes / Paramters:
-
selected_datetime
: Only display between dates Like"today,2022-08-31"
orderby
: – Sorts the Auction Events 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.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
.timer
: Defaults tofalse
set totrue
to display timer.show_expired
:Default is yes. If we selectno
then expired auction will not be displayed.per_page
:The number of Auction Events to display. Defaults to and12
(display all) when listing Auction Events, and-1
(display all) for categories.show_pagination
: Toggles pagination on. Use in conjunction withlimit
. Defaults toNo
set toYes
to pagination .
Past Events
[ua_past_events]
Shortcode Attributes / Paramters:
-
selected_datetime
: Only display between dates Like"today,2022-08-31"
orderby
: – Sorts the Auction Events 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.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.per_page
:The number of Auction Events to display. Defaults to and12
(display all) when listing Auction Events, and-1
(display all) for categories.show_pagination
: Toggles pagination on. Use in conjunction withlimit
. Defaults toNo
set toYes
to pagination .