WordPress.org

Forums

Event Calendar 3 -> filter category (5 posts)

  1. ps3hero
    Member
    Posted 4 years ago #

    i installed "event calendar 3" and this plugin is very good. only thing i miss is to get events filtered by category (events are normal posts in this plugin). i have this in my template:

    <li>
                <h2>Events</h2>
    			<?php
    		    ec3_get_events(
    			31,                                      // limit
       			'<a href="%LINK%">%AUTHOR% %TITLE% (%TIME%)</a>',// template_event
       			'%DATE%:',                              // template_day
       			'j F'                                   // date_format
    			);
    			?>
                </li>

    the number "31" for example says that the events of the next 31 days are shown. the main-category for the events is "events", but i have more events like "music" or "film" they are sub-categories. all i want to do now is filter this out so that i am able to show only the events of the category "film" in a template. i found this:

    ec3_get_events(limit,"3,4"); (http://penguin.firetree.net/pipermail/eventcalendar/2007-October/002583.html) but it won't work … :-/

    any idea

  2. dvent
    Member
    Posted 3 years ago #

    did you ever get a response to this?

  3. ps3hero
    Member
    Posted 3 years ago #

    no. i have build my own event calendar function with the help of a tutorial. i tried 30 plugins but none of them gave me the ability to handle events for several categories.

  4. dvent
    Member
    Posted 3 years ago #

    oh!

    is this anything you can share with me or point me to the tutorials? I am also looking to implement a calendar with multiple filters / categories.

    dvent

  5. ps3hero
    Member
    Posted 3 years ago #

    here is on epart of the tutorial:
    http://www.problogdesign.com/wordpress/an-updated-wordpress-events-list/

    but i remember that i had to expand it a little. if you want i can send my theme to you (email).

Topic Closed

This topic has been closed to new replies.

About this Topic