修复了一些小问题
This commit is contained in:
@@ -51,7 +51,9 @@ if (!$query->have_posts()) {
|
||||
$query->the_post();
|
||||
$post = get_post();
|
||||
if ($post instanceof WP_Post) {
|
||||
echo aksrt_render_related_graphic_card($post); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
echo '<div class="swiper-slide mr10">' .
|
||||
aksrt_render_graphic_card_post($post) . // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
'</div>';
|
||||
}
|
||||
}
|
||||
wp_reset_postdata();
|
||||
|
||||
Reference in New Issue
Block a user