Code

Directories Pro plugin for WordPress

Directories Pro plugin for WordPress

(37) 4.92 stars
1,109 Sales

Directories Pro for WordPress

Directories Pro is a WordPress plugin that lets you build any kind of directory such as a community driven local business directory like Yelp.com, Google+ Places, or Yahoo! Local, a user directory, a website directory, a property directory, etc. It’s the most feature rich and versatile directory plugin you can find for WordPress.

Directories Pro demo Directories Pro documentation
Directories Pro features

Feature list

Directory Management

  • Unlimited number of directories
  • Disable or enable categories/tags/locations/reviews/claims/payments per directory
  • Export and import directory settings
  • Export and import any directory content
  • Directory permission (capability) manager

Fully Customizable

  • Add custom fields to listings/reviews/claims (custom post types)
  • Add custom fields to categories/tags/locations (custom taxonomies)
  • Conditional fields
  • Use content display editor to customize appearance of content without any coding
  • Create full or partial template files for more control over display
  • Hide/show content by user roles

Search & Filter

  • Advanced search form with auto-suggestion
  • Fully customizable filter form with live updating facet count
  • Search and filter by custom fields
  • Search and filter by current location (geolocation)
  • Search form shortcode

Monetization

  • WooCommerce support – charge users for submitting new listings or claiming existing listings
  • Charge switch plan / re-activation fee
  • Prorated discount
  • Guest checkout
  • Create add-on plans for additional revenue
  • WooCommerce Subscriptions support

Frontend Submit and Dashboard

  • Submit listings/reviews from frontend
  • Manage listings/reviews/claims/votes through frontend directory dashboard
  • reCAPTCHA support
  • Guest posting without user registration
  • WooCommerce my-account page integration

Create Views

  • Display listings/reviews/categories/tags/locations in list/grid/masonry view
  • Show listings in photo slider
  • Configure custom query
  • Sort by custom fields
  • Display views anywhere with shortcode

Reviews

  • Customizable multi-criteria 5-star rating reviews
  • Filter and/or sort listings by review rating
  • Filter reviews
  • Search listings by review content
  • Show review rating statistics by stars or criteria

SEO Ready

  • Fully compatible with popular SEO plugins
  • Configure custom permalink URLs for listings/categories/tags/locations
  • Generate custom shema.org JSON-LD
  • Custom OpenGraph meta tags
  • Compatible with Yoast SEO and Breadcrumb NavXT breadcrumbs

Other Features

  • Display map (using Google Maps API or OpenStreetMap with Leaflet.js)
  • GDPR compliance
  • Claim listings
  • WPML support
  • Admin and user notification e-mails
  • Contact us form (supports Contact From 7, WPForm, Gravity Forms)
  • Advanced Custom Fields support
  • Dummy content generator
  • Online plugin update (no FTP required)
  • French translation included

Other useful resources

Change log

v1.2.21 – JAN 18, 2019
- Bug fixed: Users having to re-select payment plan after login even when selected before login.
- Bug fixed: File upload error not being displayed in frontend.
- Bug fixed: Unable to unselect current selection for Choice type field with select list form element type.
- Added: Option to show featured items first on single term pages only.
- Added: Option to show other user's posts in frontend dashboard if permissions granted.
- Improved: Check conditional field rules server-side in addition to client-side.
- Improved: "Recalculate review ratings" system tool to fix incorrect review counts.

v1.2.20 – JAN 9, 2019
- Bug fixed: Google Maps Geocoding API "Unknown Error" when country code setting empty. 
- Improved: CSV Import - Allow import images from URLs without an image extension.

v1.2.19 – JAN 7, 2019
- Bug fixed: "Submit for review" button now showing up in dashboard for deactivated listings. 
- Bug fixed: Some display issues with payment order action labels in the backend.

v1.2.18 – JAN 5, 2019
- Bug fixed: WP embeds in listing description and review content fields not working since recent updates.
- Bug fixed: Upload image field in the backend not working for taxonomy terms since v1.2.15.
- Added: New DRTS_ENTITY_TAXONOMY_TERMS_CACHE_NUM constant to modify default taxonomy term cache num.

v1.2.16/1.2.17 – JAN 4, 2019
- Bug fixed: Warning error on edit listing page when conditional fields enabled since v1.2.15.
- Bug fixed: Fatal error on displaying listing payment orders on a certain occasion.
- Bug fixed: Only "True" alert message shown when number of uploaded files exceeds maximum allowed.
- Bug fixed: "_current_" option for taxonomy term fields in query settings of views not working on single term pages.
- Bug fixed: Auto-suggest taxonomy terms in search form not working since v1.2.15.
- Added: {latitude} {longitude} {timezone} tags to location address field renderer.
- Added: Option to configure message (HTML) shown by views when no items found.
- Improved: Redirect to frontend dashboard page when trying to view login page while logged in.

v1.2.15 – DEC 28, 2018
- New: Support for Advanced Custom Fields to show ACF fields in frontend listing/review form. 
- Bug fixed: WooCommerce product info General tab being hidden for non Directories Pro product types.
- Bug fixed: Fatal error on exporting directory settings on a certain occasion.
- Bug fixed: Fatal error on generating dummy location address field data on a certain occasion.
- Bug fixed: Some issues with auto-suggest settings for keyword search form field.
- Bug fixed: Form submission error when using search form shortcode on add listing page.
- Bug fixed: Cron not running at all since recent updates.
- Bug fixed: Display issues with some themes on single category pages. 
- Bug fixed: .mov/.qt files not recognized as movie files.
- Added: Option to manually submit filter form.
- Improved: Compatibility with Yoast SEO plugin.

v1.2.13/1.2.14 – DEC 14, 2018
- New: Support for multiple "Summary" displays, lets you optionally use a different display for each view.
- Bug fixed: Payment related database tables not being deleted during uninstall on certain occasion.
- Bug fixed: Post status of claims submitted by non-admin users not possible to approve/reject on order complete.
- Bug fixed: Dashboard panels not showing correct content on My Account page on certain occasion.
- Bug fixed: Voting Rating display element showing raw JavaScript code in "Summary" display when "Read only" option disabled.
- Bug fixed: Some strings not translatable through WPML String Translation.
- Bug fixed: Hide post count option for auto-suggest taxonomy terms in keyword search form field not working.
- Bud fixed: Duplicate "Max file size" setting for Image type field.
- Bug fixed: Some PHP errors.
- Added: Field renderer (display element) for displaying modified date of posts.
- Added: New constant DRTS_RECAPTCHA_DISABLE to force disable reCAPTCHA on forms.
- Improved: Directories - Listings widget to show taxonomy term specific listings on single taxonomy term pages.
- Improved: Redirect to frontend dashboard page after login if frontend dashboard enabled.

v1.2.12 – NOV 27, 2018
- Added: New "Change table collation" system tool to resolve database table collation issues.

v1.2.11 – NOV 23, 2018
- New: "Directories - Faker" plugin for generating dummy directory content.
- Bug fixed: Some issues with database table collation.
- Improved: More improvements with CSV import/export.
- Improved: Clear display element cache when its settings updated.
- Added: Importable demo categories, locations, and tags.
- Added: Option to hide Timezone selection field when map disabled.

v1.2.10 – NOV 19, 2018
- Bug fixed: Redirection issue with claiming listings after login through WP default login page.
- Bug fixed: Upgrade to paid plan button not showing up on frontend dashboard for no payment plan listings.
- Bug fixed: Display element for File type field not showing up in Manage Displays.
- Bug fixed: Some issues with filter settings in Manage Views -> Manage Filters.
- Improved: Greatly improved speed and reliability of CSV import/export.
- Improved: Allow inline HTML tags in payment plan description.

v1.2.9 – NOV 14, 2018
- Bug fixed: "Continue as guest" option shown when guest user tries to claim a listing.
- Bug fixed: Some issues with sticky map width when switching on/off fullscreen mode.
- Bug fixed: Contact us form message sent only to site e-mail address when payment features disabled.
- Bug fixed: Some display issues with location address field filter.
- Bug fixed: Some issues with Glossary (A-Z) filter.
- Bug fixed: Some issues using [drts-dashboard] shortcode.
- Improved: Do not hide filter form on submit if "Show filters by default" option enabled.
- Added: Option to specify a CSS ID to field/display/filter elements.
- Updated: FontAwesome to v5.5.0.

v1.2.8 – NOV 12, 2018
- New: Charge users for claiming existing listings.
- New: "No payment plan" option can be added to payment plan selection form to bypass cart/checkout.
- New: Options to specify top offset for sticky and fullscreen mode maps.
- New: Options to specify filter button icon/label.
- Bug fixed: Some issues with taxonomy term caching.
- Bug fixed: Map marker not centered when showing single map marker with OpenStreetMap.
- Bug fixed: Some display issues with select taxonomy term dropdown.
- Bug fixed: Empty link in breadcrumb when content title empty.
- Bug fixed: WP All Import support not working for WP All Import Pro version.
- Bug fixed: Some issues with filters causing browser to freeze.

v1.2.7 – NOV 7, 2018
- Bug fixed: Some redirection issues with WPML.
- Bug fixed: Redirection issue with claiming listings after login/registration.
- Bug fixed: Unable to import Number type field values since v1.2.0.
- Improved: Show edit post page on normal page instead of in modal popup window.
- Added: New field renderer to show referenced items selected with Reference type field as links.

v1.2.5 /1.2.6– NOV 6, 2018
- Bug fixed: Edit post link in dashboard not working when using [drts-dashboard] shortcode.
- Bug fixed: Google Maps Timezone API using browser key causing error when referrer restriction enabled.
- Bug fixed: "Scroll to item on marker click" option could not be disabled.
- Bug fixed: Location filter causing filter form to submit twice.
- Bug fixed: Some issues with storing Time type field values.
- Bug fixed: Some more JavaScript compatibility issues with themes.
- Bug fixed: Duplicate auto-suggestions in keyword search field.
- Bug fixed: Restricting form field visibility by user roles causing field values to disappear on certain occasions.
- Bug fixed: Google Maps type/style settings keep reverting back.
- Bug fixed: Shortcodes in notifications not working properly.
- Improved: Added option to enable/disable fields to be displayed inline for Field List display element.
- Improved: Added option to trim trailing zeros for Number type field.
- Added: New tool to adjust Time type field values.

v1.2.4 – OCT 31, 2018
- Bug fixed: Location autosuggest not working when using "Google Maps Place Autocomplete" as address autocomplete service.
- Bug fixed: "Allow empty location" option for Location type field not working.
- Bug fixed: WPML string translation not working for some field labels.

v1.2.3 – OCT 30, 2018
- Bug fixed: Order add-on link in frontend dashboard not working since v1.2.0.
- Bug fixed: Empty alert box popping up on custom login/registration page on certain occasions since v1.2.0.
- Bug fixed: Map markers not showing up when marker clusters enabled since v1.2.0.
- Updated: Autosize JavaScript library to v4.0.2.

v1.2.0/1.2.1/1.2.2 – OCT 27, 2018
- New: Alternative map APIs (OpenStreetMap, Mapbox Geocoding, GeoNames Timezone, Algolia Places)
- New: Custom page for single posts/terms
- New: Map only view
- New: WooCommerce Subscriptions plugin support
- New: WP All Import plugin support
- New: BuddyPress activity integration
- New: [drts-entity] shortcode
- New: Scaled thumbnail images
- New: Option to show logout button in frontend dashboard
- New: FaceBook messenger link field renderer
- New: Added support for “Category Order and Taxonomy Terms Order” plugin
- New: Option to disable location per listing using the “This listing has no physical location.” checkbox
- New: Allow guest to proceed to submit listing/review page without entering any guest info
- New: Option to use category icons as map marker instead of listing photos
- New: Bidirectional relationships between posts
- New: Use custom image field as default image field
- New: Sort by payment plans with custom order
- New: Enable/Disable featured image (post thumbnail)
- New: Option to show filters by default
- and many more…
See https://directoriespro.com/directories-pro-1-2-0/ for more details.

v1.1.32 – OCT 17, 2018
- Bug fixed: Fix some issues with querying listings by payment plans in view settings.
- Bug fixed: Fix compatibility issues with Responsive Lightbox & Gallery plugin and photo slider view.
- Bug fixed: Address not formatted/displayed correctly for listings with multiple address.
- Bug fixed: Current user always set as author when importing listings without author.
- Bug fixed: Excerpt not displaying correctly for sub-languages with WPML.
- Improved: File upload no longer requires Fileinfo PHP extension.

v1.1.31 – OCT 8, 2018
- Bug fixed: Template override not working.
- Bug fixed: Post parent field not selectable when importing reviews.
- Bug fixed: HTML tags in custom address display format not working since 1.1.30.
- Improved: CSV importer compatibility with CSV files exported with Sabai Directory.
- Reverted: Custom address display format setting moved back to Manage Displays section from Manage Fields.

v1.1.30 – OCT 2, 2018
- Bug fixed: Error when creating a new Location type field, since v1.1.29.

v1.1.29 – SEP 30, 2018
- Bug fixed: Search related issues with listings that have multiple location addresses.
- Bug fixed: Configuration form for HTML/JavaScript elements not rendering correctly in backend Manage Fields and Manage Filters sections.
- Bug fixed: Field description not showing for Image type field with media manager.
- Bug fixed: Default field renderer for Image type field not possible to show original size image on click.
- Bug fixed: Address in map infobox not showing custom formatted address.
- Deleted: "Do not load Google Maps API in admin dashboard" option under Settings -> Map.

v1.1.28 – SEP 24, 2018
- Bug fixed: Empty search results on certain occasion when taxonomy name search enabled for keyword search.
- Improved: More HTML classes added to individual posts and terms.

v1.1.26/1.1.27 – SEP 22, 2018
- Bug fixed: Confirmation message not showing when Gravity Forms contact form submitted.
- Bug fixed: Duplicate listing/review pending notification messages.
- Improved: Added 1/6 column width to "Column" display element.
- Improved: Removed alphanumeric and underscore character restriction from Choice type field option values.
- Improved: More compatibility issues with some themes.

v1.1.24/1.1.25 – SEP 7, 2018
- Bug fixed: Labels display element settings always showing default values even when updated.
- Bug fixed: Category icon not showing up properly on category pages since v1.1.23.
- Added: Support for Responsive Lightbox & Gallery plugin to display images/photos in lightbox window.

v1.1.23 – AUG 31, 2018
- Bug fixed: Invalid "read more" link when displaying excerpt.
- Bug fixed: Enable time option not working with Date type field.
- Improved: Added %author_name% to list of available tokens for Text display element.

v1.1.22 – AUG 28, 2018
- Bug fixed: Use home_url() instead of site_url() for redirection URL to prevent 404 error on certain occasions.
- Added: drts_core_no_img_src filter for replacing default no-image image.
- Improved: Font Awesome icon library compatibility with some themes.
- Improved: Compatibility with certain hosting providers.

v1.1.21 – AUG 23, 2018
- Bug fixed: Error on deactivating Directories - Payments plugin after Directories - Frontend plugin.
- Bug fixed: Error on Appearance -> Widgets on certain occasions.
- Bug fixed: Some issues with Multi-byte chars in directory page slug and WPML.
- Bug fixed: Error log not being generated in recent versions if debug mode disabled.
- Bug fixed: Sort options not showing when results are empty.
- Bug fixed: Some issues with searh form shortcode in widgets.
- Improved: Use default search radius setting of Location filter as search radius for "Search my location" geolocation search.
- Improved: Show map on mobile devices when map position is set to Top.
- Improved: "directory" shortcode parameter no longer a required parameter.
- Improved: Compatibility with 3rd party plugins.
- Improved: Export/Import Time type field values in local time instead of GMT.
- Improved: Allow query date/time fields by local date/time instead of GMT in view settings.
- Updated: FontAwesome icons to v5.2.0.

v1.1.20 – AUG 11, 2018
- Improved: Display issues with dropdown and date/time picker filters inside modal window.
- Improved: Auto-complete WooCommerce orders when payment is complete.
- Improved: Compatibility issues with 3rd party plugins.
- Bug fixed: Filter form widget not showing up on certain occasions.
- Bug fixed: "Open Now" label not showing up on correct time for listings located outside GMT+0 timezone.
- Bug fixed: Some issues with current location search when default search radius is set to 0.

v1.1.19 – AUG 4, 2018
- Bug fixed: Some issues with quick/bulk edit posts.
- Improved: Allow users with "Delete others Claims" to approve/reject any claim.
- Added: New "Sync taxonomy terms" system tool.

v1.1.17/v1.1.18 – AUG 1, 2018
- Bug fixed: Keyword search not searching fields selected in "Extra fields to include in search" setting.
- Improved: Use Location taxonomy term labels instead of address component data returned by Google Maps API for PostalAddress addressLocality/addressRegion properties in JSON-LD.
- Improved: Make phone numbers clickable by default on mobile devices.

v1.1.16 – JUL 28, 2018
- Bug fixed: Dynamic filter facet counts in Filter Form widget not updating since v1.1.15.
- Added: Some missing language phrases.
- Improved: Allow export/import of voting type field (rating, review rating, bookmark) values.
- Improved: Photo slider library compatibility with some themes.

v1.1.15 – JUL 26, 2018
- Bug fixed: More HTTP 414 error fix.
- Bug fixed: Choice type field "Add from CSV" not importing icons.
- Added: New WordPress filter hooks (drts_social_medias, drts_social_media_url) to allow adding custom social media fields.
- Improved: Auto-detect line endings when importing CSV file.
- Improved: Compatibility with Bootstrap library included with some themes.
- Updated: Bootstrap v4.1.3.

v1.1.14 – JUL 24, 2018
- Bug fixed: Listing link field not showing in frontend review submission form.
- Bug fixed: Display issues with WP editor in frontend listing form.
- Bug fixed: HTML attributes stripped out from Text display element.
- Bug fixed: Taxonomy term field filter hiding child terms when parent is empty and hide empty option enabled.
- Bug fixed: Do not load Google Maps API library option not working since 1.1.10.
- Bug fixed: Yoast SEO field values not showing on edit listing page in the backend when updating. 
- Improved: Single category page compatibility with more themes.
- Improved: Added current user ID/name tokens to Text display element.
- Improved: Allow URLs in any Social Account input field.
- Updated: Bootstrap v4.1.2.

v1.1.13 – JUL 19, 2018
- Bug fixed: Disabling certain feature(s) in one directory removing field(s) from other directories.
- Bug fixed: JavaScript error when adding Button display element with one or more custom buttons.
- Bug fixed: Some content type label settings not showing up on content type edit page.
- Improved: Compatibility with more themes.

v1.1.12 – JUL 18, 2018
- Bug fixed: Content type info reverting back to default when updating directory settings.
- Improved: Cache content type info for 7 days when the feature associated with the content type is disabled so that it can be restored when re-enabled.

v1.1.11 – JUL 17, 2018
- Bug fixed: HTTP 414 error fix in 1.1.10 causing some issues with search.
- Bug fixed: Taxonomy terms not showing on listing pages on certain occasions.
- Bug fixed: Listing photos not displaying properly on certain occasions since 1.1.10.

v1.1.10 – JUL 12, 2018
- Bug fixed: HTTP 414 error (Request URI too long) on some servers.
- Bug fixed: Query by taxonomy terms option for views not working correctly.
- Bug fixed: Photo slider view custom image field option not working.
- Bug fixed: Location search field still showing even when Location feature disabled.
- Bug fixed: Search form redirecting when shortcodes are used on directory index page.
- Improved: IE11 compatibility.

v1.1.9 – JUL 9, 2018
- Bug fixed: Add/update views not possible since v1.1.8.
- Bug fixed: Vimeo videos not playing.

v1.1.8 – JUL 8, 2018
- Bug fixed: Some issues with "Recalculate review ratings" system tool.
- Bug fixed: Custom location address format not applied when no location term assigned.
- Bug fixed: Photos in Photo Slider view not being linked to posts on certain occasions.

v1.1.7 – JUL 8, 2018
- Added: New "Recalculate review ratings" system tool.
- Bug fixed: Custom label for frontend dashboard panels not showing.
- Bug fixed: WooCommerce My Account page integration not working with some themes.
- Bug fixed: Photo slider showing large empty black background with some themes.
- Bug fixed: Icon picker field not working on certain occasions with some browsers.
- Bug fixed: Single category page not showing correct page title with some themes.
- Bug fixed: YouTube social accounts field adding extra http:// to entered values.
- Bug fixed: Post/Term query returning empty results when WPML activated.
- Improved: Compatibility with some themes.

v1.1.6 – JUN 30, 2018
- Bug fixed: Custom address format setting was always hidden.
- Bug fixed: Setting default Google Maps map type to OSM not working.
- Bug fixed: Search with Google Maps auto-suggested location not working.
- Bug fixed: License and guest permission settings being reset on plugin re-activation.
- Bug fixed: Some issues with importing attachments for Image/File type fields. 

v1.1.5 – JUN 11, 2018
– Bug fixed: Taxonomy term selection not being updated on quick edit posts.

v1.1.4 – JUN 10, 2018
- Improved: RTL display issues.
- Bug fixed: Conditional field settings with category field on the admin side.
- Bug fixed: Link to URL of another field for title field renderer not working properly.
- Bug fixed: Checklist field renderer for Choice type field showing content in the frontend even when empty.
- Bug fixed: Filter settings not being displayed for some filter elements.
- Some minor code refactoring.

v1.1.3 – JUN 6, 2018
– Bug fixed: Datepicker form field not working in the frontend on certain occasions.
– Bug fixed: File upload and media manager form fields not sending correct values causing various issues.

v1.1.2 – MAY 30, 2018
- Added: Option to enable/disable frontend submission per directory.
- Added: Tokens that can be used to embed dynamic values in text content (Text field and display elements).
- Added: Option to disable/enable Visual mode and Quicktags for WP editor used with Listing Description field.
- Improved: GDPR - Anonymize personal data field on erasure only when current data is not empty.
- Bug fixed: Page not redirecting on certain occasions when shortcode error.
- Buf fixed: Claim listing button always being displayed to guest users.
- Lots of code refactoring.

v1.1.1 – MAY 25, 2018
- Improved: Let draft/pending/scheduled items to be viewable for preview in frontend if author/permitted.
- Improved: Add more field types that can be configured as personal data.
- Improved: Custom label can be created with the Label display element.
- Improved: Add more address component values for better geocoding results when using “Load geolocation data” tool.
- Improved: Make sure custom rating criteria slugs are not more than 40 characters.
- Bug fixed: Do not auto-scroll when submitting form via Ajax.
- Bug fixed: Some PHP notice/warning level errors.

v1.1.0 – MAY 23, 2018
- Added: GDPR compliance
- Added: Conditional fields
- Added: WhatsApp field render for Photo type field.
- Improved: Added option to show own content only for Reference type field.
- Improved: Make sure Directories is activated before other plugins.
- Improved: Localize date/time picker (flatpickr).
- Improved: Do not enable shortcodes on admin side.
- Bug fixed: Display issues using shortcodes to customize default pages.
- Bug fixed: Fix fatal error when payments plugin enabled without frontend plugin.
- Lots of code refactoring and minor bug fixes.
- Updated Bootstrap to v4.1.1.

v1.0.6 – MAY 9, 2018
- Bug fixed: Filter button not showing on small-screen devices.
- Bug fixed: Order add-on plan form redirecting to homepage instead of cart page on submission.

v1.0.5 – MAY 4, 2018
- Bug fixed: Admin page links not working when permalink structure set to Default.
- Bug fixed: Trying to load map settings from Location instead of Map component.

v1.0.2/v1.0.3/v1.0.4 – MAY 1, 2018
- Bug fixed: Not able to access admin listing index page when directories-pro plugin not installed.

v1.0.1 – APRIL 30, 2018
- Bug fixed: Claims admin menu not showing in the backend.
- Bug fixed: Required option for Location field not working properly.
- Bug fixed: Removed redundant success message after edit/delete posts on frontend dashboard page.

v1.0.0 – APRIL 29, 2018
- Initial release
by
by
by
by
by
by