HMVC framework for WordPress plugin development Download

WordPress Fuel Structure

WordPress Fuel File System


The following is the default directory structure of a WordPress Fuel plugin.

WordPress Root
     +- wp-content
     |  +- plugins
     |    +- wpfuel
     |        +- core
     |          +- classes
     |             +- abstract
     |             +- dispatcher
     |             +- exceptions
     |             +- router
     |             +- ...
     |          +- config
     |          +- utf8
     |          +- views
     |        +- wpfuel.php
     |    +- <yourplugin>
     |          +- assets
     |          +- css
     |          +- js
     |        +- mvc
     |          +- config
     |          +- controls
     |              +- user
     |                  +- auth.php
     |          +- models
     |          +- helpers
     |          +- shortcodes
     |          +- views
     |          +- init.php
     |     +- index.php - (Front Controller)