Home › Forums › Front-end Issues › LightBox images in custom content field › Reply To: LightBox images in custom content field
hi
thank you for this suggestion, but it doesn´t work for me
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'pictorico' ),
'after' => '</div>',
) );
?>
<?php if(get_field('spalten')): ?>
<?php while(has_sub_field('spalten')): ?>
<div class="columns">
<div class="col-left"><?php
$wysiwyg = the_sub_field('linke_spalte', false, false);
echo apply_filters('the_content', $wysiwyg);
?></div>
<div class="col-right"><?php
$wysiwyg = the_sub_field('rechte_spalte', false, false);
echo apply_filters('the_content', $wysiwyg);
?></div>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div><!-- .entry-content -->
http://wp.bieblwerk.de/agentur/
I´m using a repeater field, are ther any other options?
Thank you very much
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.