Hi there,
I can easily add fields to my page, thats alright.
But I havn’t found a way, to use my own Markup and CSS (Template) and fill in the fields, and display this module template using the contents on a page I want.
example: I got this markup:
<div class="slider">
<?php while($repeaterfield) // ???? ?>
<div class="slider-item" style="background: url(<?php the_field('slide_image'); ?>);">
<h2><?php the_field('slide_title'); ?></h2>
<?php the_field('slide_image'); ?>
</div>
<?php endwhile; ?>
</div>
Where do I put that module template, and how can I insert it then in my post?
Is there a syntax like [acf module="wp-content/themes/twentyfourteen/slider.php"] to insert it in the WYSIWYG editor then?
This would give me the flexibility I need with my custom markup.
The backenduser just has to fill in the fields then.