">

id="comment-">
$leave_reply,'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
comment_approved == '0' ) : ?>
ID}\" class=\"more-link\">" .__('Read More','arilewp')."

"; } add_filter( 'the_content_more_link', 'arilewp_read_more_button_class' ); function arilewp_post_thumbnail() { if(has_post_thumbnail()){ echo '
'; the_post_thumbnail( '', array( 'class'=>'img-fluid' ) ); echo '
'; } } // theme page header title functions function arilewp_theme_page_header_title(){ if( is_archive() ) { echo '

'; if ( is_day() ) : /* translators: %1$s %2$s: day */ printf( esc_html__( '%1$s %2$s', 'arilewp' ), esc_html__('Archives','arilewp'), get_the_date() ); elseif ( is_month() ) : /* translators: %1$s %2$s: month */ printf( esc_html__( '%1$s %2$s', 'arilewp' ), esc_html__('Archives','arilewp'), get_the_date( 'F Y' ) ); elseif ( is_year() ) : /* translators: %1$s %2$s: year */ printf( esc_html__( '%1$s %2$s', 'arilewp' ), esc_html__('Archives','arilewp'), get_the_date( 'Y' ) ); elseif( is_author() ): /* translators: %1$s %2$s: author */ printf( esc_html__( '%1$s %2$s', 'arilewp' ), esc_html__('All posts by','arilewp'), get_the_author() ); elseif( is_category() ): /* translators: %1$s %2$s: category */ printf( esc_html__( '%1$s %2$s', 'arilewp' ), esc_html__('Category','arilewp'), single_cat_title( '', false ) ); elseif( is_tag() ): /* translators: %1$s %2$s: tag */ printf( esc_html__( '%1$s %2$s', 'arilewp' ), esc_html__('Tag','arilewp'), single_tag_title( '', false ) ); elseif( class_exists( 'WooCommerce' ) && is_shop() ): /* translators: %1$s %2$s: WooCommerce */ printf( esc_html__( '%1$s %2$s', 'arilewp' ), esc_html__('Shop','arilewp'), single_tag_title( '', false )); elseif( is_archive() ): the_archive_title( '

', '

' ); endif; echo '
'; } elseif( is_404() ) { echo '

'; /* translators: %1$s: 404 */ printf( esc_html__( '%1$s', 'arilewp' ) , esc_html__('404','arilewp') ); echo '

'; } elseif( is_search() ) { echo '

'; /* translators: %1$s %2$s: search */ printf( esc_html__( '%1$s %2$s', 'arilewp' ), esc_html__('Search results for','arilewp'), get_search_query() ); echo '

'; } else { echo '

'.esc_html( get_the_title() ).'

'; } } // theme page header breadcrumbs functions if( !function_exists('arilewp_page_header_breadcrumbs') ): function arilewp_page_header_breadcrumbs() { global $post; $home_Link = home_url(); echo ''; } endif; if ( ! function_exists( 'arilewp_sanitize_select' ) ) : /** * Sanitize select, radio. * */ function arilewp_sanitize_select( $input, $setting ) { // Get list of choices from the control associated with the setting. $choices = $setting->manager->get_control( $setting->id )->choices; // If the input is a valid key, return it; otherwise, return the default. return ( array_key_exists( $input, $choices ) ? $input : $setting->default ); } endif; function arilewp_sanitize_text( $input ) { return wp_kses_post( force_balance_tags( $input ) ); } function arilewp_custom_customizer_options() { $arilewp_testomonial_background_image = get_theme_mod('arilewp_testomonial_background_image'); $arilewp_page_header_background_image = get_theme_mod('arilewp_page_header_background_image'); $arilewp_sticky_bar_logo = get_theme_mod('arilewp_sticky_bar_logo'); ?>