WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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()

share|improve this question
up vote 2 down vote accepted

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.

share|improve this answer

To agree with the answer above, I think it would defeat the purpose of using WordPress as A CMS. CodeIgniter is a framework used to developed dynamic sites in PHP. It is not a CMS for displaying content. WordPress is better built for such a task. You could however build out your site using CodeIgniter.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.