Beispiel #1
0
 function axiom_post_settings_theme_setup2()
 {
     axiom_add_theme_inheritance(array('archive' => array('stream_template' => 'archive', 'single_template' => '', 'taxonomy' => array(), 'taxonomy_tags' => array(), 'post_type' => array(), 'override' => 'page')));
     axiom_add_theme_inheritance(array('search' => array('stream_template' => 'search', 'single_template' => '', 'taxonomy' => array(), 'taxonomy_tags' => array(), 'post_type' => array(), 'override' => 'page')));
     axiom_add_theme_inheritance(array('error404' => array('stream_template' => '404', 'single_template' => '', 'taxonomy' => array(), 'taxonomy_tags' => array(), 'post_type' => array(), 'override' => 'page')));
     axiom_add_theme_inheritance(array('page' => array('stream_template' => '', 'single_template' => 'page', 'taxonomy' => array(), 'taxonomy_tags' => array(), 'post_type' => array('page'), 'override' => 'page')));
     axiom_add_theme_inheritance(array('post' => array('stream_template' => 'blog', 'single_template' => 'single', 'taxonomy' => array('category'), 'taxonomy_tags' => array('post_tag'), 'post_type' => array('post'), 'override' => 'post')));
 }
Beispiel #2
0
 function axiom_woocommerce_settings_theme_setup2()
 {
     if (axiom_exists_woocommerce()) {
         axiom_add_theme_inheritance(array('woocommerce' => array('stream_template' => '', 'single_template' => '', 'taxonomy' => array('product_cat'), 'taxonomy_tags' => array('product_tag'), 'post_type' => array('product'), 'override' => 'post')));
         axiom_add_theme_inheritance(array('woocommerce_cart' => array('stream_template' => '', 'single_template' => '', 'taxonomy' => '', 'taxonomy_tags' => '', 'post_type' => '', 'override' => 'page')));
         axiom_add_theme_inheritance(array('woocommerce_checkout' => array('stream_template' => '', 'single_template' => '', 'taxonomy' => '', 'taxonomy_tags' => '', 'post_type' => '', 'override' => 'page')));
         axiom_add_theme_inheritance(array('woocommerce_account' => array('stream_template' => '', 'single_template' => '', 'taxonomy' => '', 'taxonomy_tags' => '', 'post_type' => '', 'override' => 'page')));
     }
 }
Beispiel #3
0
 function axiom_attachment_settings_theme_setup2()
 {
     axiom_add_theme_inheritance(array('attachment' => array('stream_template' => '', 'single_template' => 'attachment', 'taxonomy' => array(), 'taxonomy_tags' => array(), 'post_type' => array('attachment'), 'override' => 'post')));
 }
Beispiel #4
0
 function axiom_buddypress_settings_theme_setup2()
 {
     if (axiom_exists_buddypress()) {
         axiom_add_theme_inheritance(array('bbpress' => array('stream_template' => 'buddypress', 'single_template' => '', 'taxonomy' => array(), 'taxonomy_tags' => array(), 'post_type' => array(), 'override' => 'page')));
     }
 }
Beispiel #5
0
 function axiom_tribe_events_settings_theme_setup2()
 {
     if (axiom_exists_tribe_events()) {
         axiom_add_theme_inheritance(array('tribe_events' => array('stream_template' => 'tribe-events/default-template', 'single_template' => '', 'taxonomy' => array(TribeEvents::TAXONOMY), 'taxonomy_tags' => array(), 'post_type' => array(TribeEvents::POSTTYPE, TribeEvents::VENUE_POST_TYPE, TribeEvents::ORGANIZER_POST_TYPE), 'override' => 'post')));
     }
 }
Beispiel #6
0
 function axiom_team_settings_theme_setup2()
 {
     // Add post type 'team' and taxonomy 'team_group' into theme inheritance list
     axiom_add_theme_inheritance(array('team' => array('stream_template' => 'team', 'single_template' => 'single-team', 'taxonomy' => array('team_group'), 'taxonomy_tags' => array(), 'post_type' => array('team'), 'override' => 'post')));
 }