-1

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.

1

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.

  • Didn't solve my problem. – Fahad Ur Rehman Khan Apr 10 at 8:10
  • @FahadUrRehmanKhan code updated. Hope this code may be work for you. – Tanmay Patel Apr 10 at 8:19
  • I couldn't find the amp folder in my theme. I use the basic AMP plugin. – Fahad Ur Rehman Khan Apr 10 at 8:21
  • @FahadUrRehmanKhan you should create "amp" folder under the theme and create "footer.php" file and copy the above code which i mentioned in my answer and save it and test it. – Tanmay Patel Apr 10 at 8:23
  • 1
    @FahadUrRehmanKhan Welcome. – Tanmay Patel Apr 10 at 8:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.