Closed clarklab closed 8 years ago
You can access the internal methods using the ea_share() function. So to output the display() method, use ea_share()->front->display( $location, $echo )
.
The location is simply added as a class to the wrapping div, the name isn't important.
If you need more control over the markup, you can use ea_share()->front->link()
. See code here for more information on usage.
I recommend you preface this with if( function_exists( 'ea_share' ) )
. I've broken a client site or two by forgetting that and the client disabling the plugin :)
This one is kinda dense, but I don't see it: is there a plain ol' template tag for inserting the share buttons? It works with the before/after theme location insertion, but I don't have a hook/filter in the ultra-specific place I need this to display.