chore: complete M1.1 runtime QA and release packaging

This commit is contained in:
XShop
2026-09-13 19:04:41 +03:30
commit f11e1d650d
66 changed files with 3094 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
<?php
/**
* Page
*
* @package XShop
*/
declare(strict_types=1);
defined('ABSPATH') || exit;
get_header();
?>
<div class="xshop-container">
<div class="xshop-layout">
<div class="xshop-layout__content">
<?php while (have_posts()): the_post(); ?>
<article <?php post_class('xshop-prose'); ?>>
<header class="xshop-page-header">
<h1 class="xshop-page-header__title"><?php the_title(); ?></h1>
</header>
<?php if (has_post_thumbnail()): ?>
<div class="xshop-card__media" style="border-radius:var(--xshop-radius-md);margin-block-end:var(--xshop-space-6)">
<?php the_post_thumbnail('large', ['loading'=>'eager','decoding'=>'async']); ?>
</div>
<?php endif; ?>
<div class="entry-content">
<?php
the_content();
wp_link_pages([
'before' => '<nav class="xshop-pagination" aria-label="' . esc_attr__('Page links', 'xshop') . '"><span class="xshop-text-muted">' . esc_html__('Pages:', 'xshop') . '</span> ',
'after' => '</nav>',
]);
?>
</div>
</article>
<?php
if (comments_open() || (int) get_comments_number() > 0) {
comments_template();
}
?>
<?php endwhile; ?>
</div>
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>