jaredatch / Shared-Counts

WordPress plugin that leverages SharedCount.com API to quickly retrieve, cache, and display various social sharing counts.
GNU General Public License v2.0
49 stars 16 forks source link

If settings page is not saved, no style is used on frontend #47

Closed billerickson closed 6 years ago

billerickson commented 6 years ago

This isn't a common issue since most people use the settings page to add the share buttons to the page, but if your theme or plugin already has Shared Counts support, you'll get unstyled buttons.

Steps to reproduce:

  1. Install and activate the Shared Counts plugin
  2. In a theme or plugin, display it using ea_share()->front->display()

screenshot

another

jaredatch commented 6 years ago

I think we just need to set a default style.

https://github.com/jaredatch/Shared-Counts/blob/develop/includes/class-shared-counts-admin.php#L598