I am trying to create a post grid with pages that have a specific parent page. To do so, I am trying to use the "Search parameters" option inside "Query Post":
Following the information here https://developer.wordpress.org/reference/classes/wp_query/
I have introduced this line into the Search Parameters
$query = new WP_Query( array( 'post_parent' => 93 ) );
and other combinations based on that : eg 'post_parent' =>93; but in all cases, when the Post Grid is loaded I get a "No Post Found" instead of the post with the parent.
So my question is, what is the way to introduce the queries into the Search Parameters? It is not clear to me.
Thanks in advance
Welcome to our forum.
There is a filter avilable for filter query arguments, please see the documentation.
Let me know for more help.