Multiple custom fields and values (query)
-
Hello all,
Is it possible with this module to list posts that have 2 custom names and values.
Example : I want to list posts that have the custom field name “lib_nature” with the value $lib_nature and also have the custom field name nom_reg with the value $nom_regI tried this but it does not work :
<?php echo do_shortcode(“[catlist categorypage=’yes’ customfield_name=’lib_nature’ customfield_value=’$lib_nature’ customfield_name=’nom_reg’ customfield_value=’$nom_reg’]”); ?>
This code with only one field name and value works however.
Maybe my syntaxe is wrong or the plugin is not compatible ?
Thanks for your help.
best regards.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Multiple custom fields and values (query)’ is closed to new replies.