WordPressIgniter

from 0$

WordPressIgniter is a WP Plugin Package from the Open Source WP Plugins range License GPLv2


For more information about a tailored WP Plugin Package like WordPressIgniter please contact us directly.

A WordPress plugin that integrates CodeIgniter

Why a CodeIgniter/Wordpress integration plugin?

  1. 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

  2. I’m getting tired of building custom user, login, and session management systems for CodeIgniter. WordPress has them already.

  3. I’m getting tired of building custom look and feel and templates for CodeIgniter, WordPress already is that, and has thousands of themes available.

  4. 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:

  1. easily integrate CodeIgniter without invading its core very much, or optionally, not at all.

  2. show CodeIgniter output in a page, preserving all WordPress menu structure, template structure etc.

  3. not require template editing, so that templates can be easily swapped out and the CodeIgniter itegration still work.

  4. 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)

  5. 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.

Download & install the zip archive

The plugin package installer can be downloaded from the WP2E project tab called “code”.

1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.

2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.

3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.

Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.

WordPressIgniter

typePlugin
version1.4
descriptionLicense GPLv2