post_content ) { ?>
>
4,
'columns' => 4,
'title' => abacus_sanitize_text( get_theme_mod( 'featured_title', $abacus_default_theme_options['featured_title'] ) ),
'description' => abacus_sanitize_text( get_theme_mod( 'featured_title_description', $abacus_default_theme_options['featured_title_description'] ) ),
)
);
$featured_products = do_shortcode( '[featured_products per_page="' . intval( $feature_args['limit'] ) . '" columns="' . intval( $feature_args['columns'] ) . '"]' );
if ( strpos( $featured_products, 'class="products"' ) !== false ) {
?>
4,
'columns' => 4,
'title' => abacus_sanitize_text( get_theme_mod( 'popular_title', $abacus_default_theme_options['popular_title'] ) ),
'description' => abacus_sanitize_text( get_theme_mod( 'popular_title_description', $abacus_default_theme_options['popular_title_description'] ) ),
)
);
$pop_products = do_shortcode( '[top_rated_products per_page="' . intval( $pop_args['limit'] ) . '" columns="' . intval( $pop_args['columns'] ) . '"]' );
if ( strpos( $pop_products, 'class="products"' ) !== false ) {
?>
'jetpack-testimonial',
'orderby' => 'rand',
'posts_per_page' => 2,
'no_found_rows' => true,
) );
?>
have_posts() ) : ?>
have_posts() ) : $testimonials->the_post();
get_template_part( 'template-parts/content', 'testimonial' );
endwhile;
wp_reset_postdata();
?>