• I am trying to call the description field of an image wtih shortcodes intact, however, it currently displays the shortcode code rather than the actual shortcode.

    <?php $attachment_content = apply_filters( 'the_title', $attachment->post_content ); ?>
    											<span class="rsTitle rsABlock rsNoDrag rsAbsoluteEl" data-fade-effect="true" data-move-offset="0" data-move-effect="right" data-speed="350"><?php echo $attachment_content; ?></span>
  • The topic ‘Echo stripping shortcodes’ is closed to new replies.