The bw_dash shortcode currently expects to be passed a single icon name.
Requirements
It so that it can display multiple icons in one invocation of the shortcode
e.g.
[bw_dash star-filled,star-filled,star-filled,star-half,star-empty]
would display a star rating of 3.5 stars of 5.
Proposed solution
Accept multiple values in the icon parameter (positional parameter 0)
call bw_dash_enqueue_font for the first icon only
if multiple fonts are required then you'll need multiple bw_dash shortcodes
use DIY-oik to create simpler shortcodes e.g. s15 through s55 for star ratings 1 to 5
The bw_dash shortcode currently expects to be passed a single icon name.
Requirements
It so that it can display multiple icons in one invocation of the shortcode e.g.
[bw_dash star-filled,star-filled,star-filled,star-half,star-empty]
would display a star rating of 3.5 stars of 5.Proposed solution
bw_dash_enqueue_font
for the first icon only