BREAKDANCE USERS
Shortcodes not appearing when used within text or rich text? This is because Breakdance does not, by default, apply
https://breakdance.com/documentation/other/security/the_content
filter to posts/pages.
[bkf_site_title] #
Outputs the site title – intended for use inline in text in templates. No parameters are accepted nor required.
[bkf_page_title] #
Outputs the current page/post title – intended for use inline in text in templates. No parameters are accepted nor required.
[bkf_suburb_search] #
Outputs an Ajax search box which searches suburbs listed in FloristPress Suburbs List delivery methods. Does not check any other delivery method types (ie. flat rate etc.).
Parameters #
Does not require any parameters, but accepts three:
placeholder #
Customises the placeholder for the search field – default:
Start typing a suburb to check the delivery cost…
noresults #
Customises the text displayed if no results are found – default:
No suburbs matched your search.
header #
Customises the header of the results dropdown when there are results – default:
We deliver to these suburbs matching your search:
Customisation #
The following CSS selectors exist:
.bkf-suburb-search
– the<div>
containing the entire search mechanism including results.bkf-suburb-search-input
– the search input#bkflivesearch
– the results dropdown.bkf-suburb-search-results-header
– the header shown above search results.bkf-suburb-search-results-item
– the<div>
containing an individual suburb and all of its retrieved delivery methods (delivery methods are an unordered list).bkf-suburb-search-results-noresults
– the<div>
containing a<p>
element with the message when there are no results