Shortcodes

Shortcode is a WordPress-specific code that lets you do nifty things with very little effort. For more information on shortcodes in WordPress, see the codex about shortcode.

Available Shortcodes

You can use our plugin shortcode builder  to generate shortcodes.

Go to your “WordPress Admin Panel => Classifieds & Directory => Dashboard => Shortcode Builder and check. Here you can generate the shortcodes.

ACADP Shortcodes

OR

Just insert one of the following shortcodes into any of your posts/pages.

[acadp_listings]
Display all the active listings in grid or list format.

[acadp_categories]
Display a list of ACADP categories.

[acadp_category id=1]
Display listings from the ACADP category of which id=1.

[acadp_locations]
Display a list of ACADP locations.

[acadp_location id=1]
Display listings from the ACADP location of which id=1.

[acadp_listing_form]
Display “Add New Listing” form.

[acadp_search_form]
Display listings search form.

Shortcode Attributes

Attributes
Supported Shortcodes
Values
category [acadp_listings] ACADP Category ID
Example: 100
location [acadp_listings] ACADP Location ID
Example: 200
id [acadp_category]
[acadp_location]
ACADP Location (or) Category ID
Example: 100
view [acadp_listings]
[acadp_category]
[acadp_location]
list
grid
map
orderby [acadp_listings]
[acadp_category]
[acadp_location]
title
date
price
views
order [acadp_listings]
[acadp_category]
[acadp_location]
asc
desc
filterby [acadp_listings]
[acadp_category]
[acadp_location]
featured
listings_per_page [acadp_listings]
[acadp_category]
[acadp_location]
A Numeric value
Example: 20
header [acadp_listings]
[acadp_category]
[acadp_location]
0 (or) 1
pagination [acadp_listings]
[acadp_category]
[acadp_location]
0 (or) 1