Skip to content

Instantly share code, notes, and snippets.

@nehalist
Created July 16, 2015 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nehalist/33f715188f8fd87dba99 to your computer and use it in GitHub Desktop.
Save nehalist/33f715188f8fd87dba99 to your computer and use it in GitHub Desktop.
<?php
// WordPress Content Width
// See https://codex.wordpress.org/Content_Width
$content_width = 1000;
// Theme Features
// See https://codex.wordpress.org/Function_Reference/add_theme_support
$theme_support = [
];
// Plugin Dependencies via TGM Plugin Activation
// See http://tgmpluginactivation.com/configuration/
$plugin_dependencies = [
];
// Assets to load
// Important: style.css, jQuery and compiled files (SASS, ...) are
// loaded automatically
$assets = [
];
// CSS Framework
// Either bootstrap, foundation or none
// To load proper nav walker lib
$css_framework = 'foundation';
// Theme libraries to load
// See libs/
$libs = [
'init.php',
'helper.php',
'utility.php',
'assets.php',
// Vendor
'vendor/class-tgm-plugin-activation.php'
];
// ============================================================================
// Includes
// Load libraries
foreach($libs as $file) {
if(locate_template('libs/' .$file)) {
require_once locate_template('libs/' . $file);
} else {
trigger_error('Failed to load library (' . $file . ')', E_USER_ERROR);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment