Title: short code, lists
Last modified: January 23, 2020

---

# short code, lists

 *  Resolved [colin_jump](https://wordpress.org/support/users/colin_jump/)
 * (@colin_jump)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/short-code-lists/)
 * Hi, I apologise if this seems a dumb question.
 * I have a list of past events which I use a shortcode to show:
 * [categories_list hide_empty=0]
    #_CATEGORYPASTEVENTS [/categories_list]
 * I want to limit the events to show only 10 events and the rest will appear on
   an archive page. At the moment it shows all the past events, I’ve tried various
   thing but nothing works, sorry if this is a quick thing just trying to get to
   grips with short codes.
 * thanks
    Colin
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshort-code-lists%2F%3Foutput_format%3Dmd%26view%3Dall&locale=en_US)
   to see the link]_

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

 *  [timrv](https://wordpress.org/support/users/timrv/)
 * (@timrv)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/short-code-lists/#post-12359431)
 * Hello,
 * Have you tried adding an attiribute limit=”10″
    ie: `[categories_list hide_empty
   ="0" limit="0"]`
 *  Thread Starter [colin_jump](https://wordpress.org/support/users/colin_jump/)
 * (@colin_jump)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/short-code-lists/#post-12360646)
 * Hi timrv,
 * Yes I tried that with no success, I’m really confused why I can’t reduce the 
   list, any other ideas?
 * thanks
 * Colin
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/short-code-lists/#post-12400148)
 * at the moment you can set it under Events > Settings > Pages > Event Categories
   > Event List Limits

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

The topic ‘short code, lists’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [?cat](https://wordpress.org/support/topic-tag/cat/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [Short Code](https://wordpress.org/support/topic-tag/short-code/)

 * 3 replies
 * 3 participants
 * Last reply from: [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/short-code-lists/#post-12400148)
 * Status: resolved