Support

Account

Home Forums Add-ons Repeater Field Repeater Field w/ WYSIWYG in RSS Feed Reply To: Repeater Field w/ WYSIWYG in RSS Feed

  • Hi Joe,

    You could try this to strip out all HTML tags. Might be good to do this for RSS:

    <?php $steps = get_field(‘step’); ?>
    <?php if($steps) { ?>
    <p>Directions: </p>
    <div>
    <?php foreach($steps as $step) { ?>
    <p><?php echo strip_tags($step[‘add_step’]); ?></p>
    <?php } ?>
    </div>
    <?php } ?>

    Here’s the documentation: http://php.net/manual/en/function.strip-tags.php