Title: do_shortcode
Last modified: February 15, 2018

---

# do_shortcode

 *  [mihpa](https://wordpress.org/support/users/mihpa/)
 * (@mihpa)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/do_shortcode-12/)
 * Please, change this text:
    // APPLY ‘the_content’ FILTER TO BLEND WITH EVERYTHING
   ELSE $content = apply_filters( ‘the_content’, get_post_field( ‘post_content’,
   $id), $atts );
 * with next text:
    $content = do_shortcode( get_post_field( ‘post_content’, $id,
   $atts ) );
 * Last update of WordPress not match for old syntax.

The topic ‘do_shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/reusable-text-blocks_53c8f2.svg)
 * [Reusable Text Blocks](https://wordpress.org/plugins/reusable-text-blocks/)
 * [Support Threads](https://wordpress.org/support/plugin/reusable-text-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/reusable-text-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reusable-text-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reusable-text-blocks/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mihpa](https://wordpress.org/support/users/mihpa/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/do_shortcode-12/)
 * Status: not resolved