plugins - How do i remove "Powered by WordPress" from AMP?

how do I remove "Powered By Wordpress" from the AMP version of my website? It would be great if you suggest a

how do I remove "Powered By Wordpress" from the AMP version of my website? It would be great if you suggest a CSS or Plugin for this. I use the basic AMP plugin.

how do I remove "Powered By Wordpress" from the AMP version of my website? It would be great if you suggest a CSS or Plugin for this. I use the basic AMP plugin.

Share Improve this question asked Apr 10, 2019 at 7:05 user148174user148174
Add a comment  | 

1 Answer 1

Reset to default 0

To remove “Powered by WordPress,” from the AMP plugin’s footer.php template file. 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>

This will ensure that Remove Powered WordPress AMP Plugin will still remain after the plugin is updated next time.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745606513a4635704.html

相关推荐

  • plugins - How do i remove &quot;Powered by WordPress&quot; from AMP?

    how do I remove "Powered By Wordpress" from the AMP version of my website? It would be great if you suggest a

    2小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信