How to integrate Wordpress into Kohana 3

后端 未结 6 1498
旧时难觅i
旧时难觅i 2020-12-30 10:26

I now need to make a Kohana 3 site have a Wordpress blog.

I\'ve seen Kerkness\' Kohana For Wordpress, but it seems to be the opposite of what I want.

Here ar

6条回答
  •  爱一瞬间的悲伤
    2020-12-30 10:40

    Another solution is to keep both Wordpress and Kohana installations completely separate. Then you create a custom Wordpress theme that will pull the header and footer from Kohana (you can create a Kohana controller for that).

    Once you have the header and footer in, the blog looks integrated to your website even though it's still a completely separate installation. The advantage is that there's nothing to hack to either Wordpress or Kohana to get it working.

    There's some more details about this method in this blog post: Integrating Wordpress into a Kohana application

提交回复
热议问题