Ready to get started?Download WordPress


WP Calendar
[resolved] categories (3 posts)

  1. schotte
    Posted 2 years ago #


    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.



  2. schotte
    Posted 2 years ago #

    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.


  3. dsg257
    Posted 1 year ago #

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

    WP Show IDs

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic