Support

Account

Home Forums Front-end Issues Repeater / Select fields filled Reply To: Repeater / Select fields filled

  • Hi @Anthony.C

    Can you please fix the indentation of your code?

    Your query_posts function needs to also use the meta_query param to find posts which have at least 1 repeater row of data.

    The query_posts uses the same params as WP_Query (http://codex.wordpress.org/Class_Reference/WP_Query).

    Currently, you are using a string, you will need to change this to the array format before the meta_query will work.

    Your meta_query should look like:

    
    'meta_query' => array(
           array(
               'key' => 'bons_plans_de_votre_magasin_commerce_detail',
               'value' => 1,
               'compare' => '>=',
           )
       )
    

    Good luck

    Thanks
    E