Notice: This forum has become difficult to maintain and will no longer be supported.
If you have a current account or a bug report, please open a ticket. If you have questions about the free version of Business Directory, please post in the WordPress.org forum and our team will respond there.
There is an updated page here, discussing the way you can modify the vanilla templates used by BD to perfectly match your theme:
Please read this if you are having trouble with BD integration with your theme.
For 2.1+, this has changed a bit. It's now SIMPLER and requires FEWER FILES to customize. The theme integration is more automatic and looks better out of the box.
All of the CSS pages contain now abundant CSS classes to allow for easy styling.
For instance, the search page is enclosed in a DIV with “wpbdp-search-page” ID and classes
“wpbdp-search-page businessdirectory-search businessdirectory wpbdp-page”.
The “Add Listing” page has ID “wpbdp-submit-page” and classes “wpbdp-submit-page
businessdirectory-submit businessdirectory wpbdp-page”, and even one for the current step the
user is in like “step-checkout”.
Combining all of these classes it should be pretty easy to theme specific pages or sections in a
way that wasn’t possible before.
Template overrides from previous versions are still possible, but we have some new *easier* ones:
This template is called every time a list of listings is to be displayed (in the main page, the
category view, search, “manage listings” page, “view listings” page, etc.) so only one template
needs to be overridden to change this behavior now.
The template doesn’t have to deal with the header/footer inclusions like it used to prior to 2.0.5, since it is
always called from within a page thanks to the new page-based navigation approach. This improves the theme integration
immensely while still allowing access to customize the look of your directory.
** IF YOU ARE HAVING TROUBLE AFTER UPGRADE FROM 2.05 OR EARLIER WITH YOUR OLD TEMPLATE(S) **
First, you should try removing your customization(s) from your theme directory and just run it with the "standard" BD templates to see if the problem goes away. Lots of things have been simplified by 2.1. If it does, your template is out of date and the new one is better for you. Throw your old one away. Use the new one.
If not, then post your issue in the support area so we can take a deeper look.
This template controls how a listing “single” view looks like in the new page-based
approach. When this template is called the “current” post is the listing so standard WP functions
like the_title() and the_author_meta() still work, but we support some easier variable names that
users certainly will appreciate, like $is_sticky or $listing_fields to check if the listing is sticky or to
display the list of listing fields.
Please also see our Advanced Customization guide about how to access fields directly in your template: https://businessdirectoryplugin.com/support-forum/faq/advanced-customization-of-the-list-and-detail-views-of-bd/
We now have a full customization guide for all files in BD and what they do:
Most Users Ever Online: 402
Currently Online: capitalchoicemodomodo, firstname.lastname@example.org, email@example.com
Currently Browsing this Page:
Guest Posters: 5329
Newest Members:scott hicks
Moderators: bizdirectorysupport: 18713, Bobbie: 3
Administrators: Business Directory Support: 1720, Steph Wells: 0