Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter stu12

    (@stu12)

    PLEASE Help me!!!

    The very quick and dirty way would be to dispense with themes entirely. It’s something I’ve always done – more for lack of time to themeize my site than anything else. What you can do is to put $wp_template_redirect = false; before your call to wp-blog-header.php. That will cause php to continue processing index.php looking for a wp rotor rather than looking in the themes directory.

    I then use output escaping

    ob_start();
    …wp-rotor, etc
    $results = ob_get_contents();
    ob_end_clean();

    to write the output of wordpress to the $results variable. I can then pipe that into my standard site wide template system. In fact I use output buffering several times to capture the various header and sidebar outputs.

    It’s not perfect and I really should use themes, but I found that it makes wordpress easier to embed within an existing site.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trying to get the Blog to look like my site’ is closed to new replies.