Forums › Forums › Search & Filter Pro › Post meta conditional
Tagged: conditional
- This topic has 12 replies, 2 voices, and was last updated 8 years, 11 months ago by
Anonymous.
-
Trevor(Private) December 4, 2016 at 11:11 am #73912
At this time I do not think the plugin can do this, but if we added more comparison operator options for numeric fields (less than, less than and equals etc) this would be possible. Do you want me to add this as a feature request (this thread would be moved to the feature requests forum) for V3, which will be our next major release after we ship v2.3.0 (which is now in beta)?
Trevor(Private) December 4, 2016 at 12:10 pm #73916mmm. You could do what I did with this site:
http://wordpress-26860-57810-154087.cloudwaysapps.com/transportation/
I made a dummy field in the post type that holds multiple values, so, if the maximum number is 10, the field holds 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10
Then it works as you want. When I was making it, I spoke to Ross and it was the solution he suggested for me.
Trevor(Private) December 4, 2016 at 3:06 pm #73930What I meant was ….
In the post, you have a field for maximum number of people, which holds one number. If this is an ACF field, make it one that can hold more than one number, and, if it currently holds, say
9as the value, make it hold all the numbers 1 thru 9, as an array. -
AuthorPosts