从AMP插件的页脚中删除“Powered by WordPress”。php模板文件。Reference
This new file should reside at:
wp-content/themes/yourtheme/amp/footer.php
Footer.php
<footer class="amp-wp-footer">
<div>
<h2><?php echo esc_html( $this->get( \'blog_name\' ) ); ?></h2>
<a href="#top" class="back-to-top"><?php _e( \'Back to top\', \'amp\' ); ?></a>
</div>
</footer>
这将确保删除的WordPress AMP插件在下次更新插件后仍然保留。