-
-
Save billerickson/f685f0405519e34ded43125d62bab3a5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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