load(); /** * Sets up theme defaults and registers support for various WordPress features. * * @since 1.0.0 */ function audiotheme_fourteen_setup() { // Add support for translating strings in this theme. // @link http://codex.wordpress.org/Function_Reference/load_theme_textdomain load_child_theme_textdomain( 'audiotheme-fourteen', get_stylesheet_directory() . '/languages' ); } add_action( 'after_setup_theme', 'audiotheme_fourteen_setup' ); /** * Allow Tags metabox on AudioTheme Post Types. This allows theme to be included * in the featured content section. * * @since 1.0.0 */ function audiotheme_fourteen_admin_init() { register_taxonomy_for_object_type( 'post_tag', 'audiotheme_record' ); } add_action( 'admin_init', 'audiotheme_fourteen_admin_init' );