Okay
  Public Ticket #1793390
Display only X events
Closed

Comments

  • romancretnik started the conversation

    Hi,

    I'd like to show 4 closest events on frontpage and then add a link "See all events" so the user has to open a new page to see the whole calendar.

    I tried with shortcode [stachethemes_ec views=agenda view=agenda show_views=0 show_top=0] but I don't know how to remove the top caledar bar and "Look for more" bar. I don't want users to see all events on the front page.

    Is it possible? It can also be the grid view...

    If yes, how?

  •  877
    Zhivko replied

    Hi

    Use this shortocode:

    [stachethemes_ec views=agenda view=agenda show_views=0 show_top=0 agenda_cal_display=0 agenda_get_n=4]


    In St. Event Calendar -> Fonts & Colors -> Custom style add:

    .stec-layout-agenda-events-all-control { display: none !important; }



    Stachethemes Developer

  • romancretnik replied

    Great. I'll try it out.