FuelCMS - CodeIgniter and Wordpress Integration

October 29 2010, 1:51pm

The guys over at FuelCMS have documented a method of integrating CodeIgniter and Wordpress into the same website. By doing so you can call the $CI super object from within your Wordpress theme files.

The initial problem we had with using Wordpress was wanting to incorporate CodeIgniter functionality into our Wordpress theme files. For example, we often have a header and footer that we include in many of our CodeIgniter view files. That same header and footer also needed to be included in the Wordpress theme. Our answer was to create a Wordpress include file that executes the CodeIgniter bootstrap within Wordpress.