Home › Forums › General Issues › How to turn custom fields into something I can insert into WYSIWYG editor? › Reply To: How to turn custom fields into something I can insert into WYSIWYG editor?
I asked over at the support forums and found an answer! I just had to wrap them in an additional containing loop to the template. Full answer can be found here in case any future person searching the forums needs it:
<?php /* Template Name: Your Custom Template Name */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<div>Your custom content, including any template tags you want to use like <?php the_post_thumbnail(); ?></div>
<?php endwhile; ?>
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.