Home › Forums › General Issues › Where is the_content filters on wysiwyg fields ? › Reply To: Where is the_content filters on wysiwyg fields ?
Hi @elliot
Below is my code, how it works is I created a filed for ‘title’, ‘txt’ and ‘img’.
Currently the WYSIWG field is being used on the txt section.
<p class=”br-location-dayText txt”><?php echo get_post_meta($post->ID, ‘day_4_text’, true); ?></p>
—this is where the code lives—
<?php if( get_post_meta($post->ID, ‘day_4’, true) ) { ?>
<section class=”br-dayEven”>
<div class=”main-contentWrapper”>
<div class=”br-headlineWrapper”>
<span class=”br-headlineTitle br-dayEven title”><?php echo get_post_meta($post->ID, ‘day_4’, true); ?></span>
</div>
<p class=”br-location-dayText txt”><?php echo get_post_meta($post->ID, ‘day_4_text’, true); ?></p>
<?php if( get_post_meta($post->ID, ‘day_4_image’, true) ) { ?>
” alt=”test” />
<?php } ?>
</div>
</section>
<?php } ?>
Thanks
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.