WP PLUGIN 投稿表示順設定

・タクソノミーのソート順登録/未登録両方取得するようget_postsのパラメータを修正
・タクソノミーのソート順登録/未登録両方取得に伴いテンプレートを修正
・通常と検索のソート順登録/未登録両方取得するようget_postsのパラメータを修正
・「表示設定に従う」メニューへposts_per_pageの設定件数を表示
・バグ修正:検索設定のnema属性修正と検索ページのメソッド引数修正
This commit is contained in:
2021-05-08 11:50:31 +09:00
parent bacd6a1d72
commit df9c7deef1
7 changed files with 334 additions and 326 deletions
+49 -15
View File
@@ -1,5 +1,10 @@
@charset "UTF-8";
h3 {
font-weight: normal;
font-size: 16px;
}
.post-order-nav {
width: 95%;
}
@@ -30,8 +35,12 @@
margin-right: 0;
}
.post-setting-box {
margin: 5px 15px;
}
.post-order-box-outer {
width: 95%;
width: 100%;
margin: -1px 0 2em;
border-top: 1px solid #999;
}
@@ -40,11 +49,6 @@
display: none;
}
h3 {
font-weight: normal;
font-size: 16px;
}
.list-orders-outer {
width: 100%;
margin-bottom: 1em;
@@ -54,7 +58,7 @@ h3 {
}
.list-orders-inner {
width: calc((100% - 10px) / 5);
width: calc((100% - 10px) / 2);
margin: 1.5em 1em 0 0;
padding: .5em;
border: 1px solid #999;
@@ -107,8 +111,7 @@ dl.apop_setting_list dd:first-of-type {
}
.product-list {
padding: .5em;
border-radius: 4px;
padding: 1em .5em;
background: #fff;
cursor: move;
color: #4b4b4b;
@@ -116,12 +119,22 @@ dl.apop_setting_list dd:first-of-type {
}
.search_normal_sort .product-list {
padding: 1em .5em;
border-radius: 0px;
display: flex;
}
.search_normal_sort .product-list label:first-of-type {
width: 100px;
.search_normal_sort .product-list-type-label {
width: calc(100% / 2);
display: flex;
justify-content: space-between;
}
.search_normal_sort .product-list-sort-type {
width: 100%;
display: flex;
}
.search_normal_sort .product-list-sort-type label {
width: calc((100% / 4) - 5px);
}
.product-list.no_order {
@@ -145,9 +158,30 @@ dl.apop_setting_list dd:first-of-type {
}
.no_registered_exp {
width: 100%;
margin-top: 1em;
}
@media only screen and (max-width: 1264px) {
.search_normal_sort .product-list {
display: block;
}
.search_normal_sort .product-list-type-label {
width: 100%;
margin-bottom: 1em;
display: block;
}
.search_normal_sort .product-list-sort-type {
width: 100%;
}
.search_normal_sort .product-list-sort-type label {
width: calc((100% / 3) - 5px);
}
}
@media only screen and (max-width: 964px) {
.post-order-nav {
@@ -159,11 +193,11 @@ dl.apop_setting_list dd:first-of-type {
}
.list-orders-inner.search_inner {
width: 100%;
width: auto;
}
.list-orders-inner {
width: 100%;
width: auto;
margin: 1.5em 0 0 0;
}