Support

Account

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