array( 'name' => 'Banners', 'add_new' => 'Adicionar' ), 'supports' => array('title'), 'public' => true, 'show_ui' => true, )); // Atuação register_post_type('atuacao', array( 'labels' => array( 'name' => 'Atuação', 'add_new' => 'Adicionar' ), 'supports' => array('title', 'editor'), 'public' => true, 'show_ui' => true )); register_taxonomy('categoria-atuacao', 'atuacao', array( 'hierarchical' => true, 'label' => 'Categorias' )); // Equipe register_post_type('equipe', array( 'labels' => array( 'name' => 'Equipe', 'add_new' => 'Adicionar' ), 'supports' => array('title', 'editor'), 'public' => true, 'show_ui' => true, )); // Consultor register_post_type('consultor', array( 'labels' => array( 'name' => 'Consultor', 'add_new' => 'Adicionar' ), 'supports' => array('title', 'editor'), 'public' => true, 'show_ui' => true, )); // Contato register_post_type('contato', array( 'labels' => array( 'name' => 'Contato', 'add_new' => 'Adicionar' ), 'supports' => array('title'), 'public' => false, 'show_ui' => true, )); // Interesse register_post_type('interesse', array( 'labels' => array( 'name' => 'Interesse', 'add_new' => 'Adicionar' ), 'supports' => array('title'), 'public' => false, 'show_ui' => true, )); // Cursos register_post_type('cursos', array( 'labels' => array( 'name' => 'Cursos', 'add_new' => 'Adicionar' ), 'supports' => array('title', 'editor', 'thumbnail'), 'public' => true, 'show_ui' => true )); register_taxonomy('categoria-cursos', 'cursos', array( 'hierarchical' => true, 'label' => 'Categorias' )); } // Add languages function my_theme_setup(){ $path = get_template_directory() . '/languages'; $result = load_theme_textdomain('horos', $path ); if ( $result ) return; $locale = apply_filters( 'theme_locale', get_locale(), 'horos' ); die( "Could not find $path/$locale.mo." ); } require_once get_template_directory() . '/bootstrap_pagenavi.php';