Listings directories

The plugin has an ability to build multi-directory website. By default there is one "Listings" directory, this standard directory can not be removed.

Each directory must have own page with its unique shortcode. That page must not have any child pages, it must be public, not private, not in trash.

Manage directories at the "Directory Admin -> Listings Directories" page.
Each directory follows same settings from built-in settings panel. But administrator can build custom home page with individual shortcode parameters. Each directory has options to set up separate locations, categories and levels, those will be available for this directory. In the same way listings levels can own separate content fields, so each directory can have individual content fields.

Directory settings:

Directory name - the name of directory.

Single form and Plural form - the name of directory items in 2 forms. Examples: plural form - "Found 5 listings", single form - "Found 1 listing".

Listing slug - this is a part of URL for single listing page, for example, in this URL
https://www.yoursite.com/directory/listing/name
name - is the name of listing and listing - is the slug. Listing slug take part in some permalinks structures, see about listings permalinks structure.

Category slug - this is a part of URL for categories sections, for example, in this URL
https://www.yoursite.com/directory/listing-category/business/
business - is the name of category and listing-category - is the slug.

Location slug - this is a part of URL for locations sections, for example, in this URL
https://www.yoursite.com/directory/listing-place/united-states/los-angeles/
united-states/los-angeles - is the path of locations tree and listing-place - is the slug.

Tag slug - this is a part of URL for tags sections, for example, in this URL
https://www.yoursite.com/directory/listing-tag/service/
service - is the name of tag and listing-tag - is the slug.

Slugs must contain only alpha-numeric characters, underscores or dashes. All slugs must be unique and different. Slugs must not match slugs of pages. Do not enter same slugs for different directories.

Assigned categories - you can define some special categories, those will be available for this directory.

Assigned locations - you can define some special locations, those will be available for this directory.

Listings levels - you can define some special levels, those will be available for this directory.

In order to set up a page with needed directory - copy-paste appropriate shortcode from "Directory Admin -> Listings directories" table. In the same way you can create separate pages for frontend submission and single listings pages for each directory. Use their shortcodes with appropriate parameters.

Example for the second directory with ID=2: [webdirectory-submit directory=2], [webdirectory-listing-page directory=2]. These are optional pages, by default the system will use frontend submission and single listings pages of the standard directory shortcodes [webdirectory-submit], [webdirectory-listing-page].

Directories-levels structure:
directories_levels