Hi, folks
fyi, there is no option to remove (or [x] dismiss) the notice in plugin list, which appears below the Automattic AMP plugin listing when active:
The tagDiv Mobile Theme now works best with the AMP plugin to provide a complete solution for your content on mobiles. You can find out more here.
We are not using TD mobile theme.
Hi simchris, for that message was used the same options were as the one for the plugin update – https://i.imgur.com/txEt2a3.png that message was added I think 2 years ago
Thank you!
Yes, but you will note unlike other messages, even in your screen shot there is no (x) option to remove/dismiss the message, so it’s stuck there in the plugin list ‘forever’ which is a bit intrusive since not needed unless actually using the TagDiv mobile plugin. We have already had an AMP setting set in the AMP plugin since the ‘official’ AMP plugin launched, and do not use a TagDiv theme for the AMP endpoint. Si an option to ‘dismiss’ that message would be helpful. 🙂
Updating for anyone else who finds this super minor annoying …
the code you reference, unfortunately drops the css above the main <head> element sitewide, vs the admin panel. SO, I did minor tweak, and this does work:
/* HIDE NEWSMAG AMP NAG */
add_action('admin_head', 'bye_amp_nag');
function bye_amp_nag() {
echo '<style>
.td-amp-plugin-warning .notice { display: none; }
}
</style>';
}
