Support

Account

Home › Forums › Add-ons › Flexible Content Field › Getting flexible content subfields after $wpdb->get_results($querystr); › Reply To: Getting flexible content subfields after $wpdb->get_results($querystr);

  • Edit: Just tried have_rows with current post->ID in the loop. Same result. Output is always “no rows”.

    
    <?php
    if (have_rows('dati', $post->ID)):
        echo ":)";
        while (have_rows('dati')) : the_row();
        endwhile;
    else :
        echo "no rows";
    endif;
    ?>