چۈشەندۈرۈش
This plugin has been closed as of 2024-يىلى 2-فېۋرال and is not available for download. سەۋەب: بىخەتەرلىك مەسىلىسى
باھالاشلار
2021-يىلى 30-ماي
Very good plugin. we need pro version which is not available on the given link.
2020-يىلى 16-ماي
I'm very sad about the decision to stop development of this plugin. It's still now one of the best plugin to filter ACF fields
2020-يىلى 7-ئاپرېل
Hi, how can I customize the order of the results in alphabetical order?
Thanks so much
2016-يىلى 1-دېكابىر
1 reply
Great functionality, and as my prior mark - 5 stars for code.
Not often today you'll find a plugin with clean and readable code.
Found and edited all the things I was need for my project in a couple of minutes.
----------------------------------------------
Dev, I've got a problem in ur free-version.
elseif( $val['type'] == 'checkbox' ):
$args['meta_query'][] = array(
'key' => $data_value,
'value' => $_POST['data'][ $key ]['val'],
'type' => 'CHAR',
'compare' => 'IN'
);
Now imagine you have meta_field "array of chars"
And your post #1 have it set like "fish, cat"
And your post #2 have it like "dog, duck"
You place a "checkbox" of that custom field with 4 values to check.
You check only "cat" and get post #1 in the results.
You check only "dog" and get post #2 in the results.
You check both "cat" and "dog". What will you get? 0 found? Nah, you'll get 2 posts found.
To allow WHERE IN of meta_query to EXACT match your array of checks you need to replace code above with:
elseif( $val['type'] == 'checkbox' ):
foreach( $_POST['data'][ $key ]['val'] as $meta_val ):
$args['meta_query'][] = array(
'key' => $data_value,
'value' => $meta_val,
'type' => 'CHAR',
'compare' => '='
);
endforeach;
And here comes an option to set different 'relation' of meta_query, like OR or AND.
2016-يىلى 3-سېنتەبىر
2 replies
This filter is very simple to use!
However, is it possible for the checkbox to align horizontally instead of being placed one on top of each other? Takes up quite a bit of space when they are lined up on top of each other.
Other than that, it is a great plugin to have!
2016-يىلى 3-سېنتەبىر
It does not have a lot of exciting cool features, but ehat id does have is useful. Give it a try.
تۆھپىكار ۋە ئىجادكار
«Filter Custom Fields & Taxonomies Light» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.
تۆھپىكار«Filter Custom Fields & Taxonomies Light» نى تىلىڭىزغا تەرجىمە قىلىڭ
ئىجادىيەتكە قىزىقامسىز؟
كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.