Do Not Show Posts via Meta Value(number)?

0
Do Not Show Posts via Meta Value(number)? 1
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
Do Not Show Posts via Meta Value(number)? 1
Do Not Show Posts via Meta Value(number)? 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Do Not Show Posts via Meta Value(number)? 4
PickPlugins
Feb 20, 2018
Flag(0)

Thanks for your post,

Have you tried the meta query option?

Please see the attachment

https://imgur.com/a/GGng6

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

Do Not Show Posts via Meta Value(number)? 5
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

Do Not Show Posts via Meta Value(number)? 6
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?

Do Not Show Posts via Meta Value(number)? 6
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