Support

Account

Home Forums Add-ons Flexible Content Field [ACF 5.5.5] have_rows don't work..

Unread

[ACF 5.5.5] have_rows don't work..

    • linuxiro

    • September 13, 2018 at 7:19 am

    Hi,

    
       if ( have_rows('planning_container') ) :
         while ( have_rows('planning_container') ) : the_row();
           if (get_row_layout() == 'layout_planning' ) :
              get_template_part( 'blocks/planning' );
           endif;
         endwhile;
       endif : ?>
    

    In this case, the have_rows() function returns false. It doesn’t matter if I put elements in the back office.

    Desccipriton in my back office

    Can you help me ? 🙂

    kind regards

    Linuxiro

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.