• Resolved test

    (@test)


    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 the footer is missing.

    thank you!

    WBR
    Steven

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter test

    (@test)

    nobody?

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    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

    (@test)

    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.