Do Not Show Posts via Meta Value(number)?

Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to support@pickplugins.com
0
taylor
Feb 20, 2018 10:07 AM 1 Answers General
Member Since Jan 2018
Subscribed Subscribe Not subscribe
Flag(0)

So I'm ordering post types in the grid using the "Post queryorder byy - Meta Value(number)" using a custom field "marcato_artist_custom_field_Website Integration Fields_SiteRanking". Works great!

Anyways I was wondering if it's easy to NOT SHOW posts that have a blank field under "marcato_artist_custom_field_Website Integration Fields_SiteRanking"? It's not a taxonomy or anything so I wouldn't be able to hide them that way that I know of.

2 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
PickPlugins
Feb 20, 2018
Flag(0)

Thanks for your post,

Have you tried the meta query option?

Please see the attachment

View post on imgur.com

See this link how to set meta query

https://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters

Let me know for more help.

Regards

PickPlugins
- Apr 03, 2018 01:04 PM
Flag (0)
0

Thanks for your reply, do you want to filterable style grid by meta fields? this feature isn't available right now.

Regards

taylor
- Apr 03, 2018 06:20 AM
Flag (0)
0

I managed to use the meta query option to pull posts as opposed to taxonomies/categories.

It shows all of them well, but how do I use the filterable option?

taylor
- Apr 03, 2018 05:38 AM
Flag (0)
0

:edit: nevermind I had to save it first to pull up a dropdown, ignore

Hmm yeah, I'm not sure how to set one of my custom fields as a meta query.

When I go to add a meta query via the plugin settings it doesn't show any dropdowns with "key, value, compare, type" it only shows the blue bar, number, and an x.

I want to use it to show posts by custom field type, not so much hide like mentioned earlier in the post

1+ more comments. Sign in to Reply
Replying as Submit

Please use https://imgur.com/upload to upload your screenshot and share url here.
You can't upload any files or attachment to our server directly for security reason, you can use 3rd party website and share file url here. here is the top file sharing website you can use.

Please login to see your tickets