You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have a site-wide style setting, used for every instance of the share buttons.
But in some cases you may want to use different styling based on the instance. For instance, above post, below post, and in sidebar.
We should add a $style parameter to the display() method here. If not provided, the site-wide setting will still be used.
We should also update the $locations array to include this setting. It will be blank by default (so site-wide is still used), but that will allow the style to be set using the ea_share_count_theme_locations filter.
The text was updated successfully, but these errors were encountered:
Currently we have a site-wide style setting, used for every instance of the share buttons.
But in some cases you may want to use different styling based on the instance. For instance, above post, below post, and in sidebar.
We should add a
$style
parameter to thedisplay()
method here. If not provided, the site-wide setting will still be used.We should also update the
$locations
array to include this setting. It will be blank by default (so site-wide is still used), but that will allow the style to be set using theea_share_count_theme_locations
filter.The text was updated successfully, but these errors were encountered: