Directory listings

Directory listings are very much like standard WordPress posts, except some things and additional features. In wordpress terminology "Directory listings" are posts of custom post type, they store in the database, in wordpress tables with all their meta data. Theoretically they can be used by another 3rd party plugins, in the same way as native WP posts. This gives huge space for compatibility and custom development. Of course, for some 3rd party plugins it requires special adaptation.

Listings creation and management

Creation of new listing begins with choosing of listing level and directory (when there are more than 1 directory and level in the system). This is the first step and it defines functionality and behaviour of newly created listing.

  1. To have an ability to create listings at the frontend - it is required to enable Frontend submission and dashboard addon and create a page with [webdirectory-submit] shortcode.

    After successfull submission at the frontend listing gets special status. You can read more in the listing live cycle.

  2. At the backend just choose listing level and directory (when there are more than 1 directory and level in the system)

Listings administration page may contain standard WordPress fields and metaboxes such as: title field, richtext editor for listing description, slug and excerpt fields, author metabox, comments metabox. Also, according to the level of current listing, this page contains special metaboxes: listing categories, listing locations, content fields, media metabox with forms for images uploading and YouTube videos embedding, ratings stats, contact email field, claim options metabox.

Each directory listing has special metabox on its administration page:

"Listing Info" metabox have some information fields: directory, chosen listing level, listing status, total clicks, sorting date and expiration date.

listing status is not the same thing as post status, listing status can be "active", "expired" or "unpaid". Post status can be "published", "pending review" or "draft".

administration_listing_row

Listing row on "Directory listings" page and "Listing Info" metabox have "raise up listing" and "renew listing" links. Clicking on level link opens a form to change listing level. Description of these options below:

Raise up listing option

This option displays when current listing is active and listings level of this listing has "Ability to raise up listings" enabled setting.

This feature will raise up a listing to the top of all lists, those ordered by date. After raise up a listing becomes higher than all other listings. Actually when listings are sorted by date - they are sorted by "Sorting date" (look at the screenshot above), an not by creation date. But just after listing creation these dates are the same. Also raise up will be processed just after listing renewal. More information about sorting.

This feature can be payment. Site owner can charge for raise up option a separate from activation price. When payments addon enabled - listings level has "Listings raise up price" setting.

Renew listing option

This option displays when listings level of current listing has not enabled "Eternal active period" setting and current listing is under "expired" status. This feature processes directory listing renewal. After renew process was completed successfully the listing status becomes "active" and the system sets new expiration date. Also this function raises up the listing to the top of all lists, those ordered by date.

This feature can be payment. Renewal price is the price for listing activation. Site admin can build such business model, when after expiration of listing of free level it will be suspended and moved to payment level. There is such setting in listings levels. So it is some kind of trial period, users will have to pay after free period to renew their listings.

Listings upgrade

Upgrade of listings means switching from one listings level to another. By default users have ability to change levels of their existing listings. There are some rules listings will follow after upgrade:

  • Switching from free to payment level requires payment before listing will become active.
  • Switching to free level will activate listing immediately.
  • When new level has an option of limited active period - expiration date of a listing will be recalculated automatically: current time + active period

"Directory Admin -> Listings upgrade" page contains following table with "level-to-level" options:

listings_upgrade

It is possible to disable levels upgrade/downgrade from a certain level. By default all levels enabled for level change. Also after successful upgrade listing may be raised up.

This feature can be payment. Price fields in the table appear when payments addon was enabled. When this service is not free - successful upgrade means when invoice was completed and paid. Before payment a listing would be staying on the old level.

Administrators and editors users roles still can change disabled listings levels.