Display simple ist of all entries
-
Is there a shortcode variation I can use to show all entries sorted alphabetically with no thumbnails?
-
All of our shortcodes are documented here: https://businessdirectoryplugin.com/docs/#shortcodes
Right now, there’s one for listings but it doesn’t have an option to hide the images. Something like that you’d have to hack into the plugin yourself.
Compared to the overall versatility of the BD plugin, available shortcodes are surprisingly limited. Please consider this for future addition.
We have some additional shortcodes planned for our next release, including:
– Random listings
– Latest listings
– Featured listingswith some parameters to help configure the output.
I look forward to it.
Please also keep RSS feeds in mind as well.
Looking at the version log, these new shortcodes have been added to BD 4.1.13, but there’s no actual shortcode info.
I assume you will be updating your documentation once you have more time later on?
Do we now have a shortcode that displays the entire listings?
No updates have been made to the documentation yet.
Please let me know if this is possible or not and if not, if you have a plan to implement it in future.
Hi @officezen,
We have updated documentation here now: https://docs.businessdirectoryplugin.com/misc/shortcodes.html
That’s where the developers are keeping the parameters, etc up to date. I need to redirect the old link over. Thanks for the reminder.
I’m not 100% sure what you mean by “display entire listings”–if you mean show the detail view of a listing, we don’t support that. If you mean show the other views above, yes, the docs here will show you how to do that.
-
This reply was modified 7 years, 9 months ago by
Business Directory Plugin.
I just want to list ALL listings by their names.
Which shortcode would that be?
The only shortcode that displays all listings would be the business-directory-listings one. However, it displays what you have configured under Directory Admin->Manage Form Fields.
If you want to limit the display of fields on the listing, you can do that under Directory Admin->Manage Form Fields. You can change the visibility of any field in there to excerpt (list view), listing (detail view) or search form. Each field can be controlled separately.????
You already have other shortcodes that show stripped version of certain entries (e.g. latest entries, random, etc.) – the only difference would be to have no limitation as to how many to show (i.e. show all) and perhaps sort them alphabetically.
Please consider adding this feature in future release as I believe it is an important addition for BD.
If you mean the listing view on the search results (the page that you get sent to when you click on a region (New York maybe)? I use this is the CSS for just that page/template and it is more useful than trying to change the settings in the bizdir setups.
body.wpbdp-view-taxonomy .wpbdp-listing .listing-details .wpbdp-field-association-region, body.wpbdp-view-taxonomy .wpbdp-listing .listing-details .wpbdp-field-type-textarea{ display: none;} body.wpbdp-view-taxonomy .wpbdp-listing .listing-details label { font-weight: 500;} body.wpbdp-view-taxonomy .wpbdp-listing .listing-details { margin-left: 1em;} body.wpbdp-view-taxonomy .wpbdp-listing .listing-thumbnail img.wpbdp-thumbnail { min-height: 110px; height: auto; max-height: 110px; width: auto; max-width: 100%; }
All I want to get is a simple list of BD entries:
business name 1 (linked)
business name 2 (linked)
business name 3 (linked)
business name 4 (linked)…A shortcode to paste onto a page.
Hi @officezen,
I’m not clear on why the [business-directory-listings] shortcode isn’t what you want or need here. Again, if you want to limit the display of fields on the listing, you can do that under Directory Admin->Manage Form Fields. You can change the visibility of any field in there to excerpt (list view), listing (detail view) or search form. Each field can be controlled separately.????
Our docs have been updated to include those missing shortcodes I mentioned before: https://docs.businessdirectoryplugin.com/misc/shortcodes.html
But it would help to know why the listings shortcode isn’t what you need in this case…
The sorting of listings is controlled by the settings under Directory Admin->Manage Options, Listing tab. That controls all shortcodes, they don’t have individual sort options at this time.
OK, hopefully this additional note will help you understand my needs better.
I wanted to have a simplified BD listing (a stripped version that shows just the business names and the links to their listings) that I can display BESIDES my main BD listing that has everything on it.
So, I do not want to change any of the form fields via Directory Admin.
By now, I am assuming this is currently not possible, but please move this to Feature Request section as needed.
This would be a very useful shortcode addition if users want to display BD listing in a different format on a different page other than the main BD page.
-
This reply was modified 7 years, 9 months ago by
- The topic ‘Display simple ist of all entries’ is closed to new replies.