Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Code Igniter

Easy integration of CodeIgniter functionality into WordPress, making it available for themes and other plugins.

Known Limitations

CodeIgniter functionality is not available to WordPress admin.


You can use CodeIgniter in both themes and other plugins. Here are some simple examples of its use in a theme context.

Simple Example 1 - Database Query:

  if(defined('WP_CODE_IGNITER_DB')) {
    $res = $db->query('SELECT * FROM wp_users');
    foreach($res->result() as $row) {
      echo '<p>'.$row->user_login.'</p>';

Simple Example 2 - Pagination:

  if(defined('WP_CODE_IGNITER')) {
    class Pagination extends CI_Controller {
      public function pagelinks()
        $config['base_url'] = 'http://example.com/index.php/test/page/';
        $config['total_rows'] = '200';
        $config['per_page'] = '20';
        echo $this->pagination->create_links();
    $pagination = new Pagination;

Requires: 3.2 or higher
Compatible up to: 3.2.1
Last Updated: 5 years ago
Active Installs: 10+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.