better-studio / better-amp

Full Google AMP support for WordPress with custom themes and customizations
https://betterstudio.com/wp-plugins/better-amp/
GNU General Public License v2.0
19 stars 19 forks source link

Add template action hook for third party plugins #49

Open flowdee opened 6 years ago

flowdee commented 6 years ago

Could you please add a proper action hook which can be used by third party plugins to simply output css inside your AMP templates?

Take a look at https://ampforwp.com/tutorials/article/add-custom-css-in-amp-with-hooks/ and their amp_post_template_css hook. Three of your biggest competitors offer exactly this hook which makes it really easy for third-party plugins to support your AMP plugins.

I temporary added support for your plugin into AAWP but not that happy with the current implementation.