开发者

Merging Codeigniter with Wordpress

开发者 https://www.devze.com 2022-12-25 22:43 出处:网络
I\'m trying t开发者_如何学Co utilize the power of wordpress to set up a blog on my site. I got it to install fine, but when trying to use wordpress\'s functions in a CI view the functions are undefin

I'm trying t开发者_如何学Co utilize the power of wordpress to set up a blog on my site.

I got it to install fine, but when trying to use wordpress's functions in a CI view the functions are undefined.

http://codeigniter.com/forums/viewthread/48347/ I am following this.

I put the require('blog/wp-blog-header.php') in my index.php file(ci) on the root.

Any idea where I am messing up?


Why both integrating WordPress and CodeIgniter when you could just use PyroCMS and have your entire site running a single CI codebase?

http://pyrocms.com/


As stated by Phil, why integrate two completely different systems (a blog and a framework) when you can use existing solutions that can prevent a lot from going wrong?

0

精彩评论

暂无评论...
验证码 换一张
取 消