$about_id ) );
if($about->have_posts()) :
while($about->have_posts()) : $about->the_post();
$page_section_bg = get_field(‘page_section_bg’);
$custom_title = get_field(‘custom_header_title’);
?>
‘);
else
the_title(‘
‘, ‘
‘);
?>
‘post_type’ => ‘page’,
‘post_status’ => ‘publish’,
‘order’ => ‘ASC’,
‘orderby’ => ‘date’,
‘posts_per_page’ => 4
);
$about_sub = new WP_Query( $args );
if($about_sub->have_posts()) :
while($about_sub->have_posts()) : $about_sub->the_post();
$page_icon = get_field(‘page_icon’);
$percentage = get_field(‘pie_chart_percentage’);
?>
post_title == ‘Why Team’){ _e(‘about/’); }elseif($post->post_title == ‘Visiting’){ _e(‘guests/’); }else{ _e(get_permalink()); } ?>”>post_title); ?>
post_title == ‘Why Team’){
//_e(apply_filters(‘the_content’,wp_trim_words($post->post_content, -10,’
Read more »‘)));
the_content();
_e(‘
‘);
}elseif($post->post_title == ‘Visiting’){
the_content();
_e(‘
‘);
}else{
_e(apply_filters(‘the_content’, wp_trim_words($post->post_content, 20, ‘
Read more »‘)));
}
?>