Support » Plugins » WP Calendar category sorting

  • Hey community,

    This is my third attempt to figure out how I can separate WP Calendar entries into different categories when it’s pulled out on a page. I have a client that uses this calendar for a long list of events, which goes into 8 different categories. When added, they are assigned to its corresponding category.

    In stead of displaying a 3 meter long list on one page, how can I show events for one category on separate pages?

    My idea was to create a page-template where I ad some php code for getting and displaying the calendar categories on every page listing events, so it’s easy to switch between showing events in different category.

    Is there a good way to do this with use of the short codes, either in pages or in a page-template?

    Another thing, It doesnt seem like there is any calendar entries in the categories it’s assigned to. Anyone else have this problem, or is it just me crapping it all up?

    I’ll buy a coffee or 10 for the one getting me through this one,

Viewing 4 replies - 1 through 4 (of 4 total)
  • you can create a page for every categorie and use the tag {events_print; categories=”1,2,7″}. see the usage documentation for more information!

    Ok, thanks. I thought of that, but I didnt get categories to work. But I’ll it your way, thank you.

    hi community,

    i also want to sort on categories, but it didnt work, also with the tag {events_print; categories=”1,2,7″}
    when i am using this tag i see the complete calender.
    i have the events correctly categorised.

    [75 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    this is the code i got help with for output to a page
    cat. no corispond to the category title suppose you could chang this to suit your needs this useds 4 differnet categories ond puts them on a page under the category titles removing them when they have past

    Hope it helps

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WP Calendar category sorting’ is closed to new replies.