Home » WordPress

How To Get Rid Of Encoding In A Theme’s Footer?

Posted By: BioTecK on Monday 16 November 2009 with 8 Comments

Before I start explaining how you can get rid of the encoding in a theme’s footer, I have to say that if your theme’s license (paid theme!) doesn’t permit this, then don’t do it. If that’s the case you can find plenty other (free) WordPress themes! :wink:

I don’t know why, but some theme authors embed links in an encoded footer. Now it’s not that we don’t like to give credits to the theme authors, but what if the theme author has placed a lot of sponsor links which doesn’t have to do with your blog (or with the theme author!) or what if you want to add some information to the footer? When a theme’s footer is encoded, then this is just impossible. However you can remove this encoding by following the next steps:

  1. Go to your index.php file
  2. Find a line that says:
    <?php get_footer(); ?>
  3. Place the following marker text above the line:
    <!-- Evil Footer Devil FOUND -->
  4. Place the following marker text below the link:
    <!-- Evil Footer Devil BEGONE -->
  5. Now save the index.php file and view the source by pressing CTRL+U in FireFox.
  6. Now look for the HTML code between those two markers and copy it.
  7. Make a copy of your existing footer.php file (or just paste the HTML code in your existing footer.php file) and save it.
  8. Now you’re able to change the links etc which was encoded in the first place. :wink:

NOTE: Don’t forget to insert the <?php wp_footer(); ?> before </body> tag.

I’ve used the method above and it did the job for me. Perhaps this might be handy for you too! :wink:


8 Comments so far, be the next one! »

  • Online Printing Company said:

    Haha! I thought it’s not possible to do this, but thanks to this post. Nice!

  • Chris Jensen said:

    I am currently using a free theme for my site and I am wanting to know about removing the footer that has the creator’s names and links to three different sites that he has. It says that if you want to remove this info, you have to pay a one time fee. Is this true? Can they do that?

    I really just want to remove his information, but I really do not want to deal with any legal actions against me for doing this.

    Thanks for your feedback,

    Chris

  • Joo73 said:

    Nice one bro! @ online – Yeh it’s possible

    Just remember one thing guys .. if you can see it .. it CaN be removed. Love the and bit.. Online exorcism ftw!

    Ps. I’m back! :twisted:

  • sioux city used cars said:

    I like to leave the link if the creator requires it. Otherwise I take it off.

  • rusty said:

    nice post bro. thanks for share!.

  • Shredding Services Chicago said:

    Thanks for the great resource, it solved all my encoding problems right away.

  • Bobby said:

    thaks for this valuable post.

  • elji said:

    That is not nice, I would even say unfair. Because when someone takes the hassle to write a theme and let anyone have it for free, it’s the minimum way to thank him for his work to give him a link back.

    Nobody would write free themes anymore, if that doesn’t bring anything.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Comment Guidelines
Stay on topic, Do not include affiliate links, be nice and keep it clean. Please note that all comments will be moderated (due to too much spam)!

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
All line breaks and paragraphs will be generated automatically.

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.