JasonBC
Member
Posted 9 months 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/
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?
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!
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!
leanderbraunschweig
Member
Posted 2 months 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.
zandercent
Member
Posted 2 months 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.