/** * @author rs-theme * @since 1.0 * @version 1.0 */ if ( ! function_exists( 'bandco_setup' ) ) : /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. */ define( 'BANDCO_THEME_DIR', get_template_directory() ); define( 'BANDCO_THEME_URI', get_template_directory_uri() ); define( 'BANDCO_THEME_SUB_DIR', BANDCO_THEME_DIR.'/inc/' ); define( 'BANDCO_THEME_CSS_DIR', BANDCO_THEME_URI.'/css/' ); define( 'BANDCO_THEME_JS_DIR', BANDCO_THEME_URI.'/js/' ); function bandco_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on bandco, use a find and replace * to change 'bandco' to the name of your theme in all the template files. */ load_theme_textdomain( 'bandco', get_template_directory() . '/languages' ); // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); /* * Let WordPress manage the document title. * By adding theme support, we declare that this theme does not use a * hard-coded