Title: Shortcode as content not working
Last modified: July 22, 2022

---

# Shortcode as content not working

 *  Resolved [l30n4rd](https://wordpress.org/support/users/l30n4rd/)
 * (@l30n4rd)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/shortcode-as-content-not-working/)
 * I’m trying to make a slider of Posts content. I’ve added WP post shortcode to
   the slides content area. I have checked the “Allow Shortcodes” option box. But
   the slides when viewed in a page only show the shortcode text. I use the Classic
   Editor. Here is one of the shortcodes I’m adding.
 * `[display-posts id="182" include_date="true" date_format="F j, Y" image_size="
   medium" include_date="true" include_excerpt="true" post_type="post" category="
   news"]`

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [simonpedge](https://wordpress.org/support/users/simonpedge/)
 * (@simonpedge)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/shortcode-as-content-not-working/#post-15848932)
 * This shortcode seems to work for me.
 * I tried inserting this shortcode into a test SA slider:
    See: [https://i.imgur.com/PUBCQ6s.png](https://i.imgur.com/PUBCQ6s.png)`[
   display-posts id=”1″ include_date=”true” date_format=”F j, Y” image_size=”medium”
   include_date=”true” include_excerpt=”true” post_type=”post” category=”Uncategorised”]`(
   this post id ‘1’ is my ‘Hello World’ post that comes with a WP installation)
 * And This is what I see on the front-end page:
    [https://i.imgur.com/b44gVuJ.png](https://i.imgur.com/b44gVuJ.png)
 * This shortcode does use the ‘Display Posts’ plugin – do you have this plugin 
   installed:
    [https://wordpress.org/plugins/display-posts-shortcode/](https://wordpress.org/plugins/display-posts-shortcode/)
 * Also check the shortcode parameters – e.g. is the category correct.
 *  Thread Starter [l30n4rd](https://wordpress.org/support/users/l30n4rd/)
 * (@l30n4rd)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/shortcode-as-content-not-working/#post-15849257)
 * Thank you. It was the Display Posts plugin.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Shortcode as content not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/slide-anything.svg)
 * [Slide Anything - Responsive Content / HTML Slider and Carousel](https://wordpress.org/plugins/slide-anything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slide-anything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slide-anything/)
 * [Active Topics](https://wordpress.org/support/plugin/slide-anything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slide-anything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slide-anything/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [l30n4rd](https://wordpress.org/support/users/l30n4rd/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/shortcode-as-content-not-working/#post-15849257)
 * Status: resolved