string_to_boolean_array_values( shortcode_atts( array( 'enabled' => null, 'post_ids' => null, 'show_title' => null, 'title' => null, 'show_subtitle' => null, 'subtitle' => null, 'cols_per_row' => null, 'show_check_all_button' => null, 'button_text' => null, 'button_link' => null, ), $args ) ); } public function string_to_boolean_array_values( $args ) { return array_map( function( $value ) { if( $value == "false" ){ $value = false; } elseif( $value == "true" ) { $value = true; } return $value; }, $args ); } public function section_services( $args, $content = null ) { $args = $this->get_parsed_args( $args ); sections::render_services( $args['enabled'], $args['post_ids'], $args['show_title'], $args['title'], $args['show_subtitle'], $args['subtitle'], $args['cols_per_row'], $args['show_check_all_button'], $args['button_text'], $args['button_link'] ); } public function section_pricing( $args, $content = null ) { $args = $this->get_parsed_args( $args ); sections::render_pricing( $args['enabled'], $args['post_ids'], $args['show_title'], $args['title'], $args['show_subtitle'], $args['subtitle'], $args['cols_per_row'] ); } public function section_projects( $args, $content = null ) { $args = $this->get_parsed_args( $args ); sections::render_projects( $args['enabled'], $args['post_ids'], $args['show_title'], $args['title'], $args['show_subtitle'], $args['subtitle'], $args['cols_per_row'], $args['show_check_all_button'], $args['button_text'], $args['button_link'] ); } public function section_testimonials( $args, $content = null ) { $args = $this->get_parsed_args( $args ); sections::render_testimonials( $args['enabled'], $args['post_ids'], $args['show_title'], $args['title'], $args['show_subtitle'], $args['subtitle'], $args['cols_per_row'], $args['show_check_all_button'], $args['button_text'], $args['button_link'] ); } public function section_team( $args, $content = null ) { $args = $this->get_parsed_args( $args ); sections::render_team( $args['enabled'], $args['post_ids'], $args['show_title'], $args['title'], $args['show_subtitle'], $args['subtitle'], $args['cols_per_row'], $args['show_check_all_button'], $args['button_text'], $args['button_link'] ); } public function section_clients( $args, $content = null ) { $args = $this->get_parsed_args( $args ); sections::render_clients( $args['enabled'], $args['post_ids'], $args['show_title'], $args['title'], $args['show_subtitle'], $args['subtitle'], $args['cols_per_row'], $args['show_check_all_button'], $args['button_text'], $args['button_link'] ); } public function section_features( $args, $content = null ) { $args = $this->get_parsed_args( $args ); sections::render_features( $args['enabled'], $args['post_ids'], $args['show_title'], $args['title'], $args['show_subtitle'], $args['subtitle'], $args['cols_per_row'], $args['show_check_all_button'], $args['button_text'], $args['button_link'] ); } public function section_faqs( $args, $content = null ) { $args = $this->get_parsed_args( $args ); sections::render_faqs( $args['enabled'], $args['post_ids'], $args['show_title'], $args['title'], $args['show_subtitle'], $args['subtitle'], $args['cols_per_row'], $args['show_check_all_button'], $args['button_text'], $args['button_link'] ); } public function section_news( $args, $content = null ) { $args = $this->get_parsed_args( $args ); sections::render_news( $args['enabled'], $args['post_ids'], $args['show_title'], $args['title'], $args['show_subtitle'], $args['subtitle'], $args['cols_per_row'], $args['show_check_all_button'], $args['button_text'], $args['button_link'] ); } public function section_skills( $args, $content = null ) { $args = shortcode_atts( array( 'enabled' => true, 'post_ids' => null, 'cols_per_row' => null, ), $args ); sections::render_skills( $args['enabled'], $args['post_ids'], $args['cols_per_row'] ); } public function section_stats( $args, $content = null ) { $args = shortcode_atts( array( 'enabled' => true, 'post_ids' => null, 'cols_per_row' => null, ), $args ); sections::render_stats( $args['enabled'], $args['post_ids'], $args['cols_per_row'] ); } public function section_bb_cta( $args, $content = null ) { $args = shortcode_atts( array( 'enabled' => true, 'show_button' => null, 'text' => null, 'button_text' => null, 'button_link' => null, ), $args ); sections::render_bb_cta( $args['enabled'], $args['show_button'], $args['text'], $args['button_text'], $args['button_link'] ); } public function section_rb_cta( $args, $content = null ) { $args = shortcode_atts( array( 'enabled' => true, 'show_button' => null, 'text' => null, 'button_text' => null, 'button_link' => null, ), $args ); sections::render_rb_cta( $args['enabled'], $args['show_button'], $args['text'], $args['button_text'], $args['button_link'] ); } public function section_subscribe( $args, $content = null ) { $args = shortcode_atts( array( 'enabled' => true, 'text' => null, 'button_text' => null, 'button_link' => null, ), $args ); sections::render_subscribe( $args['enabled'], $args['text'], $args['button_text'], $args['button_link'] ); } public function section_quote( $args, $content = null ) { echo do_shortcode( $content ); if( ! is_page_template( 'default' ) ) : ?>
'', ), $args ); ?>
'col-md-3' ), $args ); ?>
'col-md-12' ), $args ); ?>
'col-md-6' ), $args ); ?>
'col-md-4' ), $args ); ?>
'col-md-8' ), $args ); ?>
'col-md-3' ), $args ); ?>
'col-md-9' ), $args ); ?>
'col-md-2' ), $args ); ?>
'col-md-3' ), $args ); ?>
'' ), $args ); ?>

'' ), $args ); ?>