Is there an easy way to adjust the blog post element where when using the grid display option, we can choose another field? I am using it to display a GeoDirectory Places cpt.
Let me know if you would like admin access to see what is available and how things interact.
Hey Jason,
Thank you for the inquiry.
Which field are you trying to select? This is not possible at the moment, but you can try modifying the blog posts query using the avia_post_slide_query filter.
Example:
add_filter( 'avia_post_slide_query', 'avf_custom_avia_post_slide_query', 10, 2 );
function avf_custom_avia_post_slide_query( $query, $params ) {
$query['meta_query'] = [
[
'key' => 'your_acf_field_key',
'value' => 'desired_value',
'compare' => '=',
]
];
$query['orderby'] = 'date';
$query['order'] = 'ASC';
return $query;
}
Best regards,
Ismael