Title: Hide the views box
Last modified: September 1, 2016

---

# Hide the views box

 *  [ssander0](https://wordpress.org/support/users/ssander0/)
 * (@ssander0)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/hide-the-views-box/)
 * I would like to hide the views box (in order to only display posterboard view
   and prevent switching) on the calendar on one of my pages…but not all of them.
 * Obviously I could disable the other view globally, but I still want them available
   on the other pages.
 * Is there a shortcode attribute that can do that?
 * Thanks.
 * [https://wordpress.org/plugins/all-in-one-event-calendar/](https://wordpress.org/plugins/all-in-one-event-calendar/)

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

 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/hide-the-views-box/#post-7699930)
 * Hi,
 * There is no shortcode for that. Can you please provide a link to your calendar
   page.
 *  Thread Starter [ssander0](https://wordpress.org/support/users/ssander0/)
 * (@ssander0)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/hide-the-views-box/#post-7699934)
 * Here is one of the many pages on which I want to do this:
 * [http://ucwc.org/learning/](http://ucwc.org/learning/)
 * I want to display a single upcoming event of a single category in the text widget
   on the right sidebar…without any other calendar features (change month, category,
   etc.)
 * The reason I am doing this is that our normal “Sunday Service” display widget
   gets over-written whenever any calendar event is clicked on.
 * This was my work-around:
 * 1. Created a category call “This Week”
    2. Created events of that category that
   are the same as the Sunday services (which in this theme, are a separate entity…
   not regular events.) 3. Put a shortcode in the sidebar text widget that displays
   only 1 event of that category.
 * It works well…I just wanted to prevent people from changing the category and/
   or view.
 * Thanks.
    Steve
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/hide-the-views-box/#post-7700001)
 * Hi Steve,
 * Have you tried to hide the toolbar using the shortcode `[ai1ec display_filters
   ="false"]` ?
 *  Thread Starter [ssander0](https://wordpress.org/support/users/ssander0/)
 * (@ssander0)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/hide-the-views-box/#post-7700005)
 * Yes…this removes one of the items at the bottom but not the category filter item
   at the top.
 * Thanks.
    Steve
 *  [Benjamin](https://wordpress.org/support/users/bsokic/)
 * (@bsokic)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/hide-the-views-box/#post-7700044)
 * Hi Steve,
 * With the following CSS code it is possible to hide views and date dropdown only
   on “learning” page, you only need to use the page ID:
 *     ```
       .page-id-1802 .widget #ai1ec-container .ai1ec-views-dropdown {display: none;}
       .page-id-1802 .widget #ai1ec-container .ai1ec-pagination {display: none;}
       ```
   
 * Take care,
    Ben

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

The topic ‘Hide the views box’ 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/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [Benjamin](https://wordpress.org/support/users/bsokic/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/hide-the-views-box/#post-7700044)
 * Status: not resolved