-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathwordpress-theme-framework.php
More file actions
24 lines (18 loc) · 843 Bytes
/
wordpress-theme-framework.php
File metadata and controls
24 lines (18 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/*
Plugin Name: WordPress Theme Framework
Description: Lightweight theme framework base with Model-View concept for developers who want to better organize their own custom themes.
Tags: mvc theme, theme boilerplate, oop theme, mini framework
Version: 3.1
Author: JustCoded / Alex Prokopenko
Author URI: http://justcoded.com/
License: GPL3
*/
defined( 'JTF_PLUGIN_FILE' ) || define( 'JTF_PLUGIN_FILE', __FILE__ );
// Required functions as it is only loaded in admin pages.
require_once ABSPATH . 'wp-admin/includes/plugin.php';
// Required spl autoload registration class.
require_once dirname( __FILE__ ) . '/framework/Autoload.php';
// Include small helper functions.
require_once dirname( __FILE__ ) . '/framework/helpers.php';
new JustCoded\WP\Framework\Autoload( 'JustCoded\WP\Framework', dirname( __FILE__ ) . '/framework' );