-
Notifications
You must be signed in to change notification settings - Fork 16
Home
Bill Erickson edited this page Feb 9, 2018
·
3 revisions
Shared Counts is built for performance and customization. It's the perfect tool for implementing social sharing links on your WordPress website.
-
shared_counts_displayCustomize what is displayed in the share count area. -
shared_counts_display_wrap_formatCustomize the wrapping class and format of share count area. -
shared_counts_theme_locationsSpecify which hooks/filters are used for the "Before Content" and "After Content" share buttons. See the code for more information. -
shared_counts_linkAn array of elements used to form the share link. See the code for more information. -
shared_counts_link_urlThe URL being shared -
shared_counts_default_imageDefault image used by Pinterest for generic URLs. -
shared_counts_single_imageImage used by Pinterest for singular content (post, page...). Set to Featured Image by default. -
shared_counts_site_urlWhat URL is used if you specify 'site' as the ID. Defaults to home_url(). -
shared_counts_singleThe share count used when the requested service isn't recognized. If you're adding custom services, you'll use this to set the share count for that service. -
shared_counts_totalCustomize what is used as the 'total_count' -
shared_counts_load_cssDisable the CSS from loading. -
shared_counts_load_jsDisable the JavaScript from loading. -
shared_counts_email_modalEnable email modal window in use cases where the share button is manually being called. -
shared_counts_email_labelsEmail modal window labels for different fields. See the code for more information. -
shared_counts_email_subjectSubject used in email modal. Defaults to "Your friend $from_name has shared an article with you" -
shared_counts_email_bodyBody of email used in email modal. Defaults to Post Title and Post Permalink. -
shared_counts_email_headersEmail headers used by email modal. See the code for more information. -
shared_counts_update_incrementsHow frequently the share counts are updated. See the code for default increments. -
shared_counts_api_paramsCustomize the global API parameters (currently only contains URL). Example -
shared_counts_admin_servicesWhat services are available on the settings page -
shared_counts_query_servicesWhat services are available to be queried for share counts -
shared_counts_optionsThe options used on the settings page