Valid AWPCP Shortcodes (3.x) | FAQ | Support Forum

A A A

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Valid AWPCP Shortcodes (3.x)
January 3, 2014
7:49 pm
awpcp
Admin
Forum Posts: 298
Member Since:
April 29, 2012
sp_UserOfflineSmall Offline

These shortcodes are valid in AWPCP 3.0.2 and later.

Page Shortcodes

The following shortcodes take no parameters.

  • AWPCPCLASSIFIEDSUI: Shows Classifieds main page.
  • AWPCPSHOWAD: Shows Show Ad page.
  • AWPCPPLACEAD: Shows Place Ad page.
  • AWPCPEDITAD: Shows Edit Ad page.
  • AWPCP-RENEW-AD: Shows Renew Ad page.
  • AWPCPSEARCHADS: Shows Search Ads page.
  • AWPCPREPLYTOAD: Shows Reply to Ad page.
  • AWPCPBROWSEADS: Shows Browse Ads page.
  • AWPCPBROWSECATS: Shows Browse Categories page.
  • AWPCPBUYCREDITS: Shows Buy Credits page.
  • AWPCP-BUY-SUBSCRIPTION: Shows Buy Subscription page. The shortcode requires the Subscriptions premium module to be installed and activated.

Supported but no longer used (as of 3.0.2)

The following shortcodes are still supported, can be inserted in pages or post without erros, but they do and show nothing.

  • AWPCPPAYMENTTHANKYOU: Used to show Payment Thank you page, now it shows nothing.
  • AWPCPCANCELPAYMENT: Used to show Payment Canceled page, now it shows nothing.

Other Shortcodes

  • AWPCPLATESTLISTINGS: Shows latest listings. It takes two parameters:
    • menu: Whether the standard classifieds menu items should be shown or not (default: true).
    • limit: The number of listings to show (default: 10).
  • AWPCPRANDOMLISTINGS: Shows random listings. It takes two parameters:
    • menu: Whether the standard classifieds menu items should be shown or not (default: true).
    • limit: The number of listings to show (default: 10).
  • AWPCPFEATUREDLISTINGS: Show featured listings. It takes two parameters:
    • menu: Whether the standard classifieds menu items should be shown or not (default: true).
    • limit: The number of listings to show (default: 10).

    The shortcode requires the Featured Ad premium module to be installed and activated.

  • AWPCPSHOWCAT: Shows listings in a specific category. It takes two parameters:
    • id: The ID of the category (required).
    • children: Whether listings in sub-categories of the selected category should be included in the results (default: true). id.', array($this, 'category_shortcode'));
  • (3.6 and later) AWPCPUSERLISTINGS: Shows listings for a user, depending on the settings: It takes three parameters:
    • menu: true or false to show or hide the menu items.
    • limit: the number of listings to show.
    • user_id: if present, the listings of the specified uses will be shown. If not present, the shortcode will show the listings of currently logged in user'. If no user is logged in and no user_id was provided, the shortcode will show nothing.
Forum Timezone: America/Denver

Most Users Ever Online: 163

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Johnny B: 140

godie: 120

kerdezo: 99

laburke: 94

NAIN KHAN: 93

salvig67: 84

rude: 72

purplepaula: 72

WAYTOBAYWTB52: 71

gery: 71

Member Stats:

Guest Posters: 32

Members: 37963

Moderators: 2

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 6980

Posts: 31071

Newest Members:

realtoxic, Coen Deurloo, Ewa, nailsjul24, marnails89, Rahul Bose, Nick, natinail52, I love James Bond

Moderators: awpcp: 7530, AWPCP Support: 5262

Administrators: wpengine: 0, awpcp: 298

Skip to toolbar