WordPressIgniter
License GPLv2
The facts
- Rating
- 4.2★ from 5
- Active installs
- 10+
- Price
- Free
- Last updated
- 1 May 2015
- Added
- Sep 2013
- Requires WP
- 3.3
- Tested up to
- WP 3.9.40
- Downloads
- 5,272
Our analysis
AI-assistedWordPressIgniter is a WordPress plugin designed to integrate CodeIgniter into a WordPress environment. It allows you to use CodeIgniter features, such as ActiveRecord and MVC, while leveraging WordPress's existing user management, themes, and plugins.
The plugin enables you to display CodeIgniter output within WordPress pages without modifying templates, and it supports customisation of CodeIgniter's application paths. It is suitable for developers who want to combine the functionalities of both platforms without extensive custom coding.
Best for: Developers looking to combine CodeIgniter and WordPress functionalities.
What it does well
- ✓Integrates CodeIgniter with WordPress
- ✓No need for template editing
- ✓Customisable CodeIgniter paths
- ✓Handles segmented URLs
Where it falls short
- •Limited active installs
- •Last updated in May 2015
- •Tested only up to WordPress 3.9.40
- •Directory score indicates potential issues
Verdict
WordPressIgniter offers a unique solution for integrating CodeIgniter into WordPress, but its outdated status and limited support may pose challenges.
From the developer
dynamodan's own description of WordPressIgniter, lightly tidied.
A WordPress plugin that integrates CodeIgniter
Why a CodeIgniter/Wordpress integration plugin?
-
I (along with many others) like CodeIgniter for it’s features such as ActiveRecord and MVC disciplines, plus I have a ton of cool libs and stuff in CodeIgniter that I would like to use in the WordPress environment
-
I’m getting tired of building custom user, login, and session management systems for CodeIgniter. WordPress has them already.
-
I’m getting tired of building custom look and feel and templates for CodeIgniter, WordPress already is that, and has thousands of themes available.
-
I’m getting tired of building custom feature X for CodeIgniter, when it may already exist in WordPress either natively or as a plugin.
Why did I create this plugin, even though some others already exist? Because I wanted to:
-
easily integrate CodeIgniter without invading its core very much, or optionally, not at all.
-
show CodeIgniter output in a page, preserving all WordPress menu structure, template structure etc.
-
not require template editing, so that templates can be easily swapped out and the CodeIgniter itegration still work.
-
allow customizing of the CodeIgniter APPPATH and BASEPATH variables, so that the system and application folders can be put somewhere outside the plugins folder (or docroot altogether for that matter)
-
handle segmented urls in CodeIgniter fashion, including paths that aren’t valid in WordPress (i.e. via WordPress 404 hooks), and dispatch to appropriate CodeIgniter controller functions.
Tips
- If your CodeIgniter controller sets the $this->content[‘page_title’], such as
$this->content['page_title'] = 'Blast off!';
then this plugin will set the template-rendered title to “Blast off!” via a WordPress API registered ‘the_title’ filter hook. - If you choose to tick the “CodeIgniter grabs all SEO urls” checkbox, beware that CodeIgniter will return its own 404 page (along
with http header!) on any non-root urls, i.e. permalinks. This behaviour can be set within CodeIgniter by adjusting the routes.php
file to point to a valid controller, like this:$route['404_override'] = 'welcome';
Todo
(I don’t know if these are even possible, or I might have already done them)
- provide a way to make CodeIgniter automatically use WordPress’ database settings, from within the plugin (yes I know I could intrude CodeIgniter core to do this, but it’s what I wanted to avoid)
- provide a mechanism to instantiate CodeIgniter only on the overridden page, rather than all frontend urls.