Title: Decoding a theme footer
Last modified: August 19, 2016

---

# Decoding a theme footer

 *  [siwongo](https://wordpress.org/support/users/siwongo/)
 * (@siwongo)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/)
 * Hi all,
 * I’m currently having some problems with a coded wordpress theme footer, I don’t
   mind giving the author credit but when they stick random links which are nothing
   to do with my site I get a bit annoyed.
 * Anyway, would be great if someone could decode this for me:
 * <?php $QD2816C6797214BDD4CC97CFEB8DD47A3=”DQovKg0KRW5jb2RlciA6IE5FVC1URUMgUEhQLUVOQ09ERVIgViAxLjANCldFQiA6IGh0dHA6Ly93d3cubmV0LXRlYy5iaXovDQoqLw0KPz4JCQk8ZGl2IGNsYXNzPSJjbGVhcmVyIj48L2Rpdj4NCgkJPC9kaXY
   +DQoJPC9kaXY+DQoJPGRpdiBpZD0iZm9vdGVyIj4NCgkJPGRpdiBpZD0iZm9vdGVyLXdyYXBwZXIiPg0KCQkJPHA
   +DQoJCQkJQ29weXJpZ2h0ICYjMTY5OyA8P3BocCBlY2hvIGRhdGUoJ1knKTsgPz4gPHNwYW4gY2xhc3M9InVybCBmbiBvcmciPjw/
   cGhwIGJsb2dpbmZvKCduYW1lJyk7ID8+PC9zcGFuPi4gPGJyIC8+DQoJCQkJPGEgaHJlZj0iaHR0cDovL3dwY2xhc3NpYy5jb20iIHRpdGxlPSJEb3dubG9hZCBGcmVlIFdQIFRoZW1lcyI
   +RG93bmxvYWQgRnJlZSBXUCBUaGVtZXM8L2E+IHwgTWFoaW5oaW4gaXMgZGVzaWduZWQgYnkgPGEgaHJlZj0iaHR0cDovL3d3dy5wYWRkc29sdXRpb25zLmNvbSIgdGl0bGU9IkRhdmFvIFdlYnNpdGUgRGVzaWduIiA
   +UGFkZCBTb2x1dGlvbnM8L2E+LjxiciAvPg0KCQkJCUluIGNvbGxhYm9yYXRpb24gd2l0aCA8YSBocmVmPSJodHRwOi8vd3d3Lm1pbGxpb25haXJlZmxpcnQuY29tLyIgdGl0bGU9IlN1Z2FyIERhZGR5Ij5TdWdhciBEYWRkeTwvYT4sIDxhIGhyZWY9Imh0dHA6Ly93d3cudXNhYXJlYWNvZGVzLm9yZy8iIHRpdGxlPSJVU0EgQXJlYSBDb2RlcyI
   +VVNBIEFyZWEgQ29kZXM8L2E+LCBhbmQgPGEgaHJlZj0iaHR0cDovL3d3dy50YWxrcmV2aWV3cy5jb20vIiB0aXRsZT0iV2Vic2l0ZSBSZXZpZXdzIj5XZWJzaXRlIFJldmlld3M8L2E
   +Lg0KCQkJPC9wPg0KCQk8L2Rpdj4NCgk8L2Rpdj4NCjwvZGl2Pg0KPC9ib2R5Pg0KDQo8L2h0bWw+
   IA0KICAgIA==”;echo(base64_decode($QD2816C6797214BDD4CC97CFEB8DD47A3));?>
 * Thanks guys

Viewing 15 replies - 1 through 15 (of 37 total)

1 [2](https://wordpress.org/support/topic/decoding-a-theme-footer/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/decoding-a-theme-footer/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/decoding-a-theme-footer/page/2/?output_format=md)

 *  [objectlesshatred](https://wordpress.org/support/users/objectlesshatred/)
 * (@objectlesshatred)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-967909)
 * Take the footer code portion of the outputed HTML and replace the base64 encoding
   with the HTML in an echo array. Remember to omit all double quotes in the HTML.
 * `<?php $QD2816C6797214BDD4CC97CFEB8DD47A3="DQovKg0KRW5jb2RlciA6IE5FVC1URUMgUEhQLUVOQ09ERVIgViAxLjANCldFQiA6IGh0dHA6Ly93d3cubmV0LXRlYy5iaXovDQoqLw0KPz4JCQk8ZGl2IGNsYXNzPSJjbGVhcmVyIj48L2Rpdj4NCgkJPC9kaXY
   +DQoJPC9kaXY+DQoJPGRpdiBpZD0iZm9vdGVyIj4NCgkJPGRpdiBpZD0iZm9vdGVyLXdyYXBwZXIiPg0KCQkJPHA
   +DQoJCQkJQ29weXJpZ2h0ICYjMTY5OyA8P3BocCBlY2hvIGRhdGUoJ1knKTsgPz4gPHNwYW4gY2xhc3M9InVybCBmbiBvcmciPjw/
   cGhwIGJsb2dpbmZvKCduYW1lJyk7ID8+PC9zcGFuPi4gPGJyIC8+DQoJCQkJPGEgaHJlZj0iaHR0cDovL3dwY2xhc3NpYy5jb20iIHRpdGxlPSJEb3dubG9hZCBGcmVlIFdQIFRoZW1lcyI
   +RG93bmxvYWQgRnJlZSBXUCBUaGVtZXM8L2E+IHwgTWFoaW5oaW4gaXMgZGVzaWduZWQgYnkgPGEgaHJlZj0iaHR0cDovL3d3dy5wYWRkc29sdXRpb25zLmNvbSIgdGl0bGU9IkRhdmFvIFdlYnNpdGUgRGVzaWduIiA
   +UGFkZCBTb2x1dGlvbnM8L2E+LjxiciAvPg0KCQkJCUluIGNvbGxhYm9yYXRpb24gd2l0aCA8YSBocmVmPSJodHRwOi8vd3d3Lm1pbGxpb25haXJlZmxpcnQuY29tLyIgdGl0bGU9IlN1Z2FyIERhZGR5Ij5TdWdhciBEYWRkeTwvYT4sIDxhIGhyZWY9Imh0dHA6Ly93d3cudXNhYXJlYWNvZGVzLm9yZy8iIHRpdGxlPSJVU0EgQXJlYSBDb2RlcyI
   +VVNBIEFyZWEgQ29kZXM8L2E+LCBhbmQgPGEgaHJlZj0iaHR0cDovL3d3dy50YWxrcmV2aWV3cy5jb20vIiB0aXRsZT0iV2Vic2l0ZSBSZXZpZXdzIj5XZWJzaXRlIFJldmlld3M8L2E
   +Lg0KCQkJPC9wPg0KCQk8L2Rpdj4NCgk8L2Rpdj4NCjwvZGl2Pg0KPC9ib2R5Pg0KDQo8L2h0bWw+
   IA0KICAgIA==";echo(base64_decode($QD2816C6797214BDD4CC97CFEB8DD47A3));?>`
 * to
 * `<?php echo "HTML CODE - You're going to want to escape double quotes. Or use
   single quotes";?>`
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-967923)
 * Recommend finding a theme that does not do that.
 * [http://wordpress.org/extend/themes/](http://wordpress.org/extend/themes/)
 *  [mrmist](https://wordpress.org/support/users/mrmist/)
 * (@mrmist)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-967926)
 * It translates as a copyright message and a few links. I dispise this trend.
 * [A decoder can be found here](http://www.opinionatedgeek.com/dotnet/tools/Base64Decode/Default.aspx).
 *  Thread Starter [siwongo](https://wordpress.org/support/users/siwongo/)
 * (@siwongo)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968078)
 * Thanks ObjectlessHatred, but when i change it it seems to break the theme, I 
   thinking that’s because I’m doing it wrong though, I’ll try again.
 * MichaelH, I looked for ages for themes and didn’t find one I wanted, it’s annoying
   in my opinion that the best themes seem to be the ones which have stupid coded
   parts or hidden adverts.
 * mrmist, thanks for the link says it can’t decode it =(. I despise this being 
   done as well. I understand them wanting a link to their website, but this is 
   going to far.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [17 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968084)
 * As long as people use these themes, this practice will continue. It’s basic economics.
 * If you can’t decode the footer, try this:
 * In your index.php find the line that says
 * `<?php get_footer(); ?>`
 * Above and below it place some marker text like this
 *     ```
       <!-- Evil Footer Devil FOUND -->
       <?php get_footer(); ?>
       <!-- Evil Footer Devil BEGONE -->
       ```
   
 * Now visit your blog, view source, and copy the HTML from between the two markers.
   Rename your footer.php and make a new copy with that HTML code.
 * Change it to your hearts content. Remember to insert the <?php wp_footer(); ?
   > before </body> tag.
 * Keep in mind that if your theme’s license for use doe not permit this, then don’t
   do it. If that’s the case follow MichaelH’s advice and get a friendly theme.
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968093)
 * Good directions jdembowski – FAQ created based on that.
 * [How to get rid of encoding in a theme’s footer?](http://codex.wordpress.org/FAQ_Layout_and_Design#How_to_get_rid_of_encoding_in_a_theme.27s_footer.3F)
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [17 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968094)
 * Looks like the HTML “Evil Footer Devil” got format/fixed/zapped and not in the
   FAQ.
 * Although you did correct my 1/2 cup of coffee “doe” to “does” 🙂
 *  Thread Starter [siwongo](https://wordpress.org/support/users/siwongo/)
 * (@siwongo)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968105)
 * Thanks jdembowski =) Worked like a charm.
 *  [mrmist](https://wordpress.org/support/users/mrmist/)
 * (@mrmist)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968108)
 * Sorry I probably should have explained – though jdembowski’s approach offers 
   a relatively simple way to decode harmless footers. If you do want to use the
   decoding tool that I linked to above, you need to make sure that you are trying
   to decode the right bit. For example in your original text it says
 * `$QD2816C6797214BDD4CC97CFEB8DD47A3="... more text here ..."`
 * And the bit to put in the decoding box is just the part inside the quotes – the“
   more text here” – that’s the base64 encoded bit, the other bit is just variable
   assignment to a stupid name, likely intended to confuse.
 * And remember it’s best to use “safe decode as text”.
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968110)
 * [@jdembowski](https://wordpress.org/support/users/jdembowski/) thanks — forgot
   the `<pre> and </pre>` thingy 😉
 *  [radiotronpodcast](https://wordpress.org/support/users/radiotronpodcast/)
 * (@radiotronpodcast)
 * [17 years ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968308)
 * What if it codes more than spam links?
 * For example in my footer it says:
 * > <?php
   >  $o=”QAAAOzh3b3cnbmlka3JjYicvUwAAQkpXS0ZT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sbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw
   > ==”));return;?>
 * On my site that shows.
    About Random News and Recent Comments?
 * Now if you could tell me how to remove that coding and make sure the 3 things
   are still updated as normal then that would help alot.
 * If you need a link to my site then I can give it and you can see it for yourself.
 *  [lovendestroy](https://wordpress.org/support/users/lovendestroy/)
 * (@lovendestroy)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968314)
 * so, this is my problem as well.
 * i decoded this:
 * [moderated if necessary place code in wordpress.pastebin.ca and report link back
   here]
 * into this:
 *     ```
       ?><p>
       Design by: <a href="http://www.surfstickvergleich.de/hsdpa.html
       ">HSDPA</a>. In collaboration with <a href="http://www.umts-surfsticks.de">UMTS Surf Stick</a>, <a href="http://suv.reviewitonline.net">SUV</a>, <a href="http://www.fbnpoker.com">Poker Bonuses</a>.</p><?
       ```
   
 * so i posted only this inside footer.php:
    `?>(c) Mão Feita - não tire bife, ok?
   <?`
 * and added this to index.php:
    `<?php get_footer(); ?>`
 * but when i change the code inside footer.php, my theme breaks. i want to use 
   the footer, i do not mind giving credits to the author, but this is just really
   annoying.
    so what am i doing wrong? can someone please please PLEASE tell me
   exactly what to put inside footer.php and index.php? many thanks in advance.
 *  [lovendestroy](https://wordpress.org/support/users/lovendestroy/)
 * (@lovendestroy)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968315)
 * [code here](http://wordpress.pastebin.ca/1459334)
 *  [mijk](https://wordpress.org/support/users/mijk/)
 * (@mijk)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968319)
 * @**RadioTronPodcast**:
 *     ```
       <?php include (TEMPLATEPATH . '/bottom.php'); ?>
       <div class="clear"></div>
       <div id="footer">
       <div class="fmenu">
        <ul>
        <li><a href="<?php bloginfo('url'); ?>">Home</a></li>
        <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
       </ul>
       </div>	
   
       <span class="left">  Designed  by <a href="http://www.web2feel.com" target="_blank"> web2feel.com </a>  </span>
       <span class="right"> Coded  by <a href="http://www.localmatch.com/" target="_blank">Local Dating</a>, <a href="http://www.onlinedatingresource.com/" target="_blank">Dating Tips</a>,<a href="http://www.millionaireflirt.com/" target="_blank">Sugar Daddies</a>  </span>
   
       </div>
       </div>
       <?php wp_footer(); ?>
       </body>
       </html>
       ```
   
 * 😉
 *  [chreddy](https://wordpress.org/support/users/chreddy/)
 * (@chreddy)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/#post-968321)
 * Will somebody help me with decoding my footer?
    The theme’s name is “Little Secret”
 * My footer can be downloaded as a .txt file here:
    [http://www11.zippyshare.com/v/29822520/file.html](http://www11.zippyshare.com/v/29822520/file.html)

Viewing 15 replies - 1 through 15 (of 37 total)

1 [2](https://wordpress.org/support/topic/decoding-a-theme-footer/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/decoding-a-theme-footer/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/decoding-a-theme-footer/page/2/?output_format=md)

The topic ‘Decoding a theme footer’ is closed to new replies.

## Tags

 * [encoded](https://wordpress.org/support/topic-tag/encoded/)
 * [encoding](https://wordpress.org/support/topic-tag/encoding/)
 * [links](https://wordpress.org/support/topic-tag/links/)

 * 37 replies
 * 24 participants
 * Last reply from: [Edgar J.](https://wordpress.org/support/users/edgar-j/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/decoding-a-theme-footer/page/3/#post-968397)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
