Title: Multiple shortcode on one page
Last modified: August 20, 2016

---

# Multiple shortcode on one page

 *  Resolved [Mayuresh Bagwe](https://wordpress.org/support/users/mayuresh-bagwe/)
 * (@mayuresh-bagwe)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-shortcode-on-one-page/)
 * Hello
    I create multiple short-code for one page, means I added 4 short code 
   on one page but it’s not working any solution for this ? My page all content 
   hide please give me any solution.
 * Thanks And Regards
    Mayuresh C Bagwe
 * [http://wordpress.org/extend/plugins/single-latest-posts-lite/](http://wordpress.org/extend/plugins/single-latest-posts-lite/)

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

 *  Plugin Author [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * (@iluminatus)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-shortcode-on-one-page/#post-3370507)
 * Hi Mayuresh,
 * When you plan to use multiple shortcodes on the same page you must set the `instance`
   parameter, for example:
 *     ```
       [slposts instance=section1 paginate=true posts_per_page=10 number_posts=1000]
       [slposts instance=section2 paginate=true posts_per_page=10 number_posts=1000]
       [slposts instance=section3 paginate=true posts_per_page=10 number_posts=1000]
       [slposts instance=section4 paginate=true posts_per_page=10 number_posts=1000]
       ```
   
 * That way you specify jQuery pagination functions to treat each one independently.
   So when you change pages in one the rest stay where they are.
 * Hope this helps.
 * Best regards,
    José Luis
 *  Thread Starter [Mayuresh Bagwe](https://wordpress.org/support/users/mayuresh-bagwe/)
 * (@mayuresh-bagwe)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-shortcode-on-one-page/#post-3370567)
 * Hi Thanks Jose
 *  But when I used three time it’s not working,I am sending you my shortcode plz
   check below short code
    First Short Code Working [slposts instance=movie-reviews
   number_posts=3 time_frame=100 post_status=publish category=”Movie Reviews” excerpt_trail
   =image thumbnail=true display_type=block thumbnail_wh=90×150] Second Short Code
   Working [slposts instance=featurenews number_posts=3 post_status=publish category
   =”Feature Stories” excerpt_trail=image thumbnail=true display_type=block thumbnail_wh
   =100×100] When I add Third Short code so it’s not working means full page hide.
   why any reason? can you help me about this issue ? [slposts instance=”Bollywood
   Party Circuit” number_posts=2 time_frame=10 post_status=publish category=”Bollywood
   Party Circuit” excerpt_trail=image thumbnail=true display_type=block thumbnail_wh
   =90×100]
 *  Plugin Author [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * (@iluminatus)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-shortcode-on-one-page/#post-3370568)
 * Hello Mayuresh,
 * One thing I noticed is your shortcodes aren’t using category slugs, that’s maybe
   the reason why they are not working as expected, your category slugs should be
   like this:
    - **Category:** Movie Reviews | **Slug:** movie-reviews
    - **Category:** Feature Stories | **Slug:** feature-stories
    - **Category:** Bollywood Party Circuit | **Slug:** bollywood-party-circuit
 * This is because WordPress replaces all spaces by dashes (-) and turn all uppercase
   characters to lowercase, try changing your shortcodes by these ones:
 *     ```
       [slposts instance=MovieReviews number_posts=3 time_frame=100 post_status=publish category=movie-reviews excerpt_trail=image thumbnail=true display_type=block thumbnail_wh=90x150]
   
       [slposts instance=FeatureNews number_posts=3 post_status=publish category=feature-stories excerpt_trail=image thumbnail=true display_type=block thumbnail_wh=100x100]
   
       [slposts instance=BollywoodPartyCircuit number_posts=2 time_frame=10 post_status=publish category=bollywood-party-circuit excerpt_trail=image thumbnail=true display_type=block thumbnail_wh=90x100]
       ```
   
 * Let me know if it works.
 * Kind regards,
    José Luis.
 *  Thread Starter [Mayuresh Bagwe](https://wordpress.org/support/users/mayuresh-bagwe/)
 * (@mayuresh-bagwe)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-shortcode-on-one-page/#post-3370569)
 * Thanks Jose
 *  I got the error. I remove time_frame=10 form third short code.
    My problem is
   solved. Thanks Mayuresh Bagwe
 *  Plugin Author [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * (@iluminatus)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-shortcode-on-one-page/#post-3370570)
 * Hello, I forgot to mention, indeed 10 is a really short period of time, I’m glad
   you got it working.
 * Thanks for your feedback.
    José Luis.
 *  Thread Starter [Mayuresh Bagwe](https://wordpress.org/support/users/mayuresh-bagwe/)
 * (@mayuresh-bagwe)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-shortcode-on-one-page/#post-3370572)
 * Thanks
    I have one small query about image size,If I have already mention image
   size in short code, but image size not display properly why it is ? can u give
   me your gmail id ?
 * Thanks
    Mayuresh Bagwe
 *  Plugin Author [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * (@iluminatus)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-shortcode-on-one-page/#post-3370575)
 * I imagined you would ask something like this, that’s due to WordPress default
   media settings, please refer to this thread where you will find the solution:
   [http://wordpress.org/support/topic/plugin-network-latest-posts-thumbnail-sizing?replies=6](http://wordpress.org/support/topic/plugin-network-latest-posts-thumbnail-sizing?replies=6).
 * In short, you must change WordPress default image sizes, then regenerate all 
   of them, otherwise your thumbnails will ignore sizes specified through shortcodes.
 * WordPress default thumbnail size is 150×150 if you try to set an image bigger
   than 150 it won’t do anything.
 * My contact email address: [opensource@laelite.info](https://wordpress.org/support/topic/multiple-shortcode-on-one-page/opensource@laelite.info?output_format=md)
 * Best regards,
    José Luis.

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

The topic ‘Multiple shortcode on one page’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/single-latest-posts-lite_04cb9d.svg)
 * [Single Latest Posts Lite](https://wordpress.org/plugins/single-latest-posts-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/single-latest-posts-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/single-latest-posts-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/single-latest-posts-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/single-latest-posts-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/single-latest-posts-lite/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Jose Luis SAYAGO](https://wordpress.org/support/users/iluminatus/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-shortcode-on-one-page/#post-3370575)
 * Status: resolved