Accordeon and ACFields
-
Hello, thank you for your great work.
I try to put advanced custom fields in accordeon codes, but it seems, the div′s are closing in a wrong way, as you can see here<?php if( get_field('akkordeon') ): ?> <?php echo do_shortcode('[accordion clicktoclose="true"]'); ?> <?php if( have_rows('reihen') ): ?> <?php while(has_sub_field('reihen')): ?> <?php $akkordeontitelvar = get_sub_field('akkordeontitel'); echo do_shortcode('[accordion-item title="' . $akkordeontitelvar . '"] ')?> <div class="columns"> <!-- .content--> </div> <!-- .columns --> <?php echo do_shortcode('[/accordion-item] ')?> <?php endwhile; ?> <?php endif; ?> <?php echo do_shortcode('[/accordion] ')?> <?php endif; ?>
What I am doing wrong, can you help me, please?
Thank you in advance
ll.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Accordeon and ACFields’ is closed to new replies.