Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created September 8, 2018 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billerickson/f685f0405519e34ded43125d62bab3a5 to your computer and use it in GitHub Desktop.
Save billerickson/f685f0405519e34ded43125d62bab3a5 to your computer and use it in GitHub Desktop.
<?php
/**
* Shared Counts - change location and style
* @see https://wordpress.org/support/topic/feature-request-658/
*
*/
function be_shared_counts_change_location_style( $locations ) {
$locations['before']['hook'] = 'be_before_content';
$locations['before']['style'] = 'icon';
$locations['after']['hook'] = 'be_after_content';
$locations['after']['style'] = 'fancy';
return $locations;
}
add_filter( 'shared_counts_theme_locations', 'be_shared_counts_change_location_style' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment