WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
How can I remove the comment footer at end of the RSS feed? (6 posts)

  1. JasonBC
    Member
    Posted 2 years ago #

    I could like to remove the comment footer that W3TC leaves at the end of the RSS feed that starts with: <!-- Performance optimized by W3 Total Cache.

    I like to give credit where its due, but this particular comment at the end of the feed is creating problems for the podcast feed. Methods that I've found via search don't seem to apply to the latest version of W3TC. Can someone help?

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    Unfortunately there's no hook or setting to quickly disable it. Could you send me a bug submission form from the support tab of the plugin with details so I can investigate please?

  3. Adam
    Member
    Posted 1 year ago #

    That comment is located in this file:

    ~/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php

    Do a search for "Performance optimized by W3 Total Cache" and you'll find the comment.

    My question... is there a function that could remove this automatically so I don't have to do a search-and-replace every time W3 Total Cache is upgraded? Thanks!

  4. Adam
    Member
    Posted 1 year ago #

    Is there a function that could be written to remove the "Performance optimized by W3 Total Cache" footer HTML comment? Better yet, could you please just remove the advertisement from the HTML altogether? I'd really appreciate being able to keep my HTML as clean and lean as possible. Thanks!

  5. leanderbraunschweig
    Member
    Posted 1 year ago #

    I'd also like to have a checkbox by which I can be deciding on whether to print the footer notice or not. Can be pre-checked no problem.

  6. zandercent
    Member
    Posted 1 year ago #

    If nothing else can you remove the mention of wordpress.. could you replace it so it says something like

    <!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/
    
    Minified using disk: basic
    Database Caching 43/46 queries in 0.026 seconds using disk: basic
    
     Served from: mysite.co.uk @ 2013-03-07 10:03:11 by W3 Total Cache -->

    To

    <!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/

    I go to a lot of effort to make my source as non-specific as possible.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic