Home › Forums › Theone WordPress Theme › HELP PLEASE
- This topic has 6 replies, 3 voices, and was last updated 9 years, 8 months ago by
SeaTheme.
Viewing 7 posts - 1 through 7 (of 7 total)
-
AuthorPosts
-
September 27, 2016 at 10:01 am #11165
Hello, how can i change http://www.example/team in http://www.example/events?
September 27, 2016 at 12:09 pm #11166Hi, could you give more tips? I don’t understand your question.
September 27, 2016 at 6:26 pm #11167This reply has been marked as private.September 27, 2016 at 6:57 pm #11168This reply has been marked as private.September 28, 2016 at 10:24 am #11169This reply has been marked as private.September 28, 2016 at 12:21 pm #11171Please try to change the ‘team’ as ‘events’ in this 12 files:
fw: maybe you need to re-add the events posts/wp-content/themes/theone/functions/interface/interface-condition.php: 15 $sidebar = false; 16 } 17: }else if(is_page() || is_singular('team')){ 18 $sidebar = ux_get_post_meta(get_the_ID(), 'theme_meta_sidebar'); 19 $enable_team_template = ux_get_post_meta(get_the_ID(), 'theme_meta_enable_team_template'); .. 52 $switch = false; 53 54: if(is_singular('post') || is_page() || is_singular('team')){ 55 $pb_switch = get_post_meta(get_the_ID(), 'ux-pb-switch', true); 56 .. 72 $switch = false; 73 74: if(is_singular('team')){ 75 $team_template = ux_get_post_meta(get_the_ID(), 'theme_meta_enable_team_template'); 76 /wp-content/themes/theone/functions/interface/interface-functions.php: 506 $output = 'span8'; 507 508: if(is_singular('post') || is_page() || is_singular('team')){ 509 if(!ux_enable_team_template()){ 510 $pb_switch = get_post_meta(get_the_ID(), 'ux-pb-switch', true); /wp-content/themes/theone/functions/interface/interface-template.php: 155 156 //** post type for clients, faqs, jobs, testimonials 157: if(!is_singular('post') && !is_singular('team')){ 158 ux_get_template_part('single/type', get_post_type()); 159 } 160 } 161 162: if(is_singular('team') && ux_enable_team_template()){ 163 ux_get_template_part('single/type', get_post_type()); 164 } /wp-content/themes/theone/functions/pagebuilder/modules/team.php: 22 $get_team = get_posts(array( 23 'posts_per_page' => $per_page , 24: 'post_type' => 'team', 25 'team_cat' => $category_slug, 26 'orderby' => $orderby, .. 45 function ux_pb_module_load_team($itemid, $paged){ 46 $module_post = ux_pb_item_postid($itemid); 47: $moduleid = 'team'; 48 49 if($module_post){ .. 81 'orderby' => $orderby, 82 'order' => $order, 83: 'post_type' => 'team' 84 )); 85 .. 172 //team config fields 173 function ux_pb_module_team_fields($module_fields){ 174: $module_fields['team'] = array( 175: 'id' => 'team', 176 'animation' => true, 177 'title' => __('Team', 'ux'), /wp-content/themes/theone/functions/pagebuilder/pagebuilder-interface.php: 9 $button_text = $get_switch == 'classic' ? $text_pagebuilder : $text_classic; 10 11: if($post->post_type == 'post' || $post->post_type == 'page' || $post->post_type == 'team'){ ?> 12 <div id="ux-pb-switch"> 13 <input type="button" class="switch-btn button <?php echo $button_style; ?> button-large" value="<?php echo $button_text; ?>" /> /wp-content/themes/theone/functions/pagebuilder/pagebuilder-modules.php: 28 'slider' => __('Slider','ux'), 29 'tabs' => __('Tabs','ux'), 30: 'team' => __('Team','ux'), 31 'testimonials' => __('Testimonials','ux'), 32 'text-block' => __('Text Block','ux'), /wp-content/themes/theone/functions/pagebuilder/pagebuilder-theme-ajax.php: 17 break; 18 19: case 'team': 20 ux_pb_module_load_team($module_post, $paged); 21 break; /wp-content/themes/theone/functions/theme/post/post-meta.php: 722 ) 723 ), 724: 'team' => array( 725 array( 726 'id' => 'team-meta', /wp-content/themes/theone/functions/theme/theme-import.php: 68 case 'question_cat': $post_type = 'faqs'; break; 69 case 'job_cat': $post_type = 'jobs'; break; 70: case 'team_cat': $post_type = 'team'; break; 71 case 'testimonial_cat': $post_type = 'testimonials'; break; 72 } .. 384 $get_post = get_posts(array( 385 'posts_per_page' => -1, 386: 'post_type' => array('post', 'page', 'team', 'clients', 'testimonials', 'jobs', 'faqs') 387 )); 388 /wp-content/themes/theone/functions/theme/theme-register.php: 171 function ux_theme_register_post_type(){ 172 $ux_theme_register_post_type = array( 173: 'team' => array( 174 'name' => __('Team','ux'), 175 'meta' => true, /wp-content/themes/theone/template/single/content-after.php: 27 }else{ 28 29: if(is_singular('team') && $enable_team_template){ 30 echo '</div><!--container-->'; 31 } /wp-content/themes/theone/template/single/content-before.php: 27 }else{ 28 29: if(is_singular('team') && $enable_team_template){ 30 echo '<div class="container">'; 31 }September 28, 2016 at 12:22 pm #11172This reply has been marked as private. -
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
