Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    There is no shortcode for that. Can you please provide a link to your calendar page.

    Thread Starter ssander0

    (@ssander0)

    Here is one of the many pages on which I want to do this:

    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

    Hi Steve,

    Have you tried to hide the toolbar using the shortcode [ai1ec display_filters="false"] ?

    Thread Starter ssander0

    (@ssander0)

    Yes…this removes one of the items at the bottom but not the category filter item at the top.

    Thanks.
    Steve

    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.