Source

elbee-elgee / functions.php

Full commit
Doug Stewart 61b1711 
Doug Stewart a46b1cc 



Doug Stewart 0a1f620 
Doug Stewart 9be657b 

Doug Stewart ce9826b 
Doug Stewart 94158db 
Doug Stewart 77dc8d7 
Doug Stewart 00c83e2 
Doug Stewart 94158db 
Doug Stewart eb220d7 
Doug Stewart 00c83e2 
Doug Stewart 1f1a231 


Doug Stewart 94158db 
Doug Stewart eb220d7 
Doug Stewart 7b71e21 
Doug Stewart 94158db 
Doug Stewart aa44d67 
Doug Stewart 6b6c62f 
Doug Stewart 94158db 
Doug Stewart 77dc8d7 
Doug Stewart 0a1f620 
Doug Stewart 22ce1ca 


Doug Stewart 94158db 
Doug Stewart aa44d67 
Doug Stewart 7725c52 
Doug Stewart 94158db 



Doug Stewart b3e110f 
Doug Stewart 4cd0211 
Doug Stewart b3e110f 
Doug Stewart 94158db 
Doug Stewart 6496e9f 
Doug Stewart 44e8793 
<?php
/**
* functions.php defines all manner of back-end coolness for
* Elbee Elgee.
*/

define( 'LBLG_INCLUDE_DIR', get_template_directory() . '/includes/' );
define( 'LBLG_FUNCTIONS_DIR',  LBLG_INCLUDE_DIR . 'functions/' );

// Functions and settings related to handling theme options
require_once( LBLG_FUNCTIONS_DIR . 'options.php' );

// Functions and settings related to handling the Custom Header functionality
require_once( LBLG_FUNCTIONS_DIR . 'headers.php' );

// Change from options to decisions
require_once( LBLG_FUNCTIONS_DIR . 'decisions.php' );

// Functions and settings related to the back-end theme admin page[s]
require_once( LBLG_FUNCTIONS_DIR . 'admin.php' );

// Functions and settings handling custom widgets functionality
require_once( LBLG_FUNCTIONS_DIR . 'widgets.php' );

// Registration of custom theme hooks
require_once( LBLG_FUNCTIONS_DIR . 'hooks.php' );

// Theme Hook Alliance Hooks
require_once( LBLG_FUNCTIONS_DIR . 'tha-theme-hooks.php' );

// Register theme support for various core WordPress functionality
require_once( LBLG_FUNCTIONS_DIR . 'supports.php' );

// Custom functionality that doesn't fit in any other area
require_once( LBLG_FUNCTIONS_DIR . 'custom.php' );

// BuddyPress-related code, only loaded if BP is active
if( function_exists( 'bp_init' ) )
	require_once( LBLG_FUNCTIONS_DIR . 'buddypress.php' );

// bbPress-related code, only loaded if bbP is active
if( function_exists( 'bbp_get_current_user_id' ) )
	require_once( LBLG_FUNCTIONS_DIR . 'bbpress.php' );