Support » Plugin: Events Manager - Calendar, Bookings, Tickets, and more! » Category list on Multisite

  • Resolved stratoblink

    (@stratoblink)


    Hi,

    I’m working on a Multisite installation of wordpress, and I’m setting up the events manager plugin on one of the network sub-site (not the main blog) with global tables active to share events accross the network.

    On this sub-site, I want to display the events category list and hide empty categories.

    I tried through shortcode option :

    [categories_list hide_empty=1 limit=50]#_CATEGORYNAME[/categories_list]

    And through php function :

    <?php if (class_exists(‘EM_Events’)) {
    echo EM_Categories::output( array(‘orderby’=>’name’,’hide_empty’ => true) );
    }?>

    But when hide_empty option is on, it never displays any cats whereas events matchs existing cats.

    How can I achieve this ?

    Thans by advance for your time and answer

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Category list on Multisite’ is closed to new replies.