WordPress.org

Ready to get started?Download WordPress

Forums

Trying to get the Blog to look like my site (3 posts)

  1. Stu12
    Member
    Posted 9 years ago #

    Hello All :-)

    I have been trying to get this Blog: http://www.everyparent.co.nz/rebuild/blog/index.php to look like this site: http://www.everyparent.co.nz/rebuild/

    But I am having some issues

    I gave up making my own theme/style as I am running out of time with this project so I have copied the Andreas09 theme/style & things have been going good & this site I found: http://www.urbangiraffe.com/2005/04/12/themeguide1/1/ was useful but does not help me here.

    Take a look at this site http://www.everyparent.co.nz/rebuild/ & compeer it with this blog: http://www.everyparent.co.nz/rebuild/blog/index.php

    As you can see the right hand nav bar is too far to the right & the main post/content area is just sitting there in the middle & the left hand side is not touching the edge of the screen like the site

    Any ideas how I can fix this?

    (I am using wp 2.0)

    Please help me!!

  2. Stu12
    Member
    Posted 9 years ago #

    PLEASE Help me!!!

  3. jmkprime
    Member
    Posted 9 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.