Title: Shortcode limit= not functioning
Last modified: August 24, 2016

---

# Shortcode limit= not functioning

 *  Resolved [RM-WP](https://wordpress.org/support/users/rm-wp/)
 * (@rm-wp)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/shortcode-limit-not-functioning/)
 * I use to be able to list events using the shortcode [ecs-list-events limit=’4′
   thumb=’true’] to display thumbs of the events and only 4 would show up.
 * Now for some reason, the limit= no longer works and displays a very long list.
   Any ideas as to what to look for to fix this issue?
 * Thanks
 * [https://wordpress.org/plugins/the-events-calendar-shortcode/](https://wordpress.org/plugins/the-events-calendar-shortcode/)

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

 *  Thread Starter [RM-WP](https://wordpress.org/support/users/rm-wp/)
 * (@rm-wp)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/shortcode-limit-not-functioning/#post-5990918)
 * ^^BUMP^^
 * Anyone? No matter where I add a shortcode or widget and set limits, it will always
   display every upcoming event.
 *  [Ruth Maude](https://wordpress.org/support/users/dandelionweb/)
 * (@dandelionweb)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-limit-not-functioning/#post-5990992)
 * Please – No bumping allowed in the forums.
 * Please provide a link to your site so we can see what is happening
 * We are working on a new version of the plugin and will address issues
 *  [Ruth Maude](https://wordpress.org/support/users/dandelionweb/)
 * (@dandelionweb)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-limit-not-functioning/#post-5990998)
 * I have tested this myself and it works. As you haven’t provided a link I will
   mark this as resolved.
 *  Thread Starter [RM-WP](https://wordpress.org/support/users/rm-wp/)
 * (@rm-wp)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-limit-not-functioning/#post-5990999)
 * Sorry…I never seemed to see the original message. Here is a URL that is showing
   every outstanding event even though I chose 6 max to display.
 * [http://heatvolleyball.com/roster/17-heat/](http://heatvolleyball.com/roster/17-heat/)
 *  [Ruth Maude](https://wordpress.org/support/users/dandelionweb/)
 * (@dandelionweb)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-limit-not-functioning/#post-5991000)
 * You aren’t using the shortcode in the widget. You are using the widget that comes
   with The Event Calendar Plugin.
 * You need to replace the widget with a visual editor widget (Black Studio Tiny
   MCE widget plugin) and then put in the shortcode that you used to use [ecs-list-
   events limit=’4′ thumb=’true’]
 *  Thread Starter [RM-WP](https://wordpress.org/support/users/rm-wp/)
 * (@rm-wp)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-limit-not-functioning/#post-5991001)
 * Thanks for that info. I installed the (Black Studio Tiny MCE widget plugin) as
   you and added the following shortcode:
 * [ecs-list-events limit=’10’ order=’DESC’ viewall=’true’]
 * However, it still displays all the events and loses the CSS coding that the Event
   Calendar Widget originally displayed to match.
 *  [Ruth Maude](https://wordpress.org/support/users/dandelionweb/)
 * (@dandelionweb)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-limit-not-functioning/#post-5991002)
 * I’ve tested this repeatedly and the limit works. Can you try a number smaller
   than 10 and see if that makes a difference?
 * Can you check that your quotes aren’t curly quotes?
 * The plugin doesn’t add styling. You will need to add your own css.
    Events are
   listed in ul li tags with appropriate classes for styling.
    -  ul class=”ecs-event-list”
    -  li class=”ecs-event”
    -  event title link is H4 class=”entry-title summary”
    -  date class is time
    -  venue class is venue
    -  span .ecs-all-events
    -  p .ecs-excerpt

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

The topic ‘Shortcode limit= not functioning’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar-shortcode/assets/icon-256x256.gif?rev
   =3023752)
 * [The Events Calendar Shortcode & Block](https://wordpress.org/plugins/the-events-calendar-shortcode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar-shortcode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar-shortcode/reviews/)

## Tags

 * [limit](https://wordpress.org/support/topic-tag/limit/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 7 replies
 * 2 participants
 * Last reply from: [Ruth Maude](https://wordpress.org/support/users/dandelionweb/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-limit-not-functioning/#post-5991002)
 * Status: resolved