Disabling Mashshare Buttons on AMP pages
You can disable Mashshare buttons on AMP pages. All you need to do is open up your functions.php and add the code below to it;
add_filter('mashsb_output_buttons', 'do_not_show_amp_buttons'); add_filter('mashsb_the_content', 'do_not_show_amp_buttons'); function do_not_show_amp_buttons($content){ if (is_amp_endpoint()){ return ''; } return $content; }