Title: single.php page cleanup
Last modified: August 19, 2016

---

# single.php page cleanup

 *  Resolved [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/)
 * i’m trying to make sense of the posting page template of my site as shown here(
   [http://willowbilliards.com/wordpress/?p=52](http://willowbilliards.com/wordpress/?p=52)).
 * what i can’t figure out is how to get rid of the “Enjoy this article” text, the
   picture and “considering subscribing…” text.
 * the only related coding that exists, that i can find, is on the single.php code
   here:
    `<div class="the-content">THIS IS ABOVE THE CONTENT<?php the_content ('
   Continue Reading &raquo;'); ?>THIS IS BELOW THE CONTENT<div class="clear"></div
   >`
 * so how do i get rid of the part i want to get rid of? i search my entire remote
   site and i cant find anything that says “Enjoy this article” or anything else
   related to this stuff.
 * please advise. thanks!

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

1 [2](https://wordpress.org/support/topic/singlephp-page-cleanup/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/singlephp-page-cleanup/page/2/?output_format=md)

 *  [Eric Daams](https://wordpress.org/support/users/ericdaams/)
 * (@ericdaams)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478046)
 * It might be a plugin doing that. Which plugins do you have active?
 *  Thread Starter [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478047)
 * nothing close to doing that.
 * any other suggestions?
 *  [Safirul Alredha](https://wordpress.org/support/users/zeo/)
 * (@zeo)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478049)
 * I strongly suggest that u don’t use that evil theme. See: [http://wordpress.org/support/topic/384389](http://wordpress.org/support/topic/384389)
 * But if u insist on using it anyway, open theme’s functions.php and add this at
   the end of the file:
 *     ```
       <?php
        remove_filter('the_content', 'promote_blog');
       ?>
       ```
   
 *  Thread Starter [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478057)
 * oy. :(((((
 * i’m heavily invested in terms of hours spent on this project already. i’d prefer
   not to abandon if there’s a way to “exercise the demons” from this theme.
 * i’m reading the link you provided, and i’m not sure where i find the encrypted
   code that needs to be decoded???? i did a search for `<?php $o="` and `;eval(
   base64_decode(`
 * but found nothing. please advise. thanks.
 *  [Safirul Alredha](https://wordpress.org/support/users/zeo/)
 * (@zeo)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478059)
 * Hahaha. Always be careful where u download the theme.
 * Look in wp-content/themes/dwebhosting-theme/dwebhosting/functions.php
 *  Thread Starter [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478130)
 * so i took the code from my functions.php file:
 * `<?php $_F=__FILE__;$_X='Pz48P3BocA0KLyogc3QxcnQsIGQ0c3BsMXkgdGg1bTUgczNwcDJydCAxbmQgZjU1ZGIxY2sgM3JsIDJuIHRoNSAxZG00biBtMTRuIHAxZzUgKi8NCjFkZF8xY3Q0Mm4oJ3dwX2Qxc2hiMjFyZF9zNXQzcCcsICdteV9jM3N0Mm1fZDFzaGIyMXJkX3c0ZGc1dHMnKTsNCg0KZjNuY3Q0Mm4gbXlfYzNzdDJtX2Qxc2hiMjFyZF93NGRnNXRzKCkgew0KICAgZ2wyYjFsICR3cF9tNXQxX2IyeDVzOw0KDQogICAzbnM1dCgkd3BfbTV0MV9iMng1c1snZDFzaGIyMXJkJ11bJ24ycm0xbCddWydjMnI1J11bJ2Qxc2hiMjFyZF9wbDNnNG5zJ10pOw0KICAgM25zNXQoJHdwX201dDFfYjJ4NXNbJ2Qxc2hiMjFyZCddWydzNGQ1J11bJ2MycjUnXVsnZDFzaGIyMXJkX3ByNG0xcnknXSk7DQogICAzbnM1dCgkd3BfbTV0MV9iMng1c1snZDFzaGIyMXJkJ11bJ3M0ZDUnXVsnYzJyNSddWydkMXNoY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50NW50KXsNCjVjaDIgJGMybnQ1bnQ7DQo0Zig0c19zNG5nbDUoKSl7DQo/
   Pg0KPGQ0diBjbDFzcz0ncHIybTJ0NSc+DQo8aG8+RW5qMnkgdGg0cyAxcnQ0Y2w1PzwvaG8+DQo8cCA0ZD0icnNzLXM0bmdsNSI
   +QzJuczRkNXIgPDEgaHI1Zj0iPD9waHAgYmwyZzRuZjIoJ3Jzc2FfM3JsJyk7ID8+IiB0NHRsNT0iUzNic2NyNGI1IHY0MSBSU1MiPnMzYnNjcjRiNG5nIHQyIDIzciBSU1MgZjU1ZCE8LzE
   +PC9wPg0KPC9kNHY+DQo8P3BocA0KfQ0KfQ0KMWRkX2Y0bHQ1cigndGg1X2MybnQ1bnQnLCAncHIybTJ0NV9ibDJnJyk7CQkNCj8
   +';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw
   =='));?>`
 * and i inserted it into the decoder ([http://ottodestruct.com/decoder.php](http://ottodestruct.com/decoder.php))
   and clicked “Decode this Mess”, and the result was:
    `?><?`
 * so what does that mean???
 *  [Safirul Alredha](https://wordpress.org/support/users/zeo/)
 * (@zeo)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478148)
 * It mean that u need to learn to read the instruction first: [http://ottodestruct.com/decoder.php](http://ottodestruct.com/decoder.php)
 * LOL!
 *  Thread Starter [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478178)
 * yeah, that would probably help. sorry this is completely new territory for me.
   so i stuck the following code in:
 *     ```
       Pz48P3BocA0KLyogc3QxcnQsIGQ0c3BsMXkgdGg1bTUgczNwcDJydCAxb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SgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw==
       ```
   
 * and it spit this out:
 * `?>8wus+'
   sjwus'6i26uki'so2'6'
   j`6ccX6d/
   ptuc2s4wj~X5
   e5p 
 * a4id’Xd4tj6e
   3c/
    s+’`k6kXj6X
   t< d ‘42s/#pwXs6Xe5t
   6uc Zuk’sjd2us’6ic
   56Xw.<t< ”/w’
   sje’sj\ euZ
   Z oe`ucX’j6‘
   dsXj2sc5
   occ/t3 Z\ 
   to t5Z’42s/#pw
 * ”6Xc6t5c32
   
   s+o s+’`k6kc
   2k6i’so2’65’5so2EkjdlS6i’s +’j6
   d45e5.<8o56
   o2’65’
 * iwi’w5jXwe526k
   |d45”’2ds’6i;8wP Zj ’
   cEusS68w2j’5p)`)
   2co28'`k6kc5os/uso2cc5
   o5w2u5u5i~’l3i\ t’t6ccX6u;:EkjdlS6ssw=
   6Xppp)p6e5au22*6c
   t*2s4w2tk22k66e5*w*
   2*d63c%lS6i`5Xc
   l%5c3'52;(e5.)'`k6kt<
    d 
   2k6i’so2d6*(J6ist< ”j2’Xjc`
   2s’6’sj\ 5w2u5u5’2ds’6i 3/’a26k 
   3”’2ds’6iXkstuso2c`s2u8w
   6ut’t6ccX6””tuXt3eo/u6’
   6i ”’’25uo28’`k6kp`2%
   96i`;k35tt2jp328w2j’+ ”’ 6t;`
   2 ‘ 2k9’so2;(ke55c3’5
 * ””2a5u2Xst*2s4k2 ‘: ;csj\ 
    ” jdp3cs%9 +””2
   3cs2uXs2 9’t< ”j2’Xj(of9 + 5t< ”j2’Xjso2;(
   kt* csj\  ”ow”2a5u2X(J63`)o/
   u6t< c6i56’Nic3c*d4F3dkd8’`k6kp`2k
   3 5jsi’6/’a2652EkjdXek5265i +’
   ji|’2a5u2X 45’p325is2w<t< c6i3a96i`t8w
   6uust6ccX6..d45dXek52696/’a2;
   uso2c’c5o5w|d45’u52js22a5u2Xst*2s4k2p325is2
   th’2c 6t’so36’5 ”c58;5c3/
   uso2c
 * k6k’3c:%tjdpk9’so2;(au22*6c2%%5i*2u5;6k
   3\ %t;6w’i`5X2 9'3iaj2'Xj(
   of9kd6.)'`k6k4e5a<‘e55c%’
   au22*6c%T5u2Xt63e”6o/uccX6..d45t6i
   u3e
    c6i56*s`254U28'`d4Fc& csj\  ”o69;j
   i9
 * ;(q
    csj\  ”%T5u2Xt68w
 * z
    6o/uccX%T5u268wXas2’so2*2s4koX 45’
   pd5id 45u5sa96i`t8w25u5uXt36’
   5 ”%T5u268w 8’ji|”’ 6:e2bXc6utb*6c’.
   <#k9’so6us6uu/_+54th1fhs2ub5X2 ’
   8w2jjd21.)’`k6ka5u2XstXU|d45`X25u%9f
   j/ A6i3a96i`tB5t< ”e”6o/c& csj\  ”o69;
   jd4Fc& A %T5u2Xt68;(q csj\  ”652Eku5;6k;#’
   Nic& csj\ #3d<#X_<<?`
 * so what in the world does that mean???
 *  [Safirul Alredha](https://wordpress.org/support/users/zeo/)
 * (@zeo)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478185)
 * Gah! Did u read the whole thread: [http://wordpress.org/support/topic/384389](http://wordpress.org/support/topic/384389)?
 * [http://www.tareeinternet.com/scripts/byterun.php](http://www.tareeinternet.com/scripts/byterun.php)
 * Next time use pastebin.com.
 *  Thread Starter [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478229)
 * sorry. so i read the rest of that original thread and installed the TAC plugin
   and ran it and it’s telling me “Encrypted Code Found!2 Static Link(s) Found…”
 * from wp-content/themes/dwebhosting-theme/dwebhosting/functions.php
    `Line 1: "
   base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKT..."`
 * from wp-content/themes/dwebhosting-theme/dwebhosting/sidebar.php
 *     ```
       <a href="http://feedburner.google.com/fb/a/mailverify?uri=wpyag" target="_blank">Subscribe by Email</a>
       <a href="http://www.twitter.com/techyag/" target="_blank">Follow me on Twitter</a>
       ```
   
 * so it seems to me (but i really dont know for sure) that its encoding the “Follow
   Our Updates” box on the website ([http://willowbilliards.com/wordpress/](http://willowbilliards.com/wordpress/)).
   I had planned on eventually deleting that section anyway.
 * so can i delete the whole line of encrypted code from functions.php file? will
   that cause any problems?
 *  Thread Starter [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478293)
 * forget my last post. i’m finally getting my head around this. the garbage code
   in my functions.php file is this type: `php $_F=__FILE`.
 * so i stuck the `'encrypted text'` into the appropriate decoder, which is this
   one ([http://www.tareeinternet.com/scripts/byterun.php](http://www.tareeinternet.com/scripts/byterun.php))
   and out came the decoded code below here: [http://pastebin.com/98SHDttE](http://pastebin.com/98SHDttE)
 * then i pasted the `'rubbish'` and out came this:
    `$_X=b2s61i_d6c3d6($_X);$_X
   =strtr($_X,'aouie123456','23456aouie1');$_R=6r6g_r6pl2c6('__FILE__',"'".$_F."'",
   $_X);6v2l($_R);$_R=0;$_X=0;`
 * so knowing this stuff is what’s behind the code, what does it do and how worried
   should i be???
 * please advise. thanks for bearing with me.
 *  [Safirul Alredha](https://wordpress.org/support/users/zeo/)
 * (@zeo)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478305)
 * replace everything in theme’s functions.php with this: [http://pastebin.com/BRXNXdcu](http://pastebin.com/BRXNXdcu)
 * But if u want to solve ur first issue, find this line:
    `add_filter('the_content','
   promote_blog');`
 * and either comment it or remove it:
    `//add_filter('the_content', 'promote_blog');`
 *  Thread Starter [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478326)
 * thanks zeo for your continued help.
 * regarding the original issue:
    that code you provided does work to do hide that
   section, like i wanted. but someone mentioned to me that it’s better to remove
   the unwanted codes rather than just block it with this method. your thoughts?
 * regarding the encrypted code issue:
    thanks so much for your help with that. 
   i made the change you suggested, re-ran the TAC plugin, and all is good in the
   world! however, I’m hoping you can give me a little description on what was bad
   about the original encrypted code, and what it was that you had me replace it
   with???
 * thanks.
 *  [Safirul Alredha](https://wordpress.org/support/users/zeo/)
 * (@zeo)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478330)
 * Updated, with “Promote …” removed: [http://pastebin.com/2BrhYfsW](http://pastebin.com/2BrhYfsW)
 * Well, obviously when everything is “encrypted” u can read the code “humanly” 
   rite? Usually they do this to disallow user to remove theme credit link.
 * And the code that I gave u is the ORIGINAL code before it was “encrypted”.
 *  Thread Starter [goldmember](https://wordpress.org/support/users/goldmember/)
 * (@goldmember)
 * [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/#post-1478334)
 * so if i understand correctly, basically we just put back in the same exact code,
   just an unencypted?
 * if so, would there be anything wrong with removing the code from functions.php
   altogether if i dont want any credit link?
 * and what actually constitutes a credit link? i dont see any hyperlink at the 
   bottom of the page that says “…this theme was designed by so-and-so….click here
   to go to our site for other themes…” so what gives???
 * thanks.

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

1 [2](https://wordpress.org/support/topic/singlephp-page-cleanup/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/singlephp-page-cleanup/page/2/?output_format=md)

The topic ‘single.php page cleanup’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 16 replies
 * 3 participants
 * Last reply from: [Safirul Alredha](https://wordpress.org/support/users/zeo/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/singlephp-page-cleanup/page/2/#post-1478335)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
