Thanks for your post,
There is a filter hook for filter query arguments
post_grid_filter_query_args() so you can add more arguments
function post_grid_filter_query_args($query_args){
$new_args = array (
'post__in' => array('1','2'), // post ids here
);
return array_merge($query_args,$new_args);
}
add_filter('post_grid_filter_query_args','post_grid_filter_query_args');
same way you can add for SKU,
Although this will effect on your post grid, Our Premium version has feature “More Query Parameter” you can add more query argument from input options. that will work individual post grid.
Please see the screenshot
View post on imgur.com
Also has meta query & Taxonomy & Terms (Categories) selection
View post on imgur.com
Let me know for more help.
Regards
Thank you very much for your reply. But i think I did sth wrong. I put the code to the query.php and it didn’t add new parameters for the post types.
Could you please advise on the above.
Hello. Sorry for disterbing. But i really can’t figure out where i should put the code to make it work.
Please help!