Business Directory Plugin - Version 5.7.1

Version Description

Download this release

Release Info

Developer businessdirectoryplugin
Plugin Icon 128x128 Business Directory Plugin
Version 5.7.1
Comparing to
See all releases

Code changes from version 5.7 to 5.7.1

README.TXT CHANGED
@@ -1,151 +1,168 @@
1
- === Business Directory Plugin - Directories for WordPress ===
2
  Contributors: businessdirectoryplugin
3
- Donate link: https://businessdirectoryplugin.com/premium-modules/
4
  Tags: business directory, listings, directory plugin, company business directory, chamber of commerce business directory, church directory, address book, contact directory, local business directory, listings directory, link directory, member directory, staff directory
5
  Requires at least: 4.8
6
  Requires PHP: 5.6
7
- Tested up to: 5.4
8
- Last Updated: 2020-Jun-17
9
- Stable tag: 5.7
10
  License: GPLv2 or later
11
 
12
- Build any kind of local listings directory, directory of business providers, a Yellow-Pages business directory, Yelp-like review directory, property listings and much more! Make your listings sing with Business Directory Plugin.
13
 
14
  == Description ==
15
 
16
- [Main Site](https://businessdirectoryplugin.com/) | [Support](https://businessdirectoryplugin.com/support-forum/) | [Docs](https://businessdirectoryplugin.com/knowledge-base/) | [Showcase](https://businessdirectoryplugin.com/showcase/) | [Premium Modules](https://businessdirectoryplugin.com/premium-modules/)
17
 
18
- Business Directory Plugin is the most popular, versatile, widely-installed, easiest to use, and best-supported WordPress Business Directory plugin available. Increase interaction on your website, improve customer retention and a add revenue-generating section to your site with Business Directory Plugin!
19
 
20
- Business Directory Plugin allows you to take any listings you want and build a local directory, directory of business providers, a real estate listings site, a Yellow-Pages style business directory, Yelp-like review sections, create a church directory, build an address book directory and much more. You can add any kind of directory with listings using Business Directory plugin.
 
 
 
 
 
 
 
 
 
21
 
22
- = Core plugin Features =
23
- All [features](https://businessdirectoryplugin.com/features/) documented on the main website.
24
  * Fully customizable form fields
25
  * Upload images per listing, allow restricted numbers of images based on fee plan
26
- * Lots of image options: drag and drop image uploads, easy image ordering, primary image settings, thumbnail sizing and more
27
  * Accept payment for listings OR have free listings in your business directory
28
  * Accept payments using Authorize.net (requires Authorize.net account)
29
  * Full support for recurring payments (in most gateways: PayPal, Authorize.net, Stripe)
30
  * Allow for featured/sticky listings for an upgrade fee
31
- * Widgets for Featured, Latest and Random listings. Search widget as well
32
  * Create multiple fee plans, which can be assigned to categories for posting
33
- * Built in CSV import and export
34
  * Support for reCAPTCHA to avoid spam listings
35
  * Sorting options for categories, listings, and front-end for users to choose sort order
36
- * Users who post can edit listings without access to WP dashboard
37
  * SEO Friendly using Yoast SEO
38
- * Configurable quick-search field and sorting bar for listings
39
  * Advanced search screen with ability to show/hide fields available for search
40
- * FULL responsive support when installed with a responsive theme
41
  * Multi-language support in your directory with WPML
42
- * Ability to re-skin the directory with a few clicks (directory themes)
43
  * Integrates with popular plugins like Yoast SEO, NavXT Breadcrumbs and WP-PageNavi for easy use
44
  * Images displayed with categories (using the FREE Enhanced Categories module)
45
  * Display Category Icons/Allow Parent-Child Category Navigation (using the FREE Enhanced Category Module)
46
 
47
- = Additional Add-on Features available from Premium Modules (paid) =
48
- * Rate businesses in your directory (now with Schema.org microformat support) (using the (paid) Ratings Module)
49
- * Display the location of the business (categories, search, details--now with custom map sizes) (using the (paid) Google Maps Module)
50
- * Location based directory result filtering (using the (paid) Regions Module)
51
- * ZIP code/postal code radius searches supporting a number of countries (using the (paid) ZIP Search Module)
52
- * Assign features to paid or sticky listing plans to give users incentive to upgrade (using the (paid) Featured levels module)
53
- * Allow users to upload PDFs (using the (paid) Attachments Module)
54
- * Manage attachments on directory listings (using the (paid) Attachments module, supports PDF, Text files, images)
55
- * Accept payments using PayPal (using the (paid) PayPal Gateway Module)
56
- * Accept payments using Stripe (using the (paid) Stripe Gateway Module)
57
- * Accept payments using PayFast (using the (paid) PayFast Gateway Module)
58
- * Post claimable listings in your business directory that other users can pay (or not) to claim (using the (paid) Claim Listings Module)
59
- * Ability to offer discount codes based on a % or fixed amount with expirations (using the (paid) Discount Codes Module)
60
-
61
- For a complete and detailed list of features, please visit: https://businessdirectoryplugin.com/features/
62
-
63
- Please report any bugs you find via https://businessdirectoryplugin.com/support-forum/
64
-
65
- = Premium Module Links: =
66
  These are optional, paid modules that you can use to enhance Business Directory Plugin's functionality and
67
- support future development:
68
-
69
- = Premium Directory Skins (Paid) =
70
- * [Theme Pack](https://businessdirectoryplugin.com/downloads/business-directory-theme-pack/?ref=wp) (best deal!)
71
- * NEW! [Elegant Grid Theme](https://businessdirectoryplugin.com/downloads/elegant-grid-theme/?ref=wp)
72
- * NEW! [Modern Business Theme](https://businessdirectoryplugin.com/downloads/modern-business-theme/?ref=wp)
73
- * [Business Card Theme](https://businessdirectoryplugin.com/downloads/business-card-theme/?ref=wp)
74
- * [Tabbed Business Theme](https://businessdirectoryplugin.com/downloads/tabbed-business-theme/?ref=wp)
75
- * [Elegant Business Theme](https://businessdirectoryplugin.com/downloads/elegant-business-theme/?ref=wp)
76
- * [Mobile Compact Theme](https://businessdirectoryplugin.com/downloads/mobile-compact-theme/?ref=wp)
77
- * [Restaurant Theme](https://businessdirectoryplugin.com/downloads/restaurant-theme/?ref=wp)
78
-
79
- = Feature Add On Modules (Paid) =
80
- * [Combo Pack](http://businessdirectoryplugin.com/downloads/business-directory-combo-pack-module/?ref=wp) (best deal!)
81
- * [File Upload Module](https://businessdirectoryplugin.com/downloads/file-attachments-module/?ref=wp)
82
- * [Featured Levels Module](https://businessdirectoryplugin.com/downloads/featured-levels-module/?ref=wp)
83
- * [ZIP Code Search Module](https://businessdirectoryplugin.com/downloads/zip-search-module/?ref=wp)
84
- * [Regions Module](https://businessdirectoryplugin.com/downloads/regions-module/?ref=wp)
85
- * [Ratings Module](https://businessdirectoryplugin.com/downloads/ratings-module/?ref=wp)
86
- * [Google Maps Module](https://businessdirectoryplugin.com/downloads/google-maps-module/?ref=wp)
87
- * [Discount Codes Module](https://businessdirectoryplugin.com/downloads/discount-codes-module/?ref=wp)
88
- * [Claim Listings Module](https://businessdirectoryplugin.com/downloads/claim-listings-module/?ref=wp)
89
-
90
- = Payment Gateway Modules (Paid) =
91
- * [Stripe Gateway Module](https://businessdirectoryplugin.com/downloads/stripe-payment-module/?ref=wp)
92
- * [PayPal Gateway Module](https://businessdirectoryplugin.com/downloads/paypal-gateway-module/?ref=wp)
93
- * [2Checkout Gateway Module](https://businessdirectoryplugin.com/downloads/2checkout-gateway-module/?ref=wp)
94
- * [PayFast Gateway Module](https://businessdirectoryplugin.com/downloads/payfast-payment-module/?ref=wp)
95
-
96
- For more information and support please visit [https://businessdirectoryplugin.com](https://businessdirectoryplugin.com?ref=wp)
97
- For Business Directory plugin support please visit [https://businessdirectoryplugin.com/forums](https://businessdirectoryplugin.com/forums)
98
-
99
- If you love Business Directory plugin, [please consider purchasing a Premium Module](https://businessdirectoryplugin.com/premium-modules/?ref=wp)!
100
-
101
- Business Directory fully supports [WPML](http://wpml.org) for dynamic language switching. But if you need just one single language, we include and support these out of the box!
102
- = Languages Supported =
103
- * Spanish
104
- * French
105
- * German
106
- * Russian
107
- * Italian
108
- * Polish
109
- * Arabic
110
- * Swedish
111
 
112
- And you can easily [translate it yourself](https://businessdirectoryplugin.com/knowledge-base/translating-bd-other-language/) if you need to.
113
 
114
- == Credits ==
115
- Copyright 2009-20, Dave Rodenbaugh
116
- Original Author: A. Lewis
 
 
 
 
 
117
 
118
- This program is free software; you can redistribute it and/or modify
119
- it under the terms of the GNU General Public License as published by
120
- the Free Software Foundation; either version 2 of the License, or
121
- (at your option) any later version.
122
 
123
- This program is distributed in the hope that it will be useful,
124
- but WITHOUT ANY WARRANTY; without even the implied warranty of
125
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
126
- GNU General Public License for more details.
127
 
128
- You should have received a copy of the GNU General Public License
129
- along with this program; if not, write to the Free Software
130
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
131
 
 
 
 
 
 
 
 
 
132
 
 
 
 
133
 
134
  == Installation ==
135
- Please see our detailed [Installation Guide](https://businessdirectoryplugin.com/knowledge-base/installation-guide/), the [Getting Started Guide](https://businessdirectoryplugin.com/article-categories/getting-started/) for common how-to scenarios, and our [Initial Setup](https://businessdirectoryplugin.com/knowledge-base/installation-guide/) page for instructions on how to get going quickly with Business Directory Plugin.
136
 
137
- [Full documentation](https://businessdirectoryplugin.com/knowledge-base/) for the plugin is also available.
138
 
139
- If you are having problems please visit [support forum](http://www.businessdirectoryplugin.com/support-forum/) for help or you may [contact us](http://www.businessdirectoryplugin.com/contact/).
140
 
 
141
 
142
- == Screenshots ==
143
 
144
- [Visit the main site for feature lists and screenshots](https://businessdirectoryplugin.com/features/)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
 
147
  == Changelog ==
148
 
 
 
 
 
 
 
 
149
  = Version 5.7 =
150
  * New Setting allows site admins define which existing user will own Anonymous Submitted Listings. (#4545)
151
  * [Paid] listing status tag was replaced by [Payment {status}] for more accurate information about Listing Payment status. (#4553)
@@ -317,7 +334,7 @@ If you are having problems please visit [support forum](http://www.businessdirec
317
  * Add "payment method required" notice for 100% discounted checkouts with recurring payments.
318
  * Add closing slash for directory posts links.
319
  * Combine fieldtype options and available Tags when displaying BD tags field.
320
- * Use tag instead of tag to render SVG social icons.
321
  * Fix redirect variable name.
322
 
323
  = Version 5.5.2 =
@@ -384,7 +401,7 @@ If you are having problems please visit [support forum](http://www.businessdirec
384
  * Allow plan change in renew listing process.
385
  * Allow free listing renewal without payment gateway.
386
  * Allow validators to admin only (private) fields.
387
-
388
  = Version 5.3.2.1 =
389
  * Fixed issue where images showed on wrong side of listing.
390
 
@@ -441,7 +458,7 @@ If you are having problems please visit [support forum](http://www.businessdirec
441
  * Add compatibility to WPBDP_Email class with external email plugins.
442
  * Enhance Long Description field as excerpt in list view.
443
  * Add option to disable expiration emails.
444
-
445
  = Version 5.2 =
446
  * Add pagination to Latest, Random, Featured listings shortcodes.
447
  * Add [placeholders] to email notice templates.
@@ -663,7 +680,7 @@ If you are having problems please visit [support forum](http://www.businessdirec
663
  * Added a "Timeline" metabox on the backend to clearly see a listing's history.
664
  * Admins can now create any number of listing expiration/reminder notices.
665
  * Simplify how premium modules integrate into BD.
666
- * Added businessdirectory-quick-search shortcode to display the Quick Search form.
667
  * Added warning when reaching the image limit during listing submit/edit.
668
  * Allow users to edit categories for their listing if the plan allows it.
669
  * Added option to sort listings using the configured sort for their fee plans.
@@ -676,377 +693,3 @@ If you are having problems please visit [support forum](http://www.businessdirec
676
  * Added a new log mechanism for better debugging.
677
  * Updated the premium module initialization API.
678
  * License and update checking has been merged to cover both themes and premium modules, reducing external requests.
679
-
680
- = Version 4.1.15 =
681
- * Fix 404 Not Found error for categories URLs that occurred when WPML was installed and configured to use a query parameter to define the language of the website.
682
- * Empty strings are not allowed as categories and tags slugs.
683
- * Doing a Factory Settings Reset no longer removes license keys for premium modules.
684
- * Prevent infinite recursion conflict with Postman.
685
- * Allow execution of shortcodes in excerpt fields.
686
- * Remove pagination links from listings shortcode.
687
- * Add wpbdp_get_page_ids filter.
688
- * Fix feed links for all listings and categories.
689
- * Show license-related warnings to administrators only.
690
-
691
- = Version 4.1.14.1 =
692
- * Update to fix uploader class
693
-
694
- = Version 4.1.14 =
695
- * Correct CSS classes for secondary buttons.
696
- * Prevent listing title from being cleared during import.
697
- * Always show 'number of options visible without scrolling' setting in Add/Edit form field screen.
698
- * Fix import error caused by ampersands in category names.
699
- * Fix behavior for not found URLs.
700
- * Fix search form behavior and region filter issues.
701
- * Correct CSS classes for some primary buttons.
702
- * Use checkboxes for Quick Search Fields setting.
703
- * Replace dropdowns with four or less options with a list of radio buttons.
704
- * Register non-persistent groups after switchgin blogs.
705
- * Prevent listings from being published before payment is completed.
706
- * We now have more descriptive error messages for license issues.
707
- * Fix inconsistent strings and button labels.
708
- * Prevent creation of multiple listings in submit-listing shortcode.
709
- * Fix inconsistent strings and button labels.
710
- * Fix compatibility issue with jQuery 3.2.1.
711
-
712
- = Version 4.1.13.2 =
713
- * Fix buttons in main box ignoring settings.
714
- * Restore missing Country part in address field.
715
-
716
- = Version 4.1.13.1 =
717
- * Fix theme compatibility problems introduced in 4.1.13.
718
-
719
- = Version 4.1.13 =
720
- * Add shortcode to output Quick Search.
721
- * Added shortcode for displaying the latest listings.
722
- * Added shortcode for displaying a random set of featured listings.
723
- * Added shortcode for displaying a random set listings.
724
- * Prevent PHP Warning in show_tag.php.
725
- * Prevent CSFR exploit that could allow attackers to upload images to the Media Library.
726
- * Do not set contenteditable to false on Firefox when handling setting dependencies.
727
- * Fix JavaScript error due to necessary script not loaded.
728
- * Improve performance of CSV Importer.
729
- * Update Swedish translation for BD.
730
- * Fix bug in code that generates search queries SQL.
731
- * Fix format for address field in themes.
732
- * Fix conflict with WPML caused by WP bug 40906.
733
-
734
- = Version 4.1.12.1 =
735
- * Backward compatibility fix for ZIP search--module update order problem
736
-
737
- = Version 4.1.12 =
738
- * Report versions of installed premium modules on debug info page.
739
- * Make non-required SELECT fields actually optional (no option selected by default).
740
- * Show a message on the frontend when the directory is not available due to a pending manual upgrade.
741
- * Fix conflict between BD and latest Breadcrumbs NavXT.
742
- * Send NEW listing's published notification to the right address.
743
- * Add compatibility patch for Ultimatum theme.
744
-
745
- = Version 4.1.11.1 =
746
- * Repaired badly botched release in SVN due to file sync issues
747
-
748
- = Version 4.1.11 =
749
- * Show server's IP address in Licenses settings tab.
750
- * Show two columns of categories by default.
751
- * Replace fees table with responsive list of fees.
752
- * Add Moroccan Dirham (MAD) currency to Payment settings.
753
- * Fix translation support in Billing Form.
754
- * Fix preview links when the no-id-in-link setting is disabled.
755
-
756
- = Version 4.1.10 =
757
- * Improve responsive behaviour of categories list.
758
- * Update PayPal module to comply with PayPal's security upgrade.
759
- * Fix sticky behavior for listings posted with recurring payments.
760
- * Update behavior of listings that are sticky in a particular fee/category.
761
- * Fix previews (when listing has no slug set).
762
- * Toggle "wpbdp-hide-on-mobile" class when clicking contact form button..
763
- * Fix bug that prevented bulk edit actions from working.
764
- * Fix PHP notices in Current Images section in Edit Listing page.
765
- * Restore support for shortcodes in posts.
766
- * A listings is now considered paid only if currently associated with a paid fee.
767
- * ABC filter URLs will now point to the first page.
768
- * Update compatibility code for Breadcrumb NavXT.
769
- * Fix bug that caused HTML entities to appear in e-mail subjects.
770
- * Update German translation.
771
-
772
- = Version 4.1.9 =
773
- * Add support to export listings that include Unicode characters.
774
- * Avoid passing $this by reference in apply_filter_ref_array() for PHP 7.1.
775
- * Fix French translation for Tag and Category.
776
- * Show error in Submit Listing view if required fields are missing.
777
- * Fix typo: 'sucessfully' -> 'successfully'.
778
- * Fix sticky behavior for listings posted with recurring payments.
779
- * Improve security of listing image uploading.
780
-
781
- = Version 4.1.8 =
782
- * Do not generate HTML for Facebook field if the value is empty.
783
- * Fix a bug that caused Authorize.Net Gateway to build the Credit Card expiration date using the first two digits of the expiration year, instead of the last two.
784
- * Fix Fatal Error trying to render excerpt for textarea fields.
785
- * Allow admins to disable the CSS rules for listing action buttons.
786
- * Fix search problem that occurs when form field used in the Quick Search feature is deleted.
787
- * Update link to reCAPTCHA's website.
788
- * Fix Author dropdown in Bulk Edit form for Listings to include the - No Change - option again.
789
- * Remove fuzzy tags from all translation files, making more translations available.
790
- * WPML integration: fix bug that caused different versions of the same listings to show up in widgets.
791
- * Generate better URLs to improve compatibility with WPML.
792
- * Fix routine to clean metadata for Checkbox, Radio and Select fields.
793
- * Add "country" as a new theme tag.
794
- * Fix PHP warning triggered when no update information could be retrieved during an update check.
795
- * Update JS code to latest jQuery standards.
796
- * Add `wpbdp_should_enqueue_scripts_and_styles` filter to allow third parties to force inclusion of BD scripts and styles.
797
- * Improve appearance of Region archives.
798
- * Fix French translation for Tag and Category.
799
- * Fix typo in WPBDP_Plugin.
800
-
801
- = Version 4.1.7 =
802
- * Fix 'Include comment form on listing pages' setting to store the proper value.
803
- * Avoid PHP Warning when field value includes '%'.
804
- * Use an array to pass headers to wp_mail in Email class.
805
- * Increase importance of rules in .wpbdp-show-on-mobile CSS class.
806
-
807
- = Version 4.1.6 =
808
- * Fix error in migration routine affecting multivalued fields on some sites.
809
- * Introduce new setting for comment handling to prevent duplicate comment forms.
810
- * Review compatibility with WordPress 4.7.
811
- * Fix preview links for admins.
812
- * Fix a problem with URL redirection to custom login pages.
813
- * Accept one option per line (including commas) as part of a multivalued field options.
814
- * Improve Schema.org integration
815
- * Add Swedish translation.
816
- * Add CSS fix for quick search box.
817
-
818
- = Version 4.1.5 =
819
- * Add support for template block/variable metadata in PHP comments.
820
- * Fix support for template variables customization outside of themes.
821
- * Fix an error that resulted in the WP comment form appearing twice.
822
- * Fix a path resolving issue that resulted in an incorrect template being loaded under certain circumstances.
823
- * Support transliteration of arabic characters when normalizing field names for CSS, CSV export/import, etc.
824
- * Make some CSS selectors more specific to prevent conflicts.
825
- * Allow users to control the size of the list in Multiselect form fields.
826
- * Add phone and email fields to billing information form.
827
- * Make Authorize.net gateway use e-mail and phone number properties from the billing form.
828
- * Allow Editor user to Preview listings.
829
- * Improve performance of search queries that involve listing metadata.
830
- * Fix an issue with Form Fields options that caused selected values to show up unselected for some fields.
831
- * Add contact form message that wasn't being marked as translatable.
832
- * Unify gettext contexts for "Submit A Listing" view title.
833
-
834
- = Version 4.1.4 =
835
- * Automatically load translation files from themes.
836
- * Improve performance for BD premium modules update checks on plugin page.
837
- * Custom themes (not developed by BD) can be used without a license.
838
- * Add showsearchbar parameter to business-directory-manage-listings shortcode.
839
- * Fix support for '&' in tag names.
840
-
841
- = Version 4.1.3 =
842
- * Improve appearance of search button on Advanced Search form.
843
- * Remove carriage-return characters from options in multivalued fields.
844
- * Load jQuery-UI stylesheet using a secure connection.
845
- * Fix Edit and Delete links on the backend for the Contributor role.
846
- * Improve error handling during installation.
847
- * Minor fix to searches involving URL fields.
848
- * Fix meta tag generation when CPT Advanced Integration is disabled.
849
-
850
- = Version 4.1.2 =
851
- * Fix meta tag generation when CPT integration is disabled.
852
- * Add option to display single view in a new browser tab/window
853
- * Fix typo in French translation.
854
- * Improve behavior of "Preview" button on listings backend.
855
- * Add some missing translatable strings.
856
- * Fix for search form not working when permalinks were disabled.
857
- * Fix shortcode execution in content fields under certain circumstances.
858
- * Fix fatal error trying to create a category in CSV Import.
859
- * Add rewrite rules for feed URLs for categories and tags
860
-
861
- = Version 4.1.1 =
862
- * Fix searching involving multivalued fields.
863
- * Re-enable user template overrides for core and theme templates
864
- * Fix: "Show search listings" setting wasn't being honored.
865
- * Fix searches involving category fields.
866
- * Fix searches involving meta fields.
867
-
868
- = Version 4.1 =
869
- * Show width/height/size constraints for images in the image upload form.
870
- * Allow disabling of frontend listing submission.
871
- * Improve handling of paths on Windows systems.
872
- * Allow fee plans to have a description that is shown during fee selection
873
- * Add option to enable auto-generation of excerpt from listing content.
874
- * Add backend listing URL to e-mail notifications sent to admins.
875
- * Fix contact form toggle not working on mobile devices.
876
- * Various improvements to search.
877
- * New design for the quick search bar that integrates with Regions and ZIP Code Search.
878
-
879
- = Version 4.0.8 =
880
- * Added Arabic translation to core
881
- * Some query improvements when in CPT compatibility mode.
882
- * Work around a bug in U-Design theme.
883
- * Improve compatibility with fullwidth template in takeawaywp theme.
884
- * Translate some settings that were missing a translation.
885
- * Fix comments and comment form not appearing eve when enabled.
886
- * Fixes for mobile devices.
887
- * Add filtering to allow overriding security policy in `wpbdp_user_can()`.
888
- * Fallback implementation for `wpbdp_detect_encoding()` when `iconv` is not available.
889
- * Improve security inside dispatching subsystem.
890
-
891
- = Version 4.0.7 =
892
- * Improve excerpt display on mobile devices.
893
- * Show themes update badge inside main menu item too.
894
- * Improved usability for Directory Themes screen.
895
- * Fix some query issues when on CPT compat mode.
896
- * Mark some strings as translatable.
897
- * Restore the routine that handled expiration of listings.
898
-
899
- = Version 4.0.6 =
900
- * Compatibility fixes for Canvas theme.
901
- * Compatibility fixes for X theme.
902
- * Add "City" and "State" as taggable fields in themes.
903
- * Improve display of addresses in themes.
904
- * Fix for Featured Listings widget not honoring configured number of posts setting.
905
- * Add "menu" attribute to listings shortcode.
906
- * Prevent Jetpack sharing from being displayed twice on listings.
907
- * Update admin sidebar.
908
- * Fix minor translation omission.
909
-
910
- = Version 4.0.5 =
911
- * Atahualpa theme compatibility fixes.
912
- * Use an auto-complete field instead of a dropdown for the users field on the CSV import screen to avoid performance problems.
913
- * Several fixes for encoding detection and handling during CSV imports.
914
- * Longevity theme compatibility fixes.
915
- * Divi theme compatibility fixes.
916
- * Do not show any sortbar filters when sortbar is disabled.
917
- * Additional fixes for the Genesis theme
918
- * Fix sorting and other query problems when in CPT compatibility mode.
919
- * Fix search query integration with sortbar.
920
- * Restore pre-4.0 behavior (regarding Regions and Maps) of the listings shortcode.
921
- * Add redirects for old submit listing URLs.
922
- * Restore tag functionality for the listings shortcode.
923
-
924
- = Version 4.0.4 =
925
- * Add compatibility mode that disables CPT integration for setups having issues or theme conflicts.
926
- * Try single and singular templates along with page.php for improved theme compatibility.
927
- * Add compatibility layer for themes.
928
- * Genesis theme compatibility fixes.
929
- * HMTPro5 theme compatibility fixes.
930
- * Customizr and Customizr-Pro theme compatibility fixes.
931
- * Prevent duplication of CSV labels for fields.
932
-
933
- = Version 4.0.3 =
934
- * Restore WPBUSDIRMANMANAGELISTING as a valid "Manage Listings" shortcode.
935
- * Prevent view classes from being loaded more than one to prevent PHP strict errors.
936
- * Improve compatibility with Graphene theme.
937
- * Restore listing count shortcode functionality.
938
- * Fix "Address" section appearing on default theme even when no address was available.
939
- * Add missing ORDER BY clause resulting in "paid first" sort order not working correctly.
940
-
941
- = Version 4.0.2 =
942
- * Fixes for themes showing "Untitled" on some directory pages.
943
- * Fixes for Avada theme.
944
- * Reduce themes update checking periodicity to 48 hrs.
945
- * Add missing argument to search form to prevent incorrect search results being returned.
946
- * Fix to locate a replacement for page.php template for themes that don't have it.
947
- * Fix random ordering in Featured Listings widget.
948
- * Fix title filter for modern themes.
949
- * Fixes for path handling on Windows environments.
950
- * Fix some PHP warnings resulting from JSON decoding theme files.
951
- * Do not show a 404 error for empty categories.
952
-
953
- = Version 4.0.1 =
954
- * Fix some PHP warnings and errors
955
- * Fix listings shortcode category support.
956
- * Fix search issue in Featured Listings widget.
957
- * Fix tag pages.
958
- * Make "Pre-4.0 Template" the default theme for upgrades from 3.x.
959
-
960
- = Version 4.0 =
961
- * NEW: Add support for theming the directory + 5 premium and 1 default themes.
962
- * NEW: Added listing categories shortcode `businessdirectory-categories`.
963
- * NEW: Better integrate with WP's main query.
964
- * NEW: Allow reCAPTCHA to be disabled for logged-in users.
965
- * NEW: Allow admins to add a message with instructions during submit.
966
- * Add support for LinkedIn URLs (not just company IDs).
967
- * Fixes for recurring payments.
968
- * Fixes for SEO validation with Yoast.
969
- * Fixes for new WPML functionality.
970
- * Allow registration warning to be dismissed.
971
- * Quick search bar fixes for mobile users.
972
- * Add support for recurring payments for listing claims.
973
- * Added support for HTML tags in ratings comments.
974
- * Regions fixes for PHP 7.
975
-
976
- = Version 3.7.5 =
977
- * Fix queries involving featured listings to include listings made sticky by plan (not level).
978
- * Add SSL debugging info to "Debug" page.
979
- * Include certificate bundle for use by gateways.
980
- * Fix some backend fee editing issues.
981
- * Fix search form not appearing on Advanced Search in some cases.
982
- * Compatibility test with WP 4.5
983
- * Rename file upload JS to avoid conflicts with Visual Form Builder Pro.
984
- * Add IFRAME support for textarea fields.
985
-
986
- = Version 3.7.4 =
987
- * Show WPML translations of form field labels in validation errors.
988
- * Improve handling of line breaks in textarea fields.
989
- * Fix handling of permalink URLs with cyrillic characters.
990
- * Support "author" attribute in listings shortcode.
991
- * Make CSV export encode line breaks in a way that is compatible with CSV import.
992
- * Fix PHP warning on backend.
993
-
994
- = Version 3.7.3 =
995
- * Make category-specific fees work again.
996
- * Improve the handling of deleted categories.
997
-
998
- = Version 3.7.2 =
999
- * Add alternative code for MIME type checking on image upload when FINFO is not available to prevent fatal errors.
1000
- * Fix fee selection on the frontend after Fees API update.
1001
- * Add warning to admins when the Directory is in paid mode and there are no fees active.
1002
- * Several minor improvements to the Fees API.
1003
-
1004
- = Version 3.7.1 =
1005
- * Fixed bug where users can't change the category on listings during submit
1006
-
1007
- = Version 3.7 =
1008
- * NEW: Improved Fee admin interface
1009
- * NEW: Allow content fields to use a WYSIWYG editor on the frontend.
1010
- * NEW: Allow admins to search listings by username on the backend.
1011
- * NEW: "Phone Number" field type.
1012
- * NEW: Added Russian translation.
1013
- * Image fields now adhere to global image size restrictions.
1014
- * Fix handling of tags in select fields, during CSV imports.
1015
- * Improve CSS classes on checkout screens.
1016
- * Improve handling of line breaks in content fields.
1017
- * Improve presentation of settings pages.
1018
- * Better handle reCAPTCHA fields outside of the main page.
1019
- * Maintain Yoast SEO compatibility when title-tag is used by the theme.
1020
- * Remove Google Wallet support from the plugin.
1021
- * Use "Reply-To" header for listing contact emails.
1022
-
1023
- == Usage Doc ==
1024
-
1025
- For complete documentation on the plugin, please visit the [BD Documentation Site](https://businessdirectoryplugin.com/knowledge-base). We also have a complete [FAQ Section](https://businessdirectoryplugin.com/article-categories/faqs/) and our [Quick Start](https://businessdirectoryplugin.com/article-categories/getting-started/) guide.
1026
-
1027
- == Frequently Asked Questions ==
1028
-
1029
- For the definitive FAQ section, please visit the [FAQ Section](https://businessdirectoryplugin.com/article-categories/faqs/), or our [Getting Started](https://businessdirectoryplugin.com/article-categories/getting-started/) guide.
1030
-
1031
- = Can Business Directory Plugin support paid and free listings? =
1032
- Yes it can. You can do this by creating fee plans for 0.00 and some other paid amount at the same time. For more details, read [this article](https://businessdirectoryplugin.com/knowledge-base/how-to-run-bd-in-free-mode/).
1033
-
1034
- = Do you have video tutorials for Business Directory Plugin? =
1035
- Yes we do. They can be found [here](https://businessdirectoryplugin.com/video-tutorials/).
1036
-
1037
- = Will Business Directory Plugin work with my theme? =
1038
- Business Directory Plugin will work with any well-written, WP 4.x compliant theme. Generally speaking, paid themes tend to be higher quality than free ones, so we don't recommend those.
1039
-
1040
- Whatever theme you pick, we recommend using the Theme Check plugin (available for free on WordPress.org) to validate how WordPress-compliant that theme actually is. The more errors and warnings you see on the theme when you run that check, the worse the theme is. You can read more about it here: https://wordpress.org/plugins/theme-check/
1041
-
1042
- (This plugin was developed by WP Core developers to validate their own default themes and is highly respected in the theme community)
1043
-
1044
- In general, we like WooThemes as a solid company with great products and support. You can check them out [here](http://woothemes.com) Or [StudioPress](http://studiopress.com​​)
1045
-
1046
- = Can Business Directory be translated into my language? =
1047
- Yes it can. Business Directory Plugin comes with many user-provided translations under the /languages folder. For details on how to do it, our [translation guide](https://businessdirectoryplugin.com/knowledge-base/translating-bd-other-language/) will help get you started.
1048
-
1049
- = Is Business Directory Plugin compatible with WordPress Multisite (WPMU)? =
1050
- Yes it is. However, you cannot "network-activate" the plugin (as this will share the database). Activate it on only the subsites on which you need a directory. This can be done under Plugins->Add New as the Administrator user. Do not "network activate" BD as the "super admin".
1051
-
1052
-
1
+ === Business Directory Plugin - Listing Directories for WordPress ===
2
  Contributors: businessdirectoryplugin
 
3
  Tags: business directory, listings, directory plugin, company business directory, chamber of commerce business directory, church directory, address book, contact directory, local business directory, listings directory, link directory, member directory, staff directory
4
  Requires at least: 4.8
5
  Requires PHP: 5.6
6
+ Tested up to: 5.5
7
+ Stable tag: 5.7.1
 
8
  License: GPLv2 or later
9
 
10
+ Build a local listings directory, directory of business providers, a Yellow-Pages business directory, Yelp-like review directory, property listings and more!
11
 
12
  == Description ==
13
 
14
+ [Main Site](https://businessdirectoryplugin.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) | [Docs](https://businessdirectoryplugin.com/knowledge-base/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
15
 
16
+ Business Directory Plugin is the most popular, versatile, widely-installed, easy to use, and best-supported WordPress Business Directory plugin available. Increase interaction on your website, improve customer retention and a add revenue-generating section to your site with Business Directory Plugin!
17
 
18
+ Business Directory Plugin allows you to take any listings you want and build a local directory, directory of business providers, a real estate listings site, a Yellow-Pages style business directory, Yelp-like review sections, create a church directory, build an address book directory and much more.
19
+
20
+ Not only can you build a business directory, but you can also build any other kind of listings directory. Build a member directory, team or staff directory, company directory, and any other directory with our easy listing plugin.
21
+
22
+ Are you ready for a simple directory website builder? With Business Directory Plugin, you can be in control without a developer.
23
+
24
+ Need a classifieds listings site? Try [Another WordPress Classifieds Plugin -AWPCP](https://wordpress.org/plugins/another-wordpress-classifieds-plugin/).
25
+
26
+ == Free Directory Plugin Features ==
27
+ All [features](https://businessdirectoryplugin.com/features/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) documented on the main website.
28
 
 
 
29
  * Fully customizable form fields
30
  * Upload images per listing, allow restricted numbers of images based on fee plan
31
+ * Lots of image options: drag and drop image uploads, easy image ordering, primary image settings, thumbnail sizing and more
32
  * Accept payment for listings OR have free listings in your business directory
33
  * Accept payments using Authorize.net (requires Authorize.net account)
34
  * Full support for recurring payments (in most gateways: PayPal, Authorize.net, Stripe)
35
  * Allow for featured/sticky listings for an upgrade fee
36
+ * Widgets for Featured, Latest and Random listings. Search widget as well
37
  * Create multiple fee plans, which can be assigned to categories for posting
38
+ * Built in CSV import and export for easy directory listing creation
39
  * Support for reCAPTCHA to avoid spam listings
40
  * Sorting options for categories, listings, and front-end for users to choose sort order
41
+ * Users who post can edit listings without access to WP dashboard. Business Directory plugin is also a listing manager.
42
  * SEO Friendly using Yoast SEO
43
+ * Configurable quick-search field and sorting bar for listings for simple directory searches
44
  * Advanced search screen with ability to show/hide fields available for search
45
+ * Mobile-friendly, responsive support when installed with a responsive theme
46
  * Multi-language support in your directory with WPML
 
47
  * Integrates with popular plugins like Yoast SEO, NavXT Breadcrumbs and WP-PageNavi for easy use
48
  * Images displayed with categories (using the FREE Enhanced Categories module)
49
  * Display Category Icons/Allow Parent-Child Category Navigation (using the FREE Enhanced Category Module)
50
 
51
+ == Professional Directory Software Add-ons ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  These are optional, paid modules that you can use to enhance Business Directory Plugin's functionality and
53
+ support future development.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
+ For a complete and detailed list of features, please visit: [BusinessDirectoryPlugin.com](https://businessdirectoryplugin.com/features/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
56
 
57
+ * [File Upload Module](https://businessdirectoryplugin.com/downloads/file-attachments-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) - Allow users to upload and manage attachments on directory listings. Include PDFs, text files, and images.
58
+ * [Featured Levels Module](https://businessdirectoryplugin.com/downloads/featured-levels-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) - Assign features to paid or sticky listing plans to give users incentive to upgrade.
59
+ * [ZIP Code Search Module](https://businessdirectoryplugin.com/downloads/zip-search-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) - ZIP code/postal code radius and proximity searches supporting a number of countries.
60
+ * [Regions Module](https://businessdirectoryplugin.com/downloads/regions-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) - Location based directory listing result filtering.
61
+ * [Ratings Module](https://businessdirectoryplugin.com/downloads/ratings-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) - Create reviews with connections to each listing. Rate businesses in your directory (with Schema.org microformat support).
62
+ * [Google Maps Module](https://businessdirectoryplugin.com/downloads/google-maps-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) - Display the geo location of the business (categories, search, details -- with custom map sizes)
63
+ * [Discount Codes Module](https://businessdirectoryplugin.com/downloads/discount-codes-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) - Ability to offer discount codes based on a % or fixed amount with expirations.
64
+ * [Claim Listings Module](https://businessdirectoryplugin.com/downloads/claim-listings-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) - Post claimable listings in your business directory that other users can pay (or not) to claim.
65
 
66
+ == Payment Gateway Modules (Paid) ==
 
 
 
67
 
68
+ * [Stripe Gateway](https://businessdirectoryplugin.com/downloads/stripe-payment-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) - Accept paid listings with Stripe payments.
69
+ * [PayPal Gateway](https://businessdirectoryplugin.com/downloads/paypal-gateway-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) - Accept payments using PayPal.
70
+ * [2Checkout Gateway](https://businessdirectoryplugin.com/downloads/2checkout-gateway-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
71
+ * [PayFast Gateway](https://businessdirectoryplugin.com/downloads/payfast-payment-module/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) - Accept payments using PayFast.
72
 
73
+ == Premium Directory Skins ==
74
+ Transform your directory the easy way. With a few clicks, our directory themes will re-skin your directory. Our directory templates are designed for more customized directories without taking over as a full WordPress theme.
 
75
 
76
+ * [Theme Pack](https://businessdirectoryplugin.com/downloads/business-directory-theme-pack/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) (best deal!)
77
+ * [Elegant Grid Theme](https://businessdirectoryplugin.com/downloads/elegant-grid-theme/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
78
+ * [Modern Business Theme](https://businessdirectoryplugin.com/downloads/modern-business-theme/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
79
+ * [Business Card Theme](https://businessdirectoryplugin.com/downloads/business-card-theme/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
80
+ * [Tabbed Business Theme](https://businessdirectoryplugin.com/downloads/tabbed-business-theme/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
81
+ * [Elegant Business Theme](https://businessdirectoryplugin.com/downloads/elegant-business-theme/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
82
+ * [Mobile Compact Theme](https://businessdirectoryplugin.com/downloads/mobile-compact-theme/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
83
+ * [Restaurant Theme](https://businessdirectoryplugin.com/downloads/restaurant-theme/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
84
 
85
+ For more information please visit [businessdirectoryplugin.com](https://businessdirectoryplugin.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
86
+
87
+ Love Business Directory plugin? [Please consider purchasing a Premium Module](https://businessdirectoryplugin.com/premium-modules/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)!
88
 
89
  == Installation ==
90
+ Please see our detailed [Installation Guide](https://businessdirectoryplugin.com/knowledge-base/installation-guide/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion), the [Getting Started Guide](https://businessdirectoryplugin.com/article-categories/getting-started/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) for common how-to scenarios, and our [Initial Setup](https://businessdirectoryplugin.com/knowledge-base/installation-guide/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) page for instructions on how to get going quickly with Business Directory Plugin.
91
 
92
+ [Full documentation](https://businessdirectoryplugin.com/knowledge-base/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) for the plugin is also available.
93
 
94
+ == Screenshots ==
95
 
96
+ [Visit the main site for feature lists and screenshots](https://businessdirectoryplugin.com/features/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion)
97
 
 
98
 
99
+ == Usage Doc ==
100
+
101
+ For complete documentation on the plugin, please visit the [BD Documentation Site](https://businessdirectoryplugin.com/knowledge-base/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion). We also have a complete [FAQ Section](https://businessdirectoryplugin.com/article-categories/faqs/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) and our [Quick Start](https://businessdirectoryplugin.com/article-categories/getting-started/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) guide.
102
+
103
+ == Frequently Asked Questions ==
104
+
105
+ For the definitive FAQ section, please visit the [FAQ Section](https://businessdirectoryplugin.com/article-categories/faqs/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion), or our [Getting Started](https://businessdirectoryplugin.com/article-categories/getting-started/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) guide.
106
+
107
+ = Can Business Directory Plugin support paid and free listings? =
108
+ Yes it can. You can do this by creating fee plans for 0.00 and some other paid amount at the same time. For more details, read [this article](https://businessdirectoryplugin.com/knowledge-base/how-to-run-bd-in-free-mode/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion).
109
+
110
+ = Do you have video tutorials for Business Directory Plugin? =
111
+ Yes we do. They can be found [here](https://businessdirectoryplugin.com/video-tutorials/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion).
112
+
113
+ = Will Business Directory Plugin work with my theme? =
114
+ Business Directory Plugin will work with any well-written, WP compliant theme. Generally speaking, paid themes tend to be higher quality than free ones.
115
+
116
+ Whatever theme you pick, we recommend using the Theme Check plugin (available for free on WordPress.org) to validate how WordPress-compliant that theme actually is. The more errors and warnings you see on the theme when you run that check, the worse the theme is. You can read more about it at https://wordpress.org/plugins/theme-check/
117
+
118
+ (This plugin was developed by WP Core developers to validate their own default themes and is highly respected in the theme community)
119
+
120
+ In general, we like WooThemes as a solid company with great products and support. You can check them out [here](http://woothemes.com) Or [StudioPress](http://studiopress.com​​)
121
+
122
+ = Can Business Directory be translated into my language? =
123
+ Yes it can. Business Directory Plugin comes with many user-provided translations under the /languages folder. It is already available in the following languages:
124
+
125
+ * Spanish
126
+ * French
127
+ * German
128
+ * Russian
129
+ * Italian
130
+ * Polish
131
+ * Arabic
132
+ * Swedish
133
+
134
+ And you can easily [translate it yourself](https://businessdirectoryplugin.com/knowledge-base/translating-bd-other-language/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion) if you need to.
135
 
136
+ = Is Business Directory Plugin compatible with WordPress Multisite (WPMU)? =
137
+ Yes it is. However, you cannot "network-activate" the plugin (as this will share the database). Activate it on only the subsites on which you need a directory. This can be done under Plugins->Add New as the Administrator user. Do not "network activate" BD as the "super admin".
138
+
139
+ = What types of Directories can Business Directory Plugin help me build? =
140
+ Our directory website builder software combined with our add-on modules is the most powerful business directory plugin on the market. The options are limitless. Here are a few types of directories you can create:
141
+
142
+ * Business directory
143
+ * Company directory
144
+ * Team directory
145
+ * Member directory
146
+ * Staff directory
147
+ * Hotel directory
148
+ * Medical directory
149
+ * Restaurant directory
150
+ * Church directory
151
+ * Travel review directories
152
+ * Software review sites
153
+ * Professional directory
154
+ * Local provider listings
155
+ * A Yellow Pages directory
156
 
157
  == Changelog ==
158
 
159
+ = Version 5.7.1 =
160
+ * Fix Random Listings shortcode attributes. (#4601)
161
+ * Add data-breakpoints to directory container. (#4607)
162
+ * Validate variable type is string before applying using function for string-type. (#4608)
163
+ * Fix User selector script. (#4614)
164
+ * Add missing parameter for installer class, required for uninstall process.
165
+
166
  = Version 5.7 =
167
  * New Setting allows site admins define which existing user will own Anonymous Submitted Listings. (#4545)
168
  * [Paid] listing status tag was replaced by [Payment {status}] for more accurate information about Listing Payment status. (#4553)
334
  * Add "payment method required" notice for 100% discounted checkouts with recurring payments.
335
  * Add closing slash for directory posts links.
336
  * Combine fieldtype options and available Tags when displaying BD tags field.
337
+ * Use tag instead of tag to render SVG social icons.
338
  * Fix redirect variable name.
339
 
340
  = Version 5.5.2 =
401
  * Allow plan change in renew listing process.
402
  * Allow free listing renewal without payment gateway.
403
  * Allow validators to admin only (private) fields.
404
+
405
  = Version 5.3.2.1 =
406
  * Fixed issue where images showed on wrong side of listing.
407
 
458
  * Add compatibility to WPBDP_Email class with external email plugins.
459
  * Enhance Long Description field as excerpt in list view.
460
  * Add option to disable expiration emails.
461
+
462
  = Version 5.2 =
463
  * Add pagination to Latest, Random, Featured listings shortcodes.
464
  * Add [placeholders] to email notice templates.
680
  * Added a "Timeline" metabox on the backend to clearly see a listing's history.
681
  * Admins can now create any number of listing expiration/reminder notices.
682
  * Simplify how premium modules integrate into BD.
683
+ * Added business directory-quick-search shortcode to display the Quick Search form.
684
  * Added warning when reaching the image limit during listing submit/edit.
685
  * Allow users to edit categories for their listing if the plan allows it.
686
  * Added option to sort listings using the configured sort for their fee plans.
693
  * Added a new log mechanism for better debugging.
694
  * Updated the premium module initialization API.
695
  * License and update checking has been merged to cover both themes and premium modules, reducing external requests.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/user-selector.js CHANGED
@@ -107,49 +107,5 @@ jQuery( function($) {
107
  if ( $userSelect.length > 0 ) {
108
  $userSelector = new UserSelector( $userSelect, $userSelect.data( 'configuration' ) );
109
  }
110
-
111
- // Quick Edit screen
112
- // $quickUserSelect = $('#inline-edit').find( '.wpbdp-user-selector' );
113
-
114
- // if ( $quickUserSelect.length > 0 ) {
115
- // $quickUserSelector = new UserSelector( $quickUserSelect, $quickUserSelect.data( 'configuration' ) );
116
- // }
117
-
118
- $( document ).ready(function() {
119
- var $quickUserSelect = null;
120
- var target = document.querySelector('#the-list' );
121
-
122
- var observer = new MutationObserver(function(mutations) {
123
- mutations.forEach(function(mutation) {
124
- //addedNodes contains all detected new controls
125
- if ( mutation && mutation.addedNodes ) {
126
- //only apply select2 to select elements
127
- if ( $( mutation.addedNodes ).attr( 'id' ) === 'edit-' + id) {
128
- $quickUserSelect = $( '#edit-' + id ).find( '#wpbdp-user-select .wpbdp-user-selector' );
129
-
130
- if ( $quickUserSelect.length > 0 ) {
131
- $quickUserSelect.select2();
132
- }
133
- }
134
- }
135
- });
136
- // setTimeout( function () {
137
- // $quickUserSelect = $( '#edit-' + id ).find( '#wpbdp-user-select .wpbdp-user-selector' );
138
-
139
- // if ( $quickUserSelect.length > 0 ) {
140
- // $quickUserSelector = new UserSelector( $quickUserSelect, $quickUserSelect.data( 'configuration' ) );
141
- // }
142
-
143
- // }, 250 );
144
- } );
145
-
146
- observer.observe( target, {characterData: true, childList: true});
147
-
148
- $( '#the-list' ).on( 'click', '.editinline', function() {
149
- var row = $(this).closest('tr').attr('id'),
150
- parts = row.split('-');
151
-
152
- id = parts[parts.length - 1];
153
- });
154
- });
155
  } );
107
  if ( $userSelect.length > 0 ) {
108
  $userSelector = new UserSelector( $userSelect, $userSelect.data( 'configuration' ) );
109
  }
110
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  } );
assets/js/user-selector.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function($){var id=0,UserSelector=function(select,options){var self=this;return self.$select=$(select),self.options=options,"undefined"!=typeof self.options&&("ajax"===self.options.mode?self.configureAjaxBehavior():self.configureInlineBehavior())};$.extend(UserSelector.prototype,{configure:function(){if("undefined"!=typeof this.options)return"ajax"===this.options.mode?void this.configureAjaxBehavior():void this.configureInlineBehavior()},configureAjaxBehavior:function(){var self=this,options=$.extend(!0,{},self.options.select2,{ajax:{processResults:function(data){var items=$.map(data.items,function(item){return{id:item.ID,text:item.user_login}});return{results:items}}}});if(self.$select.selectWoo(options),self.options.selected.id){var option=new Option(self.options.selected.text,self.options.selected.id,(!0),(!0));self.$select.append(option).trigger("change")}self.setupEventHandlers()},setupEventHandlers:function(){var self=this;self.$select.on("change.select2",function(){self.onChange()})},configureInlineBehavior:function(){var self=this;self.$select.selectWoo(self.options.select2),self.setupEventHandlers()},onChange:function(){var self=this;$.isFunction(self.options.onChange)&&self.options.onChange(self.getSelectedUser())},getSelectedUser:function(){var self=this,users=self.$select.selectWoo("data");return users&&users.length?{id:users[0].id,name:users[0].text}:{id:0,name:""}},clearSelectedUser:function(){var self=this;self.$select.val(null).trigger("change")}}),$userSelect=$("#wpbdp-listing-owner").find(".wpbdp-user-selector"),$userSelect.length>0&&($userSelector=new UserSelector($userSelect,$userSelect.data("configuration"))),$(document).ready(function(){var $quickUserSelect=null,target=document.querySelector("#the-list"),observer=new MutationObserver(function(mutations){mutations.forEach(function(mutation){mutation&&mutation.addedNodes&&$(mutation.addedNodes).attr("id")==="edit-"+id&&($quickUserSelect=$("#edit-"+id).find("#wpbdp-user-select .wpbdp-user-selector"),$quickUserSelect.length>0&&$quickUserSelect.select2())})});observer.observe(target,{characterData:!0,childList:!0}),$("#the-list").on("click",".editinline",function(){var row=$(this).closest("tr").attr("id"),parts=row.split("-");id=parts[parts.length-1]})})});
1
+ jQuery(function($){var UserSelector=function(select,options){var self=this;return self.$select=$(select),self.options=options,"undefined"!=typeof self.options&&("ajax"===self.options.mode?self.configureAjaxBehavior():self.configureInlineBehavior())};$.extend(UserSelector.prototype,{configure:function(){if("undefined"!=typeof this.options)return"ajax"===this.options.mode?void this.configureAjaxBehavior():void this.configureInlineBehavior()},configureAjaxBehavior:function(){var self=this,options=$.extend(!0,{},self.options.select2,{ajax:{processResults:function(data){var items=$.map(data.items,function(item){return{id:item.ID,text:item.user_login}});return{results:items}}}});if(self.$select.selectWoo(options),self.options.selected.id){var option=new Option(self.options.selected.text,self.options.selected.id,(!0),(!0));self.$select.append(option).trigger("change")}self.setupEventHandlers()},setupEventHandlers:function(){var self=this;self.$select.on("change.select2",function(){self.onChange()})},configureInlineBehavior:function(){var self=this;self.$select.selectWoo(self.options.select2),self.setupEventHandlers()},onChange:function(){var self=this;$.isFunction(self.options.onChange)&&self.options.onChange(self.getSelectedUser())},getSelectedUser:function(){var self=this,users=self.$select.selectWoo("data");return users&&users.length?{id:users[0].id,name:users[0].text}:{id:0,name:""}},clearSelectedUser:function(){var self=this;self.$select.val(null).trigger("change")}}),$userSelect=$("#wpbdp-listing-owner").find(".wpbdp-user-selector"),$userSelect.length>0&&($userSelector=new UserSelector($userSelect,$userSelect.data("configuration")))});
business-directory-plugin.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
  /**
3
  * Plugin Name: Business Directory Plugin
4
- * Plugin URI: https://www.businessdirectoryplugin.com
5
  * Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
6
- * Version: 5.7
7
- * Author: D. Rodenbaugh
8
  * Author URI: https://businessdirectoryplugin.com
9
  * Text Domain: WPBDM
10
  * Domain Path: /languages/
1
  <?php
2
  /**
3
  * Plugin Name: Business Directory Plugin
4
+ * Plugin URI: https://businessdirectoryplugin.com
5
  * Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
6
+ * Version: 5.7.1
7
+ * Author: Business Directory Team
8
  * Author URI: https://businessdirectoryplugin.com
9
  * Text Domain: WPBDM
10
  * Domain Path: /languages/
includes/admin/class-admin.php CHANGED
@@ -908,7 +908,7 @@ to how WordPress stores the data.", 'WPBDM' )
908
  $nonce = isset( $_POST['_wpnonce'] ) ? trim( $_POST['_wpnonce'] ) : '';
909
 
910
  if ( $nonce && wp_verify_nonce( $nonce, 'uninstall bd' ) ) {
911
- $installer = new WPBDP_Installer();
912
 
913
  // Delete listings.
914
  $post_ids = $wpdb->get_col( $wpdb->prepare( "SELECT * FROM {$wpdb->posts} WHERE post_type = %s", WPBDP_POST_TYPE ) );
908
  $nonce = isset( $_POST['_wpnonce'] ) ? trim( $_POST['_wpnonce'] ) : '';
909
 
910
  if ( $nonce && wp_verify_nonce( $nonce, 'uninstall bd' ) ) {
911
+ $installer = new WPBDP_Installer( 0 );
912
 
913
  // Delete listings.
914
  $post_ids = $wpdb->get_col( $wpdb->prepare( "SELECT * FROM {$wpdb->posts} WHERE post_type = %s", WPBDP_POST_TYPE ) );
includes/class-shortcodes.php CHANGED
@@ -419,7 +419,7 @@ class WPBDP__Shortcodes {
419
  array(
420
  'orderby' => 'rand'
421
  ),
422
- $atts
423
  );
424
  }
425
 
419
  array(
420
  'orderby' => 'rand'
421
  ),
422
+ $sc_atts
423
  );
424
  }
425
 
includes/class-wpbdp.php CHANGED
@@ -21,7 +21,7 @@ final class WPBDP {
21
  }
22
 
23
  private function setup_constants() {
24
- define( 'WPBDP_VERSION', '5.7' );
25
 
26
  define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( WPBDP_PLUGIN_FILE ) ) );
27
  define( 'WPBDP_INC', trailingslashit( WPBDP_PATH . 'includes' ) );
21
  }
22
 
23
  private function setup_constants() {
24
+ define( 'WPBDP_VERSION', '5.7.1' );
25
 
26
  define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( WPBDP_PLUGIN_FILE ) ) );
27
  define( 'WPBDP_INC', trailingslashit( WPBDP_PATH . 'includes' ) );
includes/helpers/class-listing-search.php CHANGED
@@ -275,12 +275,16 @@ class WPBDP__Listing_Search {
275
  continue;
276
  }
277
 
278
- $search_terms = array_filter(
279
- explode( ' ', trim( $term ) ),
280
- function ( $t ) {
281
- return strlen( $t ) >= 2;
282
- }
283
- );
 
 
 
 
284
 
285
  if ( count( $search_terms ) < 2 ) {
286
  $res[] = array( $field_id, $term );
275
  continue;
276
  }
277
 
278
+ $search_terms = array();
279
+
280
+ if ( is_string( $term ) ) {
281
+ $search_terms = array_filter(
282
+ explode( ' ', trim( $term ) ),
283
+ function ( $t ) {
284
+ return strlen( $t ) >= 2;
285
+ }
286
+ );
287
+ }
288
 
289
  if ( count( $search_terms ) < 2 ) {
290
  $res[] = array( $field_id, $term );
languages/WPBDM-ar.mo CHANGED
Binary file
languages/WPBDM-ar.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Business Directory Plugin v5.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Business Directory Plugin v5.7.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
languages/WPBDM-de_DE.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Business Directory Plugin v5.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Business Directory Plugin v5.7.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
languages/WPBDM-en_US.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Business Directory Plugin v5.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Business Directory Plugin v5.7.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
languages/WPBDM-es_ES.mo CHANGED
Binary file
languages/WPBDM-es_ES.po CHANGED
@@ -2,11 +2,11 @@
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Business Directory Plugin v5.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
9
- "PO-Revision-Date: 2020-06-17 15:32-0500\n"
10
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
11
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
12
  "Language: es_ES\n"
@@ -4483,7 +4483,7 @@ msgstr "Utilizar reCAPTCHA para envíos de listados"
4483
  #: includes/admin/settings/class-settings-bootstrap.php:138
4484
  msgctxt "settings"
4485
  msgid "Use reCAPTCHA for edit listings"
4486
- msgstr "¿Utilizar reCAPTCHA para reportar listados?"
4487
 
4488
  #: includes/admin/settings/class-settings-bootstrap.php:146
4489
  msgctxt "settings"
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Business Directory Plugin v5.7.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
9
+ "PO-Revision-Date: 2020-06-30 17:15-0500\n"
10
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
11
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
12
  "Language: es_ES\n"
4483
  #: includes/admin/settings/class-settings-bootstrap.php:138
4484
  msgctxt "settings"
4485
  msgid "Use reCAPTCHA for edit listings"
4486
+ msgstr "¿Utilizar reCAPTCHA para editar listados?"
4487
 
4488
  #: includes/admin/settings/class-settings-bootstrap.php:146
4489
  msgctxt "settings"
languages/WPBDM-fr_FR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Business Directory Plugin v5.7\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Business Directory Plugin v5.7.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
languages/WPBDM-it_IT.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Business Directory Plugin v5.7\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Business Directory Plugin v5.7.1\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
languages/WPBDM-nl_NL.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Business Directory Plugin v5.7\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Business Directory Plugin v5.7.1\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
languages/WPBDM-pl_PL.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Business Directory Plugin v5.7\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Business Directory Plugin v5.7.1\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
languages/WPBDM-ru_RU.po CHANGED
@@ -1,6 +1,6 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Business Directory Plugin v5.7\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Business Directory Plugin v5.7.1\n"
4
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
5
  "directory-plugin\n"
6
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
languages/WPBDM-sv_SE.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Business Directory Plugin package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Business Directory Plugin v5.\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
2
  # This file is distributed under the same license as the Business Directory Plugin package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Business Directory Plugin v5.7.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/business-"
7
  "directory-plugin\n"
8
  "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
languages/WPBDM.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the GPLv2 or any later version.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Business Directory Plugin 5.7\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/business-directory-plugin\n"
8
- "POT-Creation-Date: 2020-06-17 20:29:07+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the GPLv2 or any later version.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Business Directory Plugin 5.7.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/business-directory-plugin\n"
8
+ "POT-Creation-Date: 2020-06-30 22:15:07+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
templates/page.tpl.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  $show_bar = ( isset( $_child->_bar ) ? $_child->_bar : ( isset( $_bar ) ? $_bar : true ) );
3
  ?>
4
- <div id="wpbdp-page-<?php echo $_child->_id; ?>" class="wpbdp-page wpbdp-page-<?php echo $_child->_id; ?> <?php echo $_class; ?>">
5
  <?php if ( $show_bar ): ?>
6
  <?php $bar_args = isset( $_bar_args ) ? $_bar_args : ( isset( $_child->_bar_args ) ? $_child->_bar_args : array() ); ?>
7
  <?php echo wpbdp_main_box( $bar_args ); ?>
1
  <?php
2
  $show_bar = ( isset( $_child->_bar ) ? $_child->_bar : ( isset( $_bar ) ? $_bar : true ) );
3
  ?>
4
+ <div id="wpbdp-page-<?php echo $_child->_id; ?>" class="wpbdp-page wpbdp-page-<?php echo $_child->_id; ?> <?php echo $_class; ?>" data-breakpoints='{"small": [0,560], "medium": [560,780], "large": [780,999999]}' data-breakpoints-class-prefix="wpbdp-page">
5
  <?php if ( $show_bar ): ?>
6
  <?php $bar_args = isset( $_bar_args ) ? $_bar_args : ( isset( $_child->_bar_args ) ? $_child->_bar_args : array() ); ?>
7
  <?php echo wpbdp_main_box( $bar_args ); ?>