Home » WordPress

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

Posted By: Monday 16 November 2009 9 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:

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed and I'll deliver the future articles to your feed reader.
Behrad

About Behrad:

I'm 29 years "old", married to Jannie and about to be a daddy! We live happily in Eindhoven, The Netherlands.
In 2006 I started BioTecK.net just to show/share my portfolio. After a while I started to blog about my experiences and stuff I do in my life, my interests; computers & computer related stuff, tips & tricks and basically everything which I want to share.
Read more about me, follow me on Twitter @BioTecK or contact me .

9 Comments so far, be the next one! »

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

  2. Chris Jensen says:

    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

  3. Joo73 says:

    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:

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

  5. rusty says:

    nice post bro. thanks for share!.

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

  7. Bobby says:

    thaks for this valuable post.

  8. elji says:

    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.

  9. Just remember one thing guys.. If you can see it, it Can be removed! Love it!

Leave a Reply

All line breaks and paragraphs will be generated automatically.
BioTecK.net is a Gravatar-enabled blog. To get your own avatar, please register at Gravatar.
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>

Notify me of followup comments via e-mail. You can also subscribe without commenting.