'; else return bloginfo('name'); } function anza_split_values($value,$split_txt,$return_level){ $splited_value = split($split_txt,$value); return $splited_value[$return_level]; } function anza_about_us_media($type){ global $redux_demo; if($type==1) return anza_post_attachment_image_by_class($redux_demo['about_image'],'anza_about_img'); else return $redux_demo['about_video']; } function anza_services(){ global $post; $args = array( 'post_type' => 'services', 'posts_per_page' => -1, 'order' =>'ASC', ); $output = ''; $services_query = new WP_Query($args); $dealy_animation = 0; if( $services_query->have_posts() ) : while ($services_query->have_posts()) : $services_query->the_post(); $dealy_animation += .2; $cls_icon = wp_kses_post(get_post_meta( $post->ID, 'ct_service_icon_style', true )); $output .= '
'.wp_kses_post(get_the_content()).'
'.anza_post_meta_by_key($id_cta,'ct_cta_desc').'
'; if(anza_post_meta_by_key($id_cta,'ct_cta_button_text_1')) $output_cta .= ''.anza_post_meta_by_key($id_cta,'ct_cta_button_text_1').''; if(anza_post_meta_by_key($id_cta,'ct_cta_button_text_2')) $output_cta .= ''.anza_post_meta_by_key($id_cta,'ct_cta_button_text_2').''; $output_cta .= ''.wp_kses_post($content).'
$'.esc_attr($price).' '.wp_kses_post($unit).'
'.wp_kses_post(anza_post_content($value)).'
'.wp_kses_post(anza_post_content($service_id)).'
', $comment_content); $output_comments ='
'.$comment_content.' '.$comment_edit_link.' '.$reply_link.'
'; if ( $comment->comment_approved == '0' ) : $output_comments .=''.esc_html__( 'Your comment is awaiting moderation.', 'anza-lite' ).''; endif; $output_comments .='