Using wordpress and codeigniter in one website

Is it possible to use WordPress as the CMS but all of contents will be displayed using CodeIgniter?

What I want to know also if I can use the WordPress functions by simply including this wp-blog-header.php in the CodeIgniter.

Do you guys think this idea will work?

Probably one of the function I really need is apply_filters()

2 Answers
2

You can install CI as a theme or a directory in a theme. Then load the files in the theme’s functions.php and create the output with CI. You can use all the WordPress code here.

As far as I’m aware there will be no conflicts between CodeIgniter’s reserved names and WordPress.

But I am not so sure about the usefulness of this combination. You will not need most of CI’s code, because WordPress handles that already.

Leave a Comment