Title: Display only current week
Last modified: August 24, 2016

---

# Display only current week

 *  Resolved [frgabriel](https://wordpress.org/support/users/frgabriel/)
 * (@frgabriel)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/display-only-current-week/)
 * I want to create a shortcode that displays only the events for the current week.
   Is this possible?
 * [https://wordpress.org/plugins/all-in-one-event-calendar/](https://wordpress.org/plugins/all-in-one-event-calendar/)

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

 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/display-only-current-week/#post-5961339)
 * Hello,
 * Please use the following shortcode:
    `[ai1ec view="weekly"]`
 *  Thread Starter [frgabriel](https://wordpress.org/support/users/frgabriel/)
 * (@frgabriel)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/display-only-current-week/#post-5961345)
 * Yes, but this still allows the user to navigate to future weeks. I want to stop
   the shortcode from displaying events further out than we have confirmed event
   times for.
 *  Thread Starter [frgabriel](https://wordpress.org/support/users/frgabriel/)
 * (@frgabriel)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/display-only-current-week/#post-5961346)
 * Preferably using the agenda view. Thanks!
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/display-only-current-week/#post-5961351)
 * It is not possible to limit the events to the current week in Agenda view, the
   only way is to hide the navigation with shortcode:
    `[ai1ec view="weekly" display_filters
   ="false"]`
 * Take care,
    Benjamin
 *  Thread Starter [frgabriel](https://wordpress.org/support/users/frgabriel/)
 * (@frgabriel)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/display-only-current-week/#post-5961388)
 * Unfortunately that shortcode isn’t hiding the navigation. Thank you!
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/display-only-current-week/#post-5961416)
 * You’re right, then try to hide with css, please add the following code into your
   wp theme css file:
 *     ```
       #ai1ec-calendar-view .ai1ec-pagination
       {
       	display: none;
       }
       ```
   
 * Take care,
    Benjamin

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

 The topic ‘Display only current week’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Benjamin](https://wordpress.org/support/users/bsokic/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/display-only-current-week/#post-5961416)
 * Status: resolved