Support » Plugin: ICS Calendar » ics calendar widget

  • Hello everyone,

    is there a possibility to list the next events to the start page in a widget?

    Thans for help!

Viewing 1 replies (of 1 total)
  • Plugin Author room34

    (@room34)

    A widget layout is a planned feature in the upcoming pro version. In the meantime, you should be able to use list view in a sidebar. First you’ll need to add this line of code to your plugin’s functions.php file:

    add_filter( 'widget_text', 'do_shortcode' );

    Then you can use the shortcode in a Custom HTML widget. There are also some plugins for shortcodes in widgets.

    This isn’t going to be perfect, because ICS Calendar doesn’t have an option to show n events, just n days. But if you have enough events in your calendar, you could set limitdays="7" or something similar to just show the next week’s events.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.