Browser and Operating System Finder


My first ever wordpress plugin to find Browser and Operating System on which website is running. It will add those particular names in body tag class attributes as shown below:

<body class=”…. browser-firefox os-windows”>
<body class=”…. browser-chrome os-apple”>
<body class=”…. browser-safari os-iphone”>
<body class=”…. browser-chrome os-android”>

You can configure names as per your need.

You can get this plugin at


you can just search for “Browser and Operating System Finder” in search plugins box.

Setup HMVC with Codeigniter 3.0


Follow below steps to setup HMVC in codeigniter(CI):

1. Download zip from above URL and copy them into application folder of CI

2. Rewrite HTACCESS

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

3. Create folder called “modules” in application folder i.e. application/modules

4. Create a folder of particular module in modules folder. For e.g. application/modules/admin

5. Create controllers, models and views folder in particular module. For e.g.  in application/modules/admin module

6. Create controller file controllers folder of particular module. For e.g.  application/modules/admin/controllers/Admin.php


defined(‘BASEPATH’) OR exit(‘No direct script access allowed’);

class Admin extends CI_Controller {

    public function index() {




7. Following will be the structure:


That’s it…