File: /www/wwwroot/aiwellbore.com/wp-content/themes/study-education-pro/customfrontend.php
<!-- Team section end-->
<!-- sections sort order -->
<?php
$resource_section_order = get_theme_mod('resource_section_order');
$welcome_section_order = get_theme_mod('welcome_section_order');
$cource_section_order = get_theme_mod('cource_section_order');
$specialize_section_order = get_theme_mod('specialize_section_order');
$educationwelcome_section_order = get_theme_mod('educationwelcome_section_order');
$news_section_order = get_theme_mod('news_section_order');
$testimonial_section_order = get_theme_mod('testimonial_section_order');
$galleryslider_section_order = get_theme_mod('galleryslider_section_order');
$counter_skill_section_order = get_theme_mod('counter_skill_section_order');
$team_section_order = get_theme_mod('team_section_order');
$video_section_order = get_theme_mod('video_section_order');
?>
<?php
$custom_order = array(
'resource_order' => esc_attr($resource_section_order),
'welcome_order' => esc_attr($welcome_section_order),
'counter_skill_order' => esc_attr($counter_skill_section_order),
'cource_order' => esc_attr($cource_section_order),
'specialize_section_order' => esc_attr($specialize_section_order),
'educationwelcome_order' => esc_attr($educationwelcome_section_order),
'testimonial_order' => esc_attr($testimonial_section_order),
'news_order' => esc_attr($news_section_order),
'galleryslider_order' => esc_attr($galleryslider_section_order),
'team_section_order' => esc_attr($team_section_order),
'video_section_order' => esc_attr($video_section_order),
);
asort($custom_order);
if (!empty($custom_order)) {
foreach ($custom_order as $key => $key_value) {
if ($key == 'team_section_order') {
//<!-- resource section start-->
$team_section_show_hide = get_theme_mod('team_section_show_hide', '0');
if (($team_section_show_hide == 0) || ($team_section_show_hide == '')) {
$team_title_cv = get_theme_mod('team_section_heading');
$team_section_id = get_theme_mod('team_section_id');
$team_css_class = get_theme_mod('team_section_css_class');
$team_bg_color = get_theme_mod('bg_team_color');
$team_bg_image = get_theme_mod('team_bg_image');
$team_content = get_theme_mod('team_section_content');
$team_section_topsmall_title = get_theme_mod('team_section_topsmall_title');
frontendcv_sections_get($team_title_cv, $team_section_id, $team_css_class, $team_bg_color, $team_bg_image, $team_content, $team_section_topsmall_title);
}
//<!-- resource section end-->
}
if ($key == 'resource_order') {
//<!-- resource section start-->
$resources_section_show_hide = get_theme_mod('resources_section_show_hide', '0');
if (($resources_section_show_hide == 0) || ($resources_section_show_hide == '')) {
$resource_title_cv = get_theme_mod('resources_section_heading');
$resource_section_id = get_theme_mod('resources_section_id');
$resource_css_class = get_theme_mod('resources_section_css_class');
$resource_bg_color = get_theme_mod('bg_resources_color');
$resource_bg_image = get_theme_mod('resources_bg_image');
$resource_content = get_theme_mod('resources_section_content');
frontendcv_sections_get($resource_title_cv, $resource_section_id, $resource_css_class, $resource_bg_color, $resource_bg_image, $resource_content);
}
//<!-- resource section end-->
}
if ($key == 'welcome_order') {
// welcome section start
$welcome_section_show_hide = get_theme_mod('welcome_section_show_hide', '0');
if (($welcome_section_show_hide == 0) || ($welcome_section_show_hide == '')) {
$welcome_title_cv = get_theme_mod('welcome_section_heading');
$welcome_section_id = get_theme_mod('welcome_section_id');
$welcome_css_class = get_theme_mod('welcome_section_css_class');
$welcome_bg_color = get_theme_mod('bg_welcome_color');
$welcome_bg_image = get_theme_mod('welcome_bg_image');
$welcome_content = get_theme_mod('welcome_section_content');
$welcome_section_top_small_heading = get_theme_mod('welcome_section_top_small_heading');
frontendcv_sections_get($welcome_title_cv, $welcome_section_id, $welcome_css_class, $welcome_bg_color, $welcome_bg_image, $welcome_content, $welcome_section_top_small_heading);
}
// welcome section end
}
if ($key == 'counter_skill_order') {
//<!-- resource section start-->
$counter_skill_section_show_hide = get_theme_mod('counter_skill_section_show_hide');
if (empty($counter_skill_section_show_hide)) {
$counter_skill_title_cv = get_theme_mod('counter_skill_section_heading');
$counter_skill_section_id = get_theme_mod('counter_skill_section_id');
$counter_skill_css_class = get_theme_mod('counter_skill_section_css_class');
$counter_skill_bg_color = get_theme_mod('bg_counter_skill_color');
$counter_skill_bg_image = get_theme_mod('counter_skill_bg_image');
$counter_skill_content = get_theme_mod('counter_skill_section_content');
$counter_skill_section_top_small_heading = get_theme_mod('counter_skill_section_top_small_heading');
frontendcv_sections_get($counter_skill_title_cv, $counter_skill_section_id, $counter_skill_css_class, $counter_skill_bg_color, $counter_skill_bg_image, $counter_skill_content, $counter_skill_section_top_small_heading);
}
//<!-- resource section end-->
}
if ($key == 'cource_order') {
// cource section start
$cource_section_show_hide = get_theme_mod('cource_section_show_hide', '0');
if (($cource_section_show_hide == 0) || ($cource_section_show_hide == '')) {
$cource_title_cv = get_theme_mod('cource_section_heading');
$cource_section_id = get_theme_mod('cource_section_id');
$cource_css_class = get_theme_mod('cource_section_css_class');
$cource_bg_color = get_theme_mod('bg_cource_color');
$cource_bg_image = get_theme_mod('cource_bg_image');
$cource_content = get_theme_mod('cource_section_content');
$cource_section_top_small_heading = get_theme_mod('cource_section_top_small_heading');
frontendcv_sections_get($cource_title_cv, $cource_section_id, $cource_css_class, $cource_bg_color, $cource_bg_image, $cource_content, $cource_section_top_small_heading);
}
// cource section start
}
if ($key == 'specialize_section_order') {
//Special choose_us section start
$choose_us_section_show_hide = get_theme_mod('choose_us_section_show_hide', '0');
if (($choose_us_section_show_hide == 0) || ($choose_us_section_show_hide == '')) {
$choose_us_title_cv = get_theme_mod('choose_us_section_heading');
$choose_us_section_id = get_theme_mod('choose_us_section_id');
$choose_us_css_class = get_theme_mod('choose_us_section_css_class');
$choose_us_bg_color = get_theme_mod('bg_choose_us_color');
$choose_us_bg_image = get_theme_mod('choose_us_bg_image');
$choose_us_content = get_theme_mod('choose_us_section_content');
$choose_us_section_top_small_heading = get_theme_mod('choose_us_section_top_small_heading');
frontendcv_sections_get($choose_us_title_cv, $choose_us_section_id, $choose_us_css_class, $choose_us_bg_color, $choose_us_bg_image, $choose_us_content, $choose_us_section_top_small_heading);
}
//<!-- Special choose_us section start-->
}
if ($key == 'video_section_order') {
//Special choose_us section start
$video_section_show_hide = get_theme_mod('video_section_show_hide', '0');
if (($video_section_show_hide == 0) || ($video_section_show_hide == '')) {
$video_title_cv = get_theme_mod('video_section_heading');
$video_section_id = get_theme_mod('video_section_id');
$video_css_class = get_theme_mod('video_section_css_class');
$video_bg_color = get_theme_mod('bg_video_color');
$video_bg_image = get_theme_mod('video_bg_image');
$video_content = get_theme_mod('video_section_content');
$video_section_top_small_heading = get_theme_mod('video_section_top_small_heading');
frontendcv_sections_get($video_title_cv, $video_section_id, $video_css_class, $video_bg_color, $video_bg_image, $video_content, $video_section_top_small_heading);
}
//<!-- Special choose_us section start-->
}
if ($key == 'educationwelcome_order') {
// educationwelcome section start
$educationwelcome_section_show_hide = get_theme_mod('educationwelcome_section_show_hide', '0');
if (($educationwelcome_section_show_hide == 0) || ($educationwelcome_section_show_hide == '')) {
$educationwelcome_title_cv = get_theme_mod('educationwelcome_section_heading');
$educationwelcome_section_id = get_theme_mod('educationwelcome_section_id');
$educationwelcome_css_class = get_theme_mod('educationwelcome_section_css_class');
$educationwelcome_bg_color = get_theme_mod('bg_educationwelcome_color');
$educationwelcome_bg_image = get_theme_mod('educationwelcome_bg_image');
$educationwelcome_content = get_theme_mod('educationwelcome_section_content');
frontendcv_sections_get($educationwelcome_title_cv, $educationwelcome_section_id, $educationwelcome_css_class, $educationwelcome_bg_color, $educationwelcome_bg_image, $educationwelcome_content);
}
//<!-- educationwelcome section start-->
}
if ($key == 'news_order') {
// Latest news section start-->
$news_section_show_hide = get_theme_mod('news_section_show_hide', '0');
if (($news_section_show_hide == 0) || ($news_section_show_hide == '')) {
$news_title_cv = get_theme_mod('news_section_heading');
$news_section_id = get_theme_mod('news_section_id');
$news_css_class = get_theme_mod('news_section_css_class');
$news_bg_color = get_theme_mod('bg_news_color');
$news_bg_image = get_theme_mod('news_bg_image');
$news_content = get_theme_mod('news_section_content');
$news_section_top_small_heading = get_theme_mod('news_section_top_small_heading');
frontendcv_sections_get($news_title_cv, $news_section_id, $news_css_class, $news_bg_color, $news_bg_image, $news_content, $news_section_top_small_heading);
}
// Latest news section start-->
}
if ($key == 'testimonial_order') {
//Client Testimonial section start-->
$testimonial_section_show_hide = get_theme_mod('testimonial_section_show_hide', '0');
if (($testimonial_section_show_hide == 0) || ($testimonial_section_show_hide == '')) {
$testimonial_title_cv = get_theme_mod('testimonial_section_heading');
$testimonial_section_id = get_theme_mod('testimonial_section_id');
$testimonial_css_class = get_theme_mod('testimonial_section_css_class');
$testimonial_bg_color = get_theme_mod('bg_testimonial_color');
$testimonial_bg_image = get_theme_mod('testimonial_bg_image');
$testimonial_content = get_theme_mod('testimonial_section_content');
frontendcv_sections_get($testimonial_title_cv, $testimonial_section_id, $testimonial_css_class, $testimonial_bg_color, $testimonial_bg_image, $testimonial_content);
}
//Client Testimonial section end-->
}
if ($key == 'galleryslider_order') {
//<!-- galleryslider section start-->
$galleryslider_section_show_hide = get_theme_mod('galleryslider_section_show_hide', '0');
if (($galleryslider_section_show_hide == 0) || ($galleryslider_section_show_hide == '')) {
$galleryslider_title_cv = get_theme_mod('galleryslider_section_heading');
$galleryslider_section_id = get_theme_mod('galleryslider_section_id');
$galleryslider_css_class = get_theme_mod('galleryslider_section_css_class');
$galleryslider_bg_color = get_theme_mod('bg_galleryslider_color');
$galleryslider_bg_image = get_theme_mod('galleryslider_bg_image');
$galleryslider_content = get_theme_mod('galleryslider_section_content');
frontendcv_sections_get($galleryslider_title_cv, $galleryslider_section_id, $galleryslider_css_class, $galleryslider_bg_color, $galleryslider_bg_image, $galleryslider_content);
}
//<!-- galleryslider section end-->
}
}
}
?>
<!-- sections sort order end-->