WordPress stops processing html (4 posts)

  1. dhacker
    Posted 10 years ago #

    I'm trying to include my blog in a page that already has content. Simply put, my page looks like this:

    Here is some code
    /* Short and sweet */
    define('WP_USE_THEMES', true);

    and here is some more


    I see my words "Here is some code" for a moment, then WordPress does it's thing and wipes out my words. WordPress never generates the "and here is some more" code. I've looked through the loop code and can't figure out why WordPress stops my processing. Where should I look next?

  2. Kafkaesqui

    Posted 10 years ago #

    define('WP_USE_THEMES', false);

    Try that instead.

  3. dhacker
    Posted 10 years ago #

    When I do that I get no WordPress content at all.

  4. Kafkaesqui

    Posted 10 years ago #

    If you want to include your blog in a non-WordPress PHP document, see this for the best way to set it up:


Topic Closed

This topic has been closed to new replies.

About this Topic