also, a shortcode to show just the directory as I cannot seem to find any. π
Hi Crosswire,
Our search shortcode doesn’t show just single fields of search. It only shows the advanced search form right now, which includes the standard directory links.
Our full list of shortcodes is here: http://businessdirectoryplugin.com/support-forum/faq/valid-bd-shortcodes-2-1/
The directory one is on there, but it shows the directory just like the page we create. I’m not sure what you mean by “just the directory” as the directory is a complex entity and contains lots of “stuff” that goes along with it.
Thank you. Directory meaning the part where all the categories are shown. So i meant the shortcode for all categories instead of listings.
Ah–I see. We don’t have a “category only shortcode” today. We have ones that display the listings for individual categories, but that’s it. It’s a good suggestion and I’ll add it to the list for things to put into future releases.
also, can i remove the “advanced search” text from below the search bar. I want users to just use that one search box.
You can probably use custom CSS to put a “display:none” on that specific link using selectors. Here is an article about how to use custom CSS with Business Directory in a way that doesn’t get overwritten on upgrade of BD: http://businessdirectoryplugin.com/support-forum/faq/how-to-use-custom-styles-with-bd-2-1/
There’s no setting in BD to handle it automatically, though.
Ok thank you. Also, For the life of me, I can’t seen to get the this search box align to the left.
see image. http://postimg.org/image/wyl5ger8t/
I tried firebug but only expands the text box the full width when I play with the css code.
What have you tried so far for custom CSS? It may require some experimentation, since each theme is very different on how it handles global styles.
I created this in my child theme folder
wpbdm_custom_styles.css and added my styles but the plugin doesn’t pick it up.
when moved the above css file to the plugin directory still doesn’t pick up.
using firebug, it still picks up the css code from min.css. strange.
adding this moves the item to the left which i want. well when firebug shows it
.wpbdp-bar .wpbdp-search-form {
margin: 0 0 0 50%; (removing the 50%)
padding: 0 !important;
}
I did manage to get it to work but had to change the code right int he min.css file for now.
That !important may force the style in that search form to ignore overrides, which is why you had to change it directly. We try to avoid using that !important element unless absolutely necessary. In this case, it may be your only solution. Definitely save a backup of that file, because upgrades to the plugin will cause it to disappear.