WordPress.org

Ready to get started?Download WordPress

Forums

Event Organiser
[resolved] How to edit calendar (4 posts)

  1. Bindissimo
    Member
    Posted 2 years ago #

    Hello,

    First I want to congratulate to the author, Stephen, for his great work. Thank you for sharing your work! Guys like you make WordPress such a great CMS.

    I have a little question. When I display the full calendar the events are displayed like "20:00 Event name". I would need to add the name of the category in front of it so that it looks like "Category: 20:00 Event name".

    Unfortunately I wasn't able to find the part which I need to edit. I would really appreciate if someone could tell me the file which I need to edit.

    Thanks in advance and best regards.

    http://wordpress.org/extend/plugins/event-organiser/

  2. Matt Barrett (corradomatt)
    Member
    Posted 2 years ago #

    I have this same question. I would also like to change the time displayed to am/pm rather than military time. How do edit the template for the calendar and have it so that the changes are not overriden when I update the plugin?

  3. Stephen Harris
    Member
    Plugin Author

    Posted 2 years ago #

    First of all, sorry @Bindissimo that I seemed to have missed your post.

    You can specify the a time format for the calendar by using the (not well documented :s ) timeformat attribute:

    [eo_fullcalendar timeFormat="h:i:a"]

    The time format should be specified in the [php format](http://php.net/manual/en/function.date.php);

    Unfortunately, it's not possible to add the event's category in front of the time. If you wish to edit the plug-in itself though, the relevant file would be frontend.js (see dev version of source). For documentation on how the calendar works, the plug-in uses the jQuery plugin, FullCalendar by Adam Shaw.

  4. Bindissimo
    Member
    Posted 2 years ago #

    Stephen, thanks for answering my question. Even without adding the category in front of the event, everybody is happy with the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic