WordPress.org

Support

Support » Plugins and Hacks » WP Calendar » [Resolved] [Plugin: WP Calendar] categories

[Resolved] [Plugin: WP Calendar] categories

  • schotte

    @schotte

    Hi,

    I cant manage to get an event list by category. Is this a bug?

    This is the function call from my template:

    fse_print_events_list( array(
    ‘categories’ => 1,
    ‘groupby_header’ => ‘ ‘,
    ‘template’ => ‘<h4>{event_subject}</h4><div class=”location”>{event_startdate}, {event_starttime}–{event_enddate} {event_endtime}, {event_location}</div><div class=”description”>{event_description}</div>’
    )
    ); ?>

    In the post section of wordpress I have entered 2 categories. With the default “uncategorized” there are now 3 categories in total.

    When I call fse_print_events_list for category 0 all are shown. When I use ID 1 or 2 no categories are shown. Of course I have created some events and put them into one of those 2 created categories.

    I also used the category names in the function call but it doesnt work either.

    Am I doing something wrong or is this a bug. Cant find any further information with Google or in the documentation.

    thx
    Albert

    http://wordpress.org/extend/plugins/wp-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • schotte

    @schotte

    OK, by looking into the mySQL database I found out the IDs of those 2 new categories. They are 8 and 9 – dont know why because WordPress only shows 3 categories. But maybe some other plugin has added those categories inbetween?!

    So problem solved. Maybe a feature request to use category names instead of category IDs.

    Albert

    this plugin give the ids on th posts-category page in admin

    WP Show IDs

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: WP Calendar] categories’ is closed to new replies.
Skip to toolbar