/* * This theme styles the visual editor to resemble the theme style, * specifically font, colors, icons, and column width. */ /* * CSTATheme * --------------------------------------------------------------------- * @version 1.0 * @author Charmaine Calsas * @link http://charmainecalsas.com * @copyright Copyright (c) charmainecalsas.com * --------------------------------------------------------------------- * * --------------------------------------------------------------------- */ // constants define('THEME_SHORT_NAME','grc'); define('THEME_FULL_NAME','CSTATheme'); define('GOODLAYERS_PATH', get_template_directory_uri()); define('FONT_SAMPLE_TEXT', 'Sample Font'); // sample font text of the goodlayers backoffice panel $gdl_icon_type = get_option(THEME_SHORT_NAME.'_icon_type','dark'); $gdl_footer_icon_type = get_option(THEME_SHORT_NAME.'_footer_icon_type','dark'); $gdl_admin_translator = get_option(THEME_SHORT_NAME.'_enable_admin_translator','enable'); //$gdl_is_responsive = get_option(THEME_SHORT_NAME.'_enable_responsive','disable'); //$gdl_is_responsive = ($gdl_is_responsive == 'enable')? true: false; $gdl_is_responsive = false; $default_post_sidebar = get_option(THEME_SHORT_NAME.'_default_post_sidebar','post-no-sidebar'); $default_post_sidebar = str_replace('post-', '', $default_post_sidebar); $default_post_left_sidebar = get_option(THEME_SHORT_NAME.'_default_post_left_sidebar',''); $default_post_right_sidebar = get_option(THEME_SHORT_NAME.'_default_post_right_sidebar',''); include_once('search-custom.php'); include_once('include/include-script.php'); // include all javascript and style in to the theme include_once('include/plugin/utility.php'); // utility function include_once('include/function-regist.php'); // registered wordpress function include_once('include/csta-option.php'); // csta panel include_once('include/plugin/fontloader.php'); // load necessary font include_once('include/plugin/shortcode-generator.php'); // shortcode include_once('include/plugin/twitter-shortcode.php'); // twitter shortcode // dashboard option include_once('include/meta-template.php'); // template for post portfolio and gallery include_once('include/post-option.php'); // meta of post post_type include_once('include/page-option.php'); // meta of page post_type include_once('include/course-option.php'); // meta of course post_type include_once('include/gallery-option.php'); // meta of portfolio post_type // exterior plugins include_once('include/plugin/really-simple-captcha/really-simple-captcha.php'); // capcha comment plugin class include_once('include/plugin/filosofo-image/filosofo-custom-image-sizes.php'); // Custom image size plugin include_once('include/plugin/dropdown-menus.php'); // Custom dropdown menu if(!is_admin()){ include_once('include/plugin/misc.php'); // misc function to use at font-end include_once('include/plugin/page-item.php'); // organize page item element include_once('include/plugin/blog-item.php'); // organize page item element include_once('include/plugin/comment.php'); // function to get list of comment include_once('include/plugin/pagination/pagination.php'); // page divider plugin include_once('include/plugin/social-shares.php'); // page divider plugin include_once('include/plugin/really-simple-captcha/cbnet-really-simple-captcha-comments.php'); // capcha comment plugin } // include custom widget include_once('include/plugin/custom-widget/custom-blog-widget.php'); include_once('include/plugin/custom-widget/custom-port-widget.php'); include_once('include/plugin/custom-widget/custom-port-widget-2.php'); include_once('include/plugin/custom-widget/popular-post-widget.php'); include_once('include/plugin/custom-widget/contact-widget.php'); include_once('include/plugin/custom-widget/flickr-widget.php'); include_once('include/plugin/custom-widget/twitter-widget.php'); include_once('include/plugin/custom-widget/personnal-widget.php'); // Add Another theme support if ( ! isset( $content_width ) ) $content_width = 980; add_theme_support( 'automatic-feed-links' ); // remove admin bar // add_filter('show_admin_bar', '__return_false'); add_action("login_head", "my_login_head"); function my_login_head() { echo " "; } ?> Colegio de Sta. Teresa de Avila csta Archives - Colegio de Sta. Teresa de Avila