get_bloginfo('name') ? get_bloginfo('name') : esc_html__('XShop — Foundation', 'xshop'), 'text' => get_bloginfo('description') ? get_bloginfo('description') : esc_html__('A polished, RTL-ready WooCommerce foundation. Your shop content will appear here.', 'xshop'), 'cta_label' => esc_html__('Browse Shop', 'xshop'), 'cta_url' => function_exists('wc_get_page_permalink') ? wc_get_page_permalink('shop') : home_url('/'), ]); get_template_part('template-parts/components/hero', null, $hero); ?> 'category', 'hide_empty' => true, 'number' => 6]); if (!is_wp_error($cats) && !empty($cats)): ?>
esc_html__('Categories', 'xshop'), 'tag' => 'h2']); ?>
6, 'status' => 'publish', 'orderby' => 'date', 'order' => 'DESC', 'return' => 'ids']); if (!empty($products)): ?>
esc_html__('Latest Products', 'xshop'), 'link_label' => esc_html__('View shop', 'xshop'), 'link_url' => function_exists('wc_get_page_permalink') ? wc_get_page_permalink('shop') : home_url('/')]); ?>
esc_html__('Promotional Banner Foundation', 'xshop'), 'text' => esc_html__('Replace with xshop-core Banners (position: home_hero) in later milestones.', 'xshop'), 'cta_label' => esc_html__('Learn more', 'xshop'), 'cta_url' => home_url('/'), ]); ?> 'post','posts_per_page'=>6,'no_found_rows'=>true,'ignore_sticky_posts'=>true]); if ($latest->have_posts()): ?>
esc_html__('Latest Posts', 'xshop'), 'link_label' => esc_html__('View blog', 'xshop'), 'link_url' => get_permalink(get_option('page_for_posts')) ?: home_url('/')]); ?>
have_posts()): $latest->the_post(); get_template_part('template-parts/components/post-card'); endwhile; wp_reset_postdata(); ?>
esc_html__('No posts yet','xshop'),'text'=>esc_html__('Publish posts to see them here.','xshop')]); ?>