Support » Plugins and Hacks » Need to use external layout

  • I am curious how you guys go about integrating your blogs with the rest of your site. Let’s say your site is using an ecommerce application and cannot be integrated into wordpress by just using wordpress as a CMS. How would you go about keeping their layout the same?

    I was thinking of writing a plugin that grabs a layout page from the main site and doing some simple text replacement to inject the content… then outputting. I tried doing this with output buffering, but I dont know what actions to hook into to execute ob_start() before anything is output and ob_get_clean() afterwards. Is this the wrong approach?

Viewing 2 replies - 1 through 2 (of 2 total)
  • How would you go about keeping their layout the same?

    I would create a layout for WordPress that looks like my other site – the simplest way.
    You can also read in the codex for integrating WordPress with your site.

    So what happens when my site’s navigation changes? I have to change it inside wordpress too? I don’t like that. I don’t want the user to know that when they go to /news/ that they are going to a “blog” I just want them to see news posts on the “news page”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Need to use external layout’ is closed to new replies.