Title: disabling theme code
Last modified: August 22, 2016

---

# disabling theme code

 *  [botvillian](https://wordpress.org/support/users/botvillian/)
 * (@botvillian)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/disabling-theme-code/)
 * hello everybody.
 * I found out that I can analyze source code of my website with firebug, an add
   on for firefox:
 * If you take a look at the screenshot I linked you’ll see a section of the site.
   It’s the section for posts. I don’t plan to use it for this purpose in the future
   and have no posts set at the moment.
 * [http://www.pasteall.org/pic/show.php?id=85591](http://www.pasteall.org/pic/show.php?id=85591)
 * therefor this section contains the message
 * **_Nicht gefunden_**
    **_Es tut mir leid, aber Sie suchen nach etwas, was nicht
   hier ist._**
 * translation:
    **_I’m sorry but your looking for something which is not here_
 * In the screenshot I have circled the message in magenta and the corresponding
   code in green.
 * at the bottom on the right you can see the code in detail.
 * now my question is:
 * how can I _**dis**_able the code the way that the whole posts section isn’t displayed
   on the website anymore. Ideally I would like the website to be closed right under
   the front page content boxes. the footer that contains pieces of information 
   concerning the theme can be left for the moment.
 * I want to disable the code in a manner that gives me the option to reactivate
   it later.
 * thanks for your responses.
 * regards
 * torsten

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [botvillian](https://wordpress.org/support/users/botvillian/)
 * (@botvillian)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/disabling-theme-code/#post-5924211)
 * –
 *  [FarzamF](https://wordpress.org/support/users/farzamf/)
 * (@farzamf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/disabling-theme-code/#post-5924219)
 * Hi botvillian,
 * you can disable it via commenting line 880 & 884 in index.php
 *  Thread Starter [botvillian](https://wordpress.org/support/users/botvillian/)
 * (@botvillian)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/disabling-theme-code/#post-5924297)
 * hi FarzamF.
 * thanks for your reply.
 * I tried to disable the code by putting a hash at the beginning of each of both
   lines. but that obviously was not expedient.
 * what do I have to do exactly?
 * regards
    torsten
 *  Thread Starter [botvillian](https://wordpress.org/support/users/botvillian/)
 * (@botvillian)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/disabling-theme-code/#post-5924299)
 * just this minute I found this website:
 * they write:
 * _To hide or deactivate PHP code in a template file:_
 *     ```
       <?php // the_content(Continue Reading...); ?>
   
       or
   
       <?php /* the_content(Continue Reading...); */ ?>
       ```
   
 * I also tried this. I put
 *     ```
       <?php //
       ```
   
 * at the beginning of line 880 and
 *     ```
       ?>
       ```
   
 * at the end of the line.
 * same for line 884.
 * no effect.
 * what am I doing wrong?
 * the whole original code section I want to change is:
 *     ```
       <h1 class="entry-title"><?php _e( 'Not Found', 'evolve' ); ?></h1>
   
       					<!--BEGIN .entry-content-->
       					<div class="entry-content">
       						<p><?php _e( 'Sorry, but you are looking for something that isn\'t here.', 'evolve' ); ?></p>
       ```
   
 * It’s in the index.php of my theme folder:
 * _/wp-content/themes/evolve_
 *  [FarzamF](https://wordpress.org/support/users/farzamf/)
 * (@farzamf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/disabling-theme-code/#post-5924301)
 * just try to delete that line
 *  Thread Starter [botvillian](https://wordpress.org/support/users/botvillian/)
 * (@botvillian)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/disabling-theme-code/#post-5924310)
 * I have found the solution on the german wordpress forum:
 * open style.css and put the following code at the bottom:
 *     ```
       body.home #primary {
       display: none;
       }
       ```
   
 * done!
 * thanks for your help.
 * regards
    torsten
 *  [FarzamF](https://wordpress.org/support/users/farzamf/)
 * (@farzamf)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/disabling-theme-code/#post-5924311)
 * i’m really happy to here that you found the solution botvillian
 * good luck

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘disabling theme code’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/evolve/4.3.7/screenshot.png)
 * evolve
 * [Support Threads](https://wordpress.org/support/theme/evolve/)
 * [Active Topics](https://wordpress.org/support/theme/evolve/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/evolve/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/evolve/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [FarzamF](https://wordpress.org/support/users/farzamf/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/disabling-theme-code/#post-5924311)
 * Status: not resolved