Customizing ACADP Templates

Moving ACADP Templates To Your Theme

ACADP was built on the principle of being as flexible as possible.

Occasionally you may wish to edit one of the layout files that come with ACADP. Instead of editing the layout files right in the plugin you should move them to your theme, so that your changes aren’t lost when you update the ACADP plugin. This document will show you how to safely move template files to your theme.

Creating the Theme Location

  1. Create a new folder acadp/ inside your WordPress theme’s folder
  2. Then, go to the plugin folder for “Advanced Classifieds and Directory Pro” and find the /public/partials/ folder. You should see several sub-folders inside this folder each belongs to an ACADP page.
  3. Simply copy any sub-folder you wish from the public/partials/ folder into your new acadp/ folder and WordPress will automatically begin using your new copy. You may then safely make any changes you wish.

Available Template Files

Any template file/folder in the list below may be moved to your acadp/ folder.
Example: acadp/listings/

  • categories
  • listing
  • listings
  • locations
  • payments
  • user

Notes:

  • Please use a child theme whenever possible to avoid a theme update from deleting your custom template files.
  • You should only move sub-folders of the ACADP page that you’re actually going to change. That way all the files you do not change will continue to get updates from ACADP.