Title: Shortcode Issue
Last modified: August 21, 2016

---

# Shortcode Issue

 *  Resolved [jeanneleez](https://wordpress.org/support/users/jeanneleez/)
 * (@jeanneleez)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/shortcode-issue-3/)
 * I am not sure what you mean when you say to post the ids of the blog posts. I
   tried the full URL, tried just the “?p=3208” and just “3208”. What exactly is
   supposed to be added? Are you supposed to put a space after the comma or not?
 * Example: [elastic_slide posts=”3804, 3790, 3772, 3768, 3762, 3739, 2947, 2197,
   49″]
 * Please help me understand what I am doing wrong.
 * Thanks,
    Jeanne
 * [http://wordpress.org/plugins/elastic-slide/](http://wordpress.org/plugins/elastic-slide/)

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

 *  Plugin Author [foo123](https://wordpress.org/support/users/foo123/)
 * (@foo123)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/shortcode-issue-3/#post-4028648)
 * Hi Jeanne,
 * the shortcode parameter is like this:
 * [elastic_slide posts=”..ids of posts here with commas..”]
 * so your example is correct:
 * [elastic_slide posts=”3804,3790,3772,3768,3762,3739,2947,2197,49″]
 * (better remove the spaces, might interefer, havent tested)
 * Hope this helps
 *  [mrhaha80](https://wordpress.org/support/users/mrhaha80/)
 * (@mrhaha80)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/shortcode-issue-3/#post-4028700)
 * Hi,
 * If i would like to use PHP instead of shortcode. possible?
 * Thanks
 *  Plugin Author [foo123](https://wordpress.org/support/users/foo123/)
 * (@foo123)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/shortcode-issue-3/#post-4028702)
 * Yes this is possible,
 * just use
 * `echo do_shortcode('[elastic_slide posts="3804,3790,3772,3768,3762,3739,2947,2197,49"]');`
 * inside your php
 * do_shortcode function takes a string with the shortcode and produces the output,
   so it is the same, but in php
 * Note: this project has stopped, is not maintained

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

The topic ‘Shortcode Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/elastic-slide.svg)
 * [Elastic Slide](https://wordpress.org/plugins/elastic-slide/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elastic-slide/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elastic-slide/)
 * [Active Topics](https://wordpress.org/support/plugin/elastic-slide/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elastic-slide/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elastic-slide/reviews/)

## Tags

 * [$post->id](https://wordpress.org/support/topic-tag/post-id/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 3 replies
 * 3 participants
 * Last reply from: [foo123](https://wordpress.org/support/users/foo123/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/shortcode-issue-3/#post-4028702)
 * Status: resolved