-
-
Hello,
I try to customize your loop-grid.php page, in order to display only posts that answer to custom posts fields.
If I understand the construction of your page, this line calls post list :
do_action(‘codeless_excecute_query_var_action’,’loop-index’);
I try to add som custom field to my query, just like this :
$type = $wp_query->query_vars[‘type’];
$critere = rawurldecode($wp_query->query_vars[‘critere’]);$posts = get_posts(array(
‘posts_per_page’ => -1,
‘post_type’ => ‘post’,
‘meta_key’ => $type,
‘meta_value’ => $critere
));I don’t know hhow to do to add custom query fields in my initial query.
Could you help me ?
Thanks !
-
Hello,
Sorry but support does not cover personal preference customizations. You could do it yourself or hire a developer to do it for you.
Best regards!
-
You must be logged in to reply to this topic.