Welcart Square 1.0.17 をリリースしました。
タグ追加: welcart_basic-square/page.php 27行目あたり
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.', 'usces' ); ?></p>
<?php endif; ?>
<?php
wp_link_pages( array(
'before' => '<div class="post-nav-links">',
'after' => '</div>'
) );
?>
</div><!-- column -->
スタイル追加: welcart_basic-square/style.css 1241行目あたり
/* page.php // Post Nav Links
-------------------------------------------------------------- */
.post-nav-links {
padding: 0 0 1.714em;
display: flex;
justify-content: center;
align-items: center;
}
.post-nav-links .post-page-numbers {
color: #333;
margin: .178em;
text-align: center;
font-size: 16px;
width: 45px;
line-height: 45px;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
-khtml-border-radius: 8px;
border-radius: 8px;
border: 1px solid #333;
-webkit-transition: .3s ease all;
-moz-transition: .3s ease all;
-o-transition: .3s ease all;
transition: .3s ease all;
}
.post-nav-links .post-page-numbers:hover,
.post-nav-links .post-page-numbers.current {
background-color: #333;
border: 1px solid #333;
color: #fff;
}
※ ハイライト部分のスタイルを追加
ウィジェットカート使用時、404ページでカートアイコン部の崩れを修正
スタイル追加: welcart_basic-square/css/functions.php 129行目あたり
if( defined( 'WCEX_WIDGET_CART' ) ) {
wp_enqueue_style( 'parent-widget_cart', $template_dir . '/wcex_widget_cart.css', array(), '1.0');
if ( is_404() ) {
wp_enqueue_style( 'child-widget_cart', get_stylesheet_directory_uri() . '/wcex_widget_cart.css', array(), '1.0');
}
}
※ ハイライト部分のスタイルを追加



