WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Make all events default to same day (4 posts)

  1. ontariosea
    Member
    Posted 1 year ago #

    I am using Events Manager for a straightforward site for a series of events that will all happen on the same day. I am trying to figure out a way to customize the event submission form so that it will default to picking a particular date for every new event.
    Is there a way to do this with placeholders or is it something that will have to be solved with some custom php?

    If anyone has suggestions or can help that would be amazing!!

    http://wordpress.org/plugins/events-manager/

  2. angelo
    NetWebLogic Support
    Posted 1 year ago #

    you need custom php coding for this, you can modify template file at templates/forms/event-editor.php

    to use templates: http://wp-events-plugin.com/documentation/using-template-files/

  3. ontariosea
    Member
    Posted 1 year ago #

    Coding this is beyond me unfortunately. Can anyone help with the code that would do this?

  4. angelo
    NetWebLogic Support
    Posted 1 year ago #

    unfortunately, I don't have a working code or other similar snippet for this but basically you need to modify that template and to be specific templates:

    for normal event
    - wp-content/plugins/events-manager/templates/forms/event/when.php

    for recurring event
    - wp-content/plugins/events-manager/templates/forms/event/when-with-recurring.php

    and then add new javascript to auto check checkbox of all day

    to use templates: http://wp-events-plugin.com/documentation/using-template-files/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic