WP PLUGIN ソート対象拡張

・タクソノミーにカスタムフィールド検索を追加
・サブループ用ソートパラメータ取得のGetterを追加
This commit is contained in:
2021-05-11 11:31:31 +09:00
parent 07cc829dcd
commit f87d90363a
2 changed files with 168 additions and 67 deletions
+3 -3
View File
@@ -127,9 +127,9 @@ if ( ! class_exists( 'APOP' ) ) {
// ------------------------------------
$tax_sort_type = APOP_UI::input_post_filter( '_apop_tax_sort_type', 'array' );
$apop_tax_order_param = APOP_UI::input_post_filter( '_apop_tax_order_param', 'array' );
$apop_post_category = APOP_UI::input_post_filter( '_apop_post_category', 'array' );
$apop_post_post_tag = APOP_UI::input_post_filter( '_apop_post_post_tag', 'array' );
$apop_post_tax = APOP_UI::input_post_filter( '_apop_post_tax', 'array' );
$apop_post_category = APOP_UI::input_post_filter( '_apop_post_category', 'array' );
$apop_post_post_tag = APOP_UI::input_post_filter( '_apop_post_post_tag', 'array' );
$apop_post_tax = APOP_UI::input_post_filter( '_apop_post_tax', 'array' );
//カテゴリーのソートタイプ設定
if ( $tax_sort_type ) {