Solved !
<?php
if( have_rows('rep_content') ):
while ( have_rows('rep_content') ) : the_row();
if( have_rows('conteneur') ):
while ( have_rows('conteneur') ) : the_row();
the_sub_field('zone_libre');
endwhile;
endif;
endwhile;
endif; ?>
A Editor in a flexible content in a repeter
I use a custom template based on blankslate template
I edit this content on my homepage on backend and i want show the result on my home
Hi,
It’s done but not working
<?php if (have_posts()): while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php the_content(); ?>
<?php comments_template( '', true ); ?>
<br class="clear">
<?php edit_post_link(); ?>
</article>
<?php if( have_rows('conteneur') ):
while ( have_rows('conteneur') ) : the_row();
the_sub_field('zone_libre');
endwhile;
endif; ?>
<?php endwhile; ?>
Thanks for your answer !
Hi,
I finaly used acf_valide() before acf_save() and it’s good 🙂
Thanks
Hi James,
Thanks 🙂
It’s a great possibility but how i can put this data in my URL ? The redirection is done on the acf_form().
Regards
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.