I am using shortcodes. But you need to work differently with this and make it easier for the client.
- On the theme options page you should have inputs with
type="checkbox"
where the client chooses what share buttons to appear. -
In the template you should get the option with get_option(‘registered_option’) and display those buttons for which the checkbox was checked in the theme options.
if( get_option('tweeter_checkbox') ) echo '<a href="https://twitter.com/share" class="twitter-share-button" data-url="' . get_permalink(); . '">Tweet</a>';