WP PLUGIN アーカイブページの投稿表示順設定

・タクソノミーの1ページ表示数をタクソノミー毎のなるよう修正
・タクソノミーの1ページ表示数変更に合わせてJSを修正
・タクソノミーの1ページ表示数変更に合わせてテンプレートファイル分割
・バグ修正:タームIDが無い存在しない場合にpre_get_postでセットしないよう修正
・バグ修正:通常と検索のpre_get_postでメタキー指定が漏れていたので追加
・バグ修正:カスタムタクソノミーのpre_get_postでメタキー指定が異なっていたので修正
This commit is contained in:
2021-05-09 18:11:10 +09:00
parent df9c7deef1
commit 59e11dbb14
8 changed files with 205 additions and 263 deletions
+13 -3
View File
@@ -58,7 +58,7 @@ h3 {
}
.list-orders-inner {
width: calc((100% - 10px) / 2);
width: 45%;;
margin: 1.5em 1em 0 0;
padding: .5em;
border: 1px solid #999;
@@ -66,7 +66,7 @@ h3 {
}
.list-orders-inner.search_inner {
width: calc((100% - 10px) / 2);
width: 50%;
}
.apop_normal_order_target,
@@ -82,7 +82,6 @@ h3 {
p.submit.post-order .button-primary {
position: absolute;
bottom: 1em;
right: 1.5em;
}
dl.apop_setting_list {
@@ -162,6 +161,17 @@ dl.apop_setting_list dd:first-of-type {
margin-top: 1em;
}
.order_setting_list > li {
padding: 1em;
border: 1px solid #ccc;
}
.select_per_page {
margin-top: 1em;
padding-top: 1em;
border-top: 1px solid #ccc;
}
@media only screen and (max-width: 1264px) {
.search_normal_sort .product-list {
display: block;