Here’s an example of an affected category: http://currentorg.staging.wpen…..ndraising/
The full list of listings works as expected: http://currentorg.staging.wpen…..l_listings
Individual listings also do not display as expected: http://currentorg.staging.wpen…..rnational/
Where should I start looking for figuring out how to correct the category lists and the single-listing display pages?
Here’s the source code driving the generic archive template in this theme: https://github.com/INN/Largo/blob/v0.5.5.3/archive.php
And the code for the generic single template used by this site: https://github.com/INN/Largo/blob/v0.5.5.3/partials/content-single-classic.php
Given how `the_ID()`on the single template is returning `0` instead of the post ID for the listing, I’m wondering if somehow the business directory plugin isn’t setting up posts correctly? This is but one possible avenue of exploration.
Sorry to see you having this problem. What version of WP and BD plugin do you have? I would suggest that you start troubleshooting by running a complete plugin & theme conflict test. Here is an article about how to test for theme and plugin conflicts with Business Directory, which may help pinpoint the issue:
A couple more things to check:
– Go to BD Admin -> BD Theme and check if you have the “DEFAULT THEME” option selected. Also, try the NO THEME option to see if it works.
– Go to Directory Admin -> Manage Options -> General -> Directory Display Options -> and select “Disable advanced CPT integration” to see if that changes anything.
We’re using WordPress 4.7.3 and version 4.1.9 of the business directory plugin. The active theme is “NO THEME”, according to the business directory plugin’s admin. (the menu item to get there is Directory Admin > Directory Themes.)
Checking the “Disable advanced CPT integration” box did make the listings display as expected. Thanks for the suggestion. Can you explain a little more about what that does?
Glad you have this sorted out. This option basically turns BD 4.0+ back into BD 3.7.5 in terms of how it outputs things in the directory. We now behave “correctly” as a custom post type and as a result, themes will now recognize pages that we didn’t correctly display before—like categories, category archives, main page, etc. The “old” way did everything through ONE page. The “new” way does it more like posts and pages in WP.
Most Users Ever Online: 103
Currently Browsing this Page:
Guest Posters: 3693
Administrators: Business Directory Support: 1680