• Resolved James Ma

    (@justjamie71)


    I have tried my best possible and every code I could find online about how to remove the footer comment ‘Optimization WordPress Plugins & Solutions by W3 EDGE’. Don’t get me wrong, I love W3 Cache very much… But I find that footer link very very frustrating. How do I get this out?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • add this into your theme’s functions.php file:

    add_filter( 'w3tc_can_print_comment', function( $w3tc_setting ) { return false; }, 10, 1 );

    This should remove W3 Total Cache’s footer text. But just be aware that if you plan on using w3tc debug info this line should be commented out (or removed) since this line will also strip out debug info.

    Another way would be simply to enable minify and tell it to strip out all comments.

    I think the question is how to remove the footer link that appears: “Optimization WordPress Plugins & Solutions by W3 EDGE.”

    Apparently there once was a “link” setting available on the plugin’s dashboard to “spread the word,” but that seems to have been removed.

    @justjamie71 Did you find a solution?

    • This reply was modified 5 years, 9 months ago by tunjic.

    After poking around I believe this is the solution:

    Edit this file:
    /wp-content/w3tc-config/master.php

    Somewhere near line 793,

    Change: "common.support": "footer",

    To: "common.support": "",

    I think that will remove the link in the footer. But please be nice and show your support of the plugin in some other way… 🙂

    • This reply was modified 5 years, 9 months ago by tunjic.

    You found the right answer. Congratulations.

    Hello, I would like to remove this footer from my WordPress site

    Copyright © 2019 Travel Ultimate by Theme Palace | Privacy Policy

    Link to the theme is down below

    https://themepalace.com/?s=TRAvel+ultimate&post_type%5B%5D=download

    Marcia Bispo Martins

    (@marcia-bispo-martins)

    Parabéns!! Obrigada por ajudar. bj

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Removing the footer comment’ is closed to new replies.