• Skip to main content
  • Skip to footer
AWP Wordpress Classifieds Plugin

AWP Wordpress Classifieds Plugin

The most widely used classifieds plugin for WordPress

  • Features
  • Pricing
  • Demo
  • Support
  • Login
  • Get AWPCP

AWPCP Shortcodes

August 28, 2020 By Bobbie Devereux

AWPCP Shortcodes

  1. Home
  2. Knowledge Base
  3. Customizations/Integrations
  4. AWPCP Shortcodes

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.

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)

If you have Featured Ads installed you can also use this parameter:

  • sortfeatured: Display featured listings on top of the list (default: false).

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)

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.

Was this article helpful?

Yes No

Related Articles

  • Using Placeholders and Field Codes
  • Customizing the Style of AWPCP
  • Custom Ad Fields
  • How to Create a Custom Payment Gateway with AWPCP

10,000+ people can’t be wrong. Try AWP Classifieds today

Want to know more about the best WordPress Classifieds plugin?

See the pricing options or check out our classifieds demo to get a first-hand look.

Download Now Free

Footer

  • Quick Start Guide
  • Documentation
  • Contact
  • Terms of Service
  • Privacy Policy
  • About
  • Blog
  • Affiliates
  • Showcase

Our Brands

  • Formidable Forms
  • Business Directory Plugin

Secrets of Great Classified Sites

Secrets of Great Classified Sites

Find out how to create a compelling, thriving classifieds site from scratch in this ridiculously actionable (and free) 5-part email course.

Another WordPress Classifieds Plugin (AWPCP)

Copyright AWPCP.com
All Rights Reserved