Re-organization
This commit is contained in:
24
inc/config.php
Normal file
24
inc/config.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
add_theme_support('root-relative-urls');
|
||||
add_theme_support('rewrite-urls');
|
||||
add_theme_support('h5bp-htaccess');
|
||||
add_theme_support('bootstrap-responsive');
|
||||
|
||||
// Set the content width based on the theme's design and stylesheet
|
||||
if (!isset($content_width)) { $content_width = 940; }
|
||||
|
||||
define('POST_EXCERPT_LENGTH', 40);
|
||||
define('WRAP_CLASSES', 'container');
|
||||
define('CONTAINER_CLASSES', 'row');
|
||||
define('MAIN_CLASSES', 'span8');
|
||||
define('SIDEBAR_CLASSES', 'span4');
|
||||
define('FULLWIDTH_CLASSES', 'span12');
|
||||
define('GOOGLE_ANALYTICS_ID', '');
|
||||
|
||||
define('WP_BASE', wp_base_dir());
|
||||
define('THEME_NAME', next(explode('/themes/', get_template_directory())));
|
||||
define('RELATIVE_PLUGIN_PATH', str_replace(site_url() . '/', '', plugins_url()));
|
||||
define('FULL_RELATIVE_PLUGIN_PATH', WP_BASE . '/' . RELATIVE_PLUGIN_PATH);
|
||||
define('RELATIVE_CONTENT_PATH', str_replace(site_url() . '/', '', content_url()));
|
||||
define('THEME_PATH', RELATIVE_CONTENT_PATH . '/themes/' . THEME_NAME);
|
||||
Reference in New Issue
Block a user