wpVoucherPro Shortcodes

Active Shop Voucher Shortcode

Outputs active vouchers from selected shops.

Example:
[wpvp_shop ids=awin_2342,adcell_5941 items=10]

Arguments:
ids = Enter comma separated wpVoucherPro Shop-ID(s).
items = How many items should be displayed per page?

Expired Shop Voucher Shortcode

Outputs expired vouchers from selected shops.

Example:
[wpvp_shop_expired ids=awin_2342,adcell_5941 items=10]

Arguments:
ids = Enter comma separated wpVoucherPro Shop-ID(s).
items = How many items should be displayed per page?

Related Shops Shortcode

Outputs related shops by given shop category ID(s).

Example:
[wpvp_shop_related ids=9 items=10]

Arguments:
ids = Enter comma separated Shop Category-ID(s).
items = How many items should be displayed per page?

Display Voucher by Shop Category Shortcode

Outputs vouchers by given shop category ID(s).

Example:
[wpvp_voucher_category ids=8,10,24 items=10]

Arguments:
ids = Enter comma separated Shop Category-ID(s).
items = How many items should be displayed per page?

Display Single Voucher Shortcode

Outputs rendered single voucher content.

Example:
example: [wpvp_voucher id=1]

Arguments
id = WordPress Post-ID.

Display Specific (Multiple) Voucher Shortcode

Outputs selected vouchers.

Example:
[wpvp_vouchers ids=adcell_3822,tradedoubler_2028 items=10]

Arguments
ids = Enter comma separated wpVoucherPro Voucher-ID(s).
items = How many items should be displayed per page?

Shop Overview (Glossary) Shortcode

Outputs a shop overview (glossary) of all published shops.

Example:
[wpvp_shop_overview]

Arguments
no arguments

Submit Voucher Form Shortcode

Outputs a form for users to submit voucher to wpVoucherPro.

Example:
[wpvp_submit_voucher_form fields=title,description,restrictons,expiration,code,mov,value,url,type required=title,code,url]

Arguments
fields = Enter input fields for form: shop_id,title,description,restrictons,expiration,code,mov,value,url,type
required = Enter required input fields for form: shop_id,title,description,restrictons,expiration,code,mov,value,url,type