post_content; if ( ! empty( $post_obj->post_excerpt ) ) { $source_content = $post_obj->post_excerpt; } $source_content = preg_replace( '`\[[^\]]*\]`', '', $source_content ); $trimmed_content = wp_trim_words( $source_content, $length, '…' ); return $trimmed_content; } endif; if ( ! function_exists( 'busicare_button_title' ) ) : /** * Display Button on Archive/Blog Page */ function busicare_button_title() { if(get_theme_mod('busicare_enable_blog_read_button',true)==true): $blog_button = get_theme_mod('busicare_blog_button_title','Read More'); if ( empty( $blog_button ) ){ return; } if (is_rtl()) { echo ''.esc_html( $blog_button ).''; } else{ echo ''.esc_html( $blog_button ).''; } endif; } endif; function busicare_get_author_name( $post ){ $user_id = $post->post_author; if( empty( $user_id ) ){ return; } $user_info = get_userdata( $user_id ); echo esc_html( $user_info->display_name ); } function busicare_footer_section_hook() { ?>
array( 'img-fluid comment-img') )); ?>
$depth, 'max_depth' => $args['max_depth']))) ?>
'; if (!is_rtl()) { the_posts_pagination(array( 'prev_text' => __('', 'busicare'), 'next_text' => __('', 'busicare'), )); } else { the_posts_pagination(array( 'prev_text' => __('', 'busicare'), 'next_text' => __('', 'busicare'), )); } echo ''; } endif; add_action( 'busicare_post_navigation', 'busicare_custom_navigation' ); if ( ! function_exists( 'busicarep_activate' ) ): //Container Setting For Page function busicare_container() { $container_width= ""; return $container_width; } //Container Setting For Blog Post function busicare_blog_post_container() { $container_width= ""; return $container_width; } //Conainer Setting For Single Post function busicare_single_post_container() { $container_width= ""; return $container_width; } //Preloader feature section function function busicare_preloader_feaure_section_fn(){ if(get_theme_mod('preloader_enable',false)==true):?>