A code change I made in the last version broke the ability to add the sharing buttons to archive pages with the proper link and title. I’ve pushed an update to the plugin repository on Github which should fix that. This version of the code has a few other changes from what’s available here on the WordPress repository but should be fine to run on your site. This change will be in the next plugin update.
Once you’ve done that, adding this to your functions.php file should allow the buttons to load and run anywhere on your site:
// Allow Scriptless Social Sharing buttons to load anywhere on the site.
add_filter( 'scriptlesssocialsharing_can_do_buttons', '__return_true' );
This is different from the example in the FAQ in that there are no conditionals in there at all so will load styles and attempt to add buttons sitewide. You may want to modify that to not run on certain pages, but the filter just needs to return true or false.
Depending on how you have your Genesis theme settings set up, there are multiple ways you could add the sharing buttons to the archives and front (home) page. If you have the archives set to show full content, the buttons may already be there. If you use the content limit option instead, you might try this filter:
add_filter( 'get_the_content_limit', 'prefix_scriptlesssocialsharing_buttons_entry_content', 25 );
/**
* When using content limit for front page featured posts widget and archives, add the sharing buttons.
*
* @param $content
*
* @return string
*/
function prefix_scriptlesssocialsharing_buttons_entry_content( $content ) {
if ( is_singular() ) {
return $content;
}
if ( ! function_exists( 'scriptlesssocialsharing_do_buttons' ) ) {
return $content;
}
return $content . wp_kses_post( scriptlesssocialsharing_do_buttons() );
}
Depending on your site settings, you’ll have different hooks and filters available for the archive post output; definitely so for posts inside of widgets.
As for the WooCommerce product pages, when I tested the sharing buttons using the default hooks (not the Genesis specific ones), they showed properly. If you switch to using Genesis hooks, they may not show due to WooCommerce using a pretty different setup for product output. The default hooks just use the_content
filter, so should work pretty universally, unless that filter has been disabled somehow.
Those are just some ideas for how to tackle the output–without a URL or knowing how you’ve customized the site, I can only suggest what may work in certain situations–you may need to modify based on your particular setup. Please practice safe coding before adding any of these to your site, back up your files, etc. Hope that helps!