Title: No php code possible after wordpress :(
Last modified: August 18, 2016

---

# No php code possible after wordpress :(

 *  Resolved [test](https://wordpress.org/support/users/test/)
 * (@test)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/no-php-code-possible-after-wordpress/)
 * Hi,
 * I include the wordpress into my website as a extended news system but after the
   inclusion of the wordpress ‘index’ file I can’t write any php code anymore!
 * I don’t get any errors and wordpress is giving me test entry without problem.
 * I assume there is an ‘exit;’ somewhere in the wordpress code so whole pages stops
   loading.. where is this?
    I tried in template-loader.php but replacing the exit
   with break does not work (get error)
 * For problem see; [http://www.samsunguniverse.com](http://www.samsunguniverse.com)
   the footer is missing.
 * thank you!
 * WBR
    Steven

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

 *  Thread Starter [test](https://wordpress.org/support/users/test/)
 * (@test)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/no-php-code-possible-after-wordpress/#post-521403)
 * nobody?
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [19 years, 3 months ago](https://wordpress.org/support/topic/no-php-code-possible-after-wordpress/#post-521404)
 * You are correct about the end of execution being in template_loader.php (all 
   those exit statements), however a “break” will not work in place of those exits.
   There’s nothing there for it to break out of.
 * In theory, you could remove those exit statements entirely. Since it’s all else
   if’s, it’ll fall all the way through them and back out to the original index.
   php.
 *  Thread Starter [test](https://wordpress.org/support/users/test/)
 * (@test)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/no-php-code-possible-after-wordpress/#post-521407)
 * that did the trick! thank you!

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

The topic ‘No php code possible after wordpress :(’ is closed to new replies.

## Tags

 * [exit](https://wordpress.org/support/topic-tag/exit/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [test](https://wordpress.org/support/users/test/)
 * Last activity: [19 years, 3 months ago](https://wordpress.org/support/topic/no-php-code-possible-after-wordpress/#post-521407)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
