Home Forums Front-end Issues beginner question (acf dont show on frontpage) Reply To: beginner question (acf dont show on frontpage)

  • Thank’s for the help, but dont work =/
    sorry, but it’s my first wp theme.

    <div class="container">
    						<div class="row">
                                // TO SHOW THE PAGE CONTENTS
                                    while ( have_posts() ) : the_post(); ?> <!--Because the_content() works only inside a WP Loop -->
                                        <div class="entry-content-page">
                                            <?php if( have_rows('repeater_slides') ): ?>
                                <?php while( have_rows('repeater_slides') ): the_row(); ?>
                                    <li>sub_field_1 = <?php the_sub_field('imagem'); ?>, sub_field_2 = <?php the_sub_field('titulo_do_slide'); ?>, etc</li>
                                    $sub_field_3 = get_sub_field('sub-titulo'); 
                                    // do something with $sub_field_3
                                <?php endwhile; ?>
                            <?php endif; ?>
                                            <?php the_content(); ?> <!-- Page Content -->
                                        </div><!-- .entry-content-page -->
                                endwhile; //resetting the page loop
                                wp_reset_query(); //resetting the page query