• Resolved Dharmist

    (@dharmist)


    Hello,

    I’ve recently updated core plugin on my website to 2.5.2. I’m calling widgets manually on some of the templates because I need to filter them by categories depending on what page is currently viewed. The filtering worked great before, with the following code:

    the_widget( 'Ai1ec_Agenda_Widget', array('event_cat_ids' => array($cat->term_id), 'show_subscribe_buttons' => true, 'show_calendar_button' => true ) );

    (where $cat can be found earlier in the code).

    However, when I switch ‘Ai1ec_Agenda_Widget’ to ‘Ai1ec_View_Admin_Widget’ function (because the former is outdated), the filtering stops working. I get the same default event list no matter what event category ID I set. Is this a bug, or do I need to refer to an updated list of arguments, and if so, where can I find one?

    Thanks in advance, and thanks for the great plugin!

    https://www.ads-software.com/plugins/all-in-one-event-calendar/

  • The topic ‘Ai1ec_View_Admin_Widget instance won't use custom arguments’ is closed to new replies.