Current Path : /storage/v11800/affypharma/public_html/wp-content/themes/phlox-pro/auxin-content/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/themes/phlox-pro/auxin-content/functions.php |
<?php
/**
* Theme specific functions and configs
*
*
* @package Auxin
* @author averta (c) 2014-2019
* @link http://averta.net
*/
/*------------------------------------------------------------------------------------------------*/
locate_template( AUXIN_CON . 'include/functions.php' , true, true );
locate_template( AUXIN_CON . 'include/hooks.php' , true, true );
if( version_compare( PHP_VERSION, '5.3.0', '>=') ){
locate_template( AUXIN_CON . 'options/auxin-options.php' , true, true );
}
if( is_admin() ){
locate_template( AUXIN_CON . 'include/hooks-admin.php' , true, true );
// Load general metabox models
locate_template( AUXIN_CON . 'admin/metaboxes/metabox-fields-general-layout.php' , true, true );
locate_template( AUXIN_CON . 'admin/metaboxes/metabox-fields-general-title-setting.php' , true, true );
locate_template( AUXIN_CON . 'admin/metaboxes/metabox-fields-general-bg-setting.php' , true, true );
locate_template( AUXIN_CON . 'admin/metaboxes/metabox-fields-general-color-setting.php' , true, true );
locate_template( AUXIN_CON . 'admin/metaboxes/metabox-fields-general-slider-setting.php' , true, true );
// Add metaboxes for post
locate_template( AUXIN_CON . 'admin/metaboxes/metabox-fields-post.php' , true, true );
// Add metaboxes for page
locate_template( AUXIN_CON . 'admin/metaboxes/metabox-fields-page.php' , true, true );
} else {
locate_template( AUXIN_CON . 'include/class-auxin-frontend-assets.php' , true, true );
locate_template( AUXIN_CON . 'include/hooks-public.php' , true, true );
}