How to query post by custom meta fields?

Using the Post Grid Combo plugin, you can query posts by custom meta fields. This article will show you how to query posts using custom meta fields.

Click on the “Query Post” tab.

UTnISwX

You can now search for “Meta Query” by clicking the Choose button. Now click on it.

sJ8rsuQ

Now click on the “Meta Query” drop-down tab and click on the “Add” button.

qAEMo9R

Now add “CUSTOM FIELD KEY” and “Meta Value.”

r1hwwP4

There is a “COMPARE” option; select the suitable compare option to get your desired posts.

aEY5rGR