• Skip to main content
  • Skip to primary sidebar
  • Advertise

Computer Tips And Tricks, Gadgets, How-To, Life - 2.0 Style

Get latest technology updates and computer tips and tricks.

How To Decode A WordPress Theme Footer

May 19, 2009 by Gautam

Selling links in footer of WordPress themes is a common practice by WordPress theme developers.

I personally do not have anything against or I am not against giving credit to the author. But it doesn’t end there. There are a few folks who just stick up unrelated ads and at times more than one ad just for a few extra bucks ! Imagine your site linking back to – unrelated, not so family friendly sites, such a pain !

Here’s how you can decode the WordPress Theme Footer and change the content and remove unwanted links :

Copy the encoded content and paste it in the text box area in OpinionatedGeek. Click on Decode and you’ll get the decoded content, which you can copy and replace it in footer.php.

However, there are developers who make it really hard for you to decode the footer links, then try this :

1> Open your index.php and find

<?php get_footer(); ?>

2> Place a HTML comment that you can easily recognize, before and after

Something like:

<!– footer content starts Here –>

<?php get_footer(); ?>

<!– footer content ends Here –>

3> Visit your blog

4> View the source

5> Copy the HTML source between the two markers

6> Open footer.php and replace the encoded content with the HTML code.

Note: Most themes will have a license that’ll not permit you to change the footer links. If that’s the case, then you are better off finding another theme πŸ˜‰

Filed Under: How To's Tagged With: decode wordpress theme

Reader Interactions

Comments

  1. Sagala says

    November 8, 2011 at 8:58 am

    Actual source wp footer need also to be seen for adjustments several plugins and do not intend to change the purpose of the footer

  2. obi says

    July 20, 2011 at 5:14 am

    what is the “source”?

  3. Karim says

    June 12, 2011 at 1:26 am

    Thanks !!

  4. Ismail says

    May 14, 2011 at 2:09 pm

    Thanx man thats awsome i did encrypt the footer but the first trik didn’t work i used the second … however thanx Dud

  5. Gautam says

    February 27, 2011 at 12:02 am

    @Elkana – Welcome — Btw, pretty display pic :). Cheers !

  6. Elkana says

    February 26, 2011 at 9:02 pm

    Wow! That works like a charm πŸ˜€ It really annoyed me. I wanted to make the theme my own but with the stupid links in the footer that wouldn’t work. Not it’s easy to make it my own! Really thankful!

  7. jeff says

    January 6, 2011 at 11:21 am

    im having a problem with decoding a footer similar to what eataphatty had with press 75 . I got a link in the footer that i cant remove ( due to being unable to decode) and tried breaking up code as above to decodeonly teh code ,,, all methods but cant seem to get the code decoded.

    can anyone help

    this is what i get from teh decoder
    The particular error here was:

    The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or a non-white space character among the padding characters.

    there seems to be 2 sets of codes in the footer

  8. [email protected] says

    January 5, 2011 at 12:03 pm

    thank you very much, I am free now….

  9. Alex says

    December 4, 2010 at 10:34 pm

    man you just make my life easier congratulations !!!!!!!!!

  10. TOMMY says

    November 29, 2010 at 5:52 pm

    Ian :
    Just delete them all – 2 encoded sections from the header.php and 4 in Function.php
    The bits to delete are these: http://wordpress.pastebin.com/m19fa7e24
    Then just delete the footer2 div in the Footer.php and it works fine.

    Thanks IAN, this method worked for me. I was having trouble deleting the encoded footer for INNER 1.0 (template by NewWpthemes). It would be nice if they were upfront about their encoded footers before we download them and spend hours customizing the template and widgets etc…
    Live and learn. But at least it can be decoded. Thanks

  11. David says

    November 14, 2010 at 12:21 pm

    Nice! I had earlier just gone into the css and found all the footer CSS. I made the text size 1px, then hid the text altogether with: visibility:hidden;

    But this is way better! Thanks!

  12. L'Hikikomori says

    October 17, 2010 at 10:36 pm

    Thank you so much. The 2nd way, with index, worked well.

  13. Dragos says

    October 15, 2010 at 2:55 am

    Thanks a million!!!!!!!!!!!!!!!!! it worked using the html between the markers, you saved my life! πŸ˜€

  14. Dee says

    October 8, 2010 at 12:44 am

    IAN #15 You are a genius mate – It worked perfect. i even managed to change rather delete the footer links once the code was removed -THANK YOU SO MUCH.

  15. Noblez says

    September 28, 2010 at 11:18 am

    Can some one please help me with this footer code:
    ————————————————————————-
    /*****/
    ———————————————————————–

    I want be able to add this code:

    function remove_footer_admin () {
    echo “Your own text”;
    }
    add_filter(‘admin_footer_text’, ‘remove_footer_admin’);

  16. Noblez says

    September 28, 2010 at 11:17 am

    Can some one please help me with this footer code:
    ————————————————————————-

    ———————————————————————–

    I want be able to add this code:

    function remove_footer_admin () {
    echo “Your own text”;
    }
    add_filter(‘admin_footer_text’, ‘remove_footer_admin’);

  17. LaLaK says

    September 14, 2010 at 9:05 pm

    Thanks a Million! πŸ™‚

  18. Sebastian says

    September 8, 2010 at 1:47 am

    AWESOME. Thanks so much!!! πŸ™‚

  19. On9News.com says

    August 29, 2010 at 8:04 am

    Thanks man! Your tips worked perfectly!

  20. nuwan says

    August 14, 2010 at 5:24 pm

    Hey….hellow unfortunately I cant do this with my code… Can You Help me…??? please reply.. plz plz I’m waiting 4 u.

    thanks

  21. moshi08 says

    August 13, 2010 at 1:02 am

    Thank you soooo much, that was a big help!

  22. missbliss says

    August 12, 2010 at 6:00 am

    thanks so much for this!! huge help.

  23. Thom2487 says

    August 11, 2010 at 9:45 pm

    Thanks so much. I used the index trick and then view source code and it worked like a charm.

  24. Imagi says

    July 15, 2010 at 8:55 am

    Ian,

    Dude, you’re awesome, I am following your steps to delete all the encrypted code, and it’s WORK!

    Thanks man

  25. id820 says

    July 8, 2010 at 2:14 am

    Thats awesome! i used the easy way, thanks dude

  26. Chadd says

    June 24, 2010 at 7:15 pm

    Thanks for the tip. Great hack! Worked like a charm!

  27. Supraveghere video says

    June 10, 2010 at 10:24 pm

    Hi,

    I tried to decode the codes with a gzinflate(base64_decode, but your way is just soo simple and great!

    Thank you soo much!

  28. varun says

    May 29, 2010 at 11:36 pm

    How to decode this??? help me

  29. calacirya says

    May 20, 2010 at 3:27 pm

    Amazing.. it was so simple, thank you!!

  30. EataPhatty says

    May 13, 2010 at 10:07 am

    @EataPhatty
    Ah! select everything between “” before decode 64 string? The decode 64 string is useless I presume? Example: Use everything between $o=” and ”
    Don’t use anything after eval(base64_decode(” ?

  31. EataPhatty says

    May 13, 2010 at 10:00 am

    I get this with press75:
    The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or a non-white space character among the padding characters.

    So how do we use the info in the theme to decode these few files?
    footer.php and index.php (one or the other) are base64 and decode properly depending on the theme, but the other says base64 in the code but will not decypher. Someone, if that’s you, please show us how to decypher these properly.

  32. Minh TΓ’m says

    May 6, 2010 at 11:51 am

    Great tips, thank you very much. I has been solve my problem by it πŸ˜€

  33. Warren Bluegrave says

    April 24, 2010 at 3:29 pm

    Great advice for webmasters. On the other hand, not so good if you’re buying theme sponsorship!

    πŸ™‚

  34. matt says

    April 22, 2010 at 8:21 pm

    Not working for me, really think that dev’s encoding should jump off a cliff. For people like me, who work TOTALLY for free. Encrypting the stuff to just add a freaking link or something is a hassle….

  35. lars says

    April 6, 2010 at 11:24 pm

    not working 4 me

  36. Trev says

    April 2, 2010 at 3:45 am

    Thank you so much for this!

  37. Daniel says

    March 31, 2010 at 2:06 pm

    @Ian
    Thanks πŸ™‚

  38. online jack says

    March 27, 2010 at 12:24 pm

    Thankyou for sharing with us
    very very….
    thanks

  39. ipunk says

    March 26, 2010 at 10:30 am

    @Gautam
    I have the same problem with @Cal with my other blog. I really want to remove 3 link credits from http://newwpthemes.com/wordpress-theme/music-globe/

    1 link is ok, but 3?? with a very long anchor text is just too much. Can you help me please?? thanks

  40. OMG! says

    March 19, 2010 at 2:30 pm

    THANK YOU!!!!!!

  41. Gilbert says

    March 17, 2010 at 5:30 pm

    Tried it and it is dead on!!
    U just saved my day!

  42. Adam Mrowiec says

    March 15, 2010 at 8:37 pm

    It`s great. Thanks πŸ™‚

  43. Ian says

    March 11, 2010 at 7:07 pm

    Just delete them all – 2 encoded sections from the header.php and 4 in Function.php

    The bits to delete are these: http://wordpress.pastebin.com/m19fa7e24

    Then just delete the footer2 div in the Footer.php and it works fine.

  44. Gautam says

    March 9, 2010 at 6:00 pm

    @Cal can you give me the link to the original theme so that i can take a look at it, n let you know how to go about it.

    Cheers

  45. Cal says

    March 9, 2010 at 9:36 am

    Any ideas how to decoded the footer links from newwpthemes.com? I don’t mean to remove the author’s link but there are like 3 encrypted codes in the function.php….I’m really curious what’s hidden in there. Feeling unsafe to use it.

  46. dan says

    February 18, 2010 at 6:02 am

    Thanks, man. I spent 2 hours looking for a solution, and there it is – so simple, yet genius.

  47. DanielMoran says

    February 5, 2010 at 3:53 am

    man u rock!

  48. Tony says

    January 26, 2010 at 2:26 pm

    WOW its work for me.. Thanks a lot cheers

  49. Gautam says

    January 11, 2010 at 10:46 am

    @Suke – I doubt if there is any .. Will update you in case i find one

  50. English Dubbed Anime says

    January 11, 2010 at 10:38 am

    Sadly, doesn’t work for me. They encoded the index.php, which means I can’t place that HTML code in. Any other fixes apart from OpinionatedGeek? cause that sucks.

  51. Skunk says

    December 27, 2009 at 9:54 am

    Exactly what I needed. Thanx a million bro.

  52. istanbul says

    December 10, 2009 at 4:18 pm

    Thanks mate you save a life .. πŸ˜‰

  53. foxy says

    December 4, 2009 at 10:18 pm

    Thank you VERY much for this tip! My frustration is gone.

  54. techfunlog says

    September 26, 2009 at 1:08 am

    Hay its works…….. I was too confused about footer hack….

  55. Bokep says

    September 15, 2009 at 1:45 pm

    thanks for sharing this tips… πŸ™‚

  56. Gautam says

    September 1, 2009 at 6:25 am

    @Rockstar – Practically speaking, encrypted footer is not ethical when you release your themes under GPL in wordpress πŸ™‚ .. But there are always ways to get rid of them πŸ˜‰

  57. Rockstar says

    September 1, 2009 at 3:13 am

    Dude, just tried this out…your tip is dead on. No more encrypted footer files for me!!

Primary Sidebar

Copyright © 2023 Β· Magazine Pro on Genesis Framework Β· WordPress Β· Log in