WP PLUGIN ソート対象拡張
・通常、検索、タクソノミーにソート用カスタムフィールドの設定入力欄を追加 ・通常と検索にカスタムフィールド検索処理を実装 ・タクソノミーに通常+カスタムフィールドのメニューを追加 ・タクソノミーに通常+カスタムフィールドとドラッグソートの切り替え用ラジオボタンを追加
This commit is contained in:
+10
-21
@@ -52,30 +52,21 @@ h3 {
|
||||
.list-orders-outer {
|
||||
width: 100%;
|
||||
margin-bottom: 1em;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.list-orders-inner {
|
||||
width: 45%;;
|
||||
width: 50%;
|
||||
margin: 1.5em 1em 0 0;
|
||||
padding: .5em;
|
||||
border: 1px solid #999;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.list-orders-inner.search_inner {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.apop_normal_order_target,
|
||||
.apop_search_order_target {
|
||||
.sort_menu_list {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.apop_normal_order_target li:first-child,
|
||||
.apop_search_order_target li:first-child {
|
||||
.sort_menu_list li:first-child {
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
@@ -123,8 +114,6 @@ dl.apop_setting_list dd:first-of-type {
|
||||
|
||||
.search_normal_sort .product-list-type-label {
|
||||
width: calc(100% / 2);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.search_normal_sort .product-list-sort-type {
|
||||
@@ -152,9 +141,9 @@ dl.apop_setting_list dd:first-of-type {
|
||||
content: "]";
|
||||
}
|
||||
|
||||
.hide_list {
|
||||
display: none;
|
||||
}
|
||||
/*.hide_list {*/
|
||||
/* display: none;*/
|
||||
/*}*/
|
||||
|
||||
.no_registered_exp {
|
||||
width: 100%;
|
||||
@@ -172,6 +161,10 @@ dl.apop_setting_list dd:first-of-type {
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.sort_custom_field{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1264px) {
|
||||
.search_normal_sort .product-list {
|
||||
display: block;
|
||||
@@ -202,10 +195,6 @@ dl.apop_setting_list dd:first-of-type {
|
||||
display: block;;
|
||||
}
|
||||
|
||||
.list-orders-inner.search_inner {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.list-orders-inner {
|
||||
width: auto;
|
||||
margin: 1.5em 0 0 0;
|
||||
|
||||
Reference in New Issue
Block a user