Show and sort ALL entries of Business Directory Plugin
If you are already using the Business Directory Plugin for WordPress you know how powerful it is in building directories of any kind paid or free. However if you want to have a page that shows all the entries of your directory, sorted you have a problem. When you use the [businessdirectory-viewlistings] shortcode the entries are shown by category after category and not as a single list. E.g. all the entries in category a, then all the entries in category b and so on.
The solution is to
- Create a new tag, e.g. “all” (at …/wp-admin/edit-tags.php?taxonomy=wpbdp_tag&post_type=wpbdp_listing )
- Tag every entry with this new tag (you can use the bulk edit process on the admin page to do this)
- Use the [businessdirectory-viewlistings tag=#] where # is the id of your “all” tag (at .../wp-admin/admin.php?page=wpbdp_admin_settings&groupid=listings )
That’s it, now you have a directoy with all the listing sprted by whatever criteria you set on the admin page
Recent Comments