Excerpts in The Events Calendar Community

Home Forums Calendar Products Events Calendar PRO Excerpts in The Events Calendar Community

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1135033
    Simon
    Participant

    I would like to give my users the option to not just fill in an event description, but as well an excerpt, since these two fields don’t have to contain the same information.

    How can I set up the excerpt field under the description field on the event set-up page?

    #1135345
    Brook
    Participant

    Howdy Simon,

    I would love to help you with this.

    The first step would be add the field to the page itself. You can do this by following our Themer’s Guide . Specifically you would want to override /the-events-calendar-community-events/src/views/community/edit-event.php With an override in place for that file you can add a new field.

    I would give the new field the name/id of “excerpt”. If memory serves you will not even need to process the data submitted by this field, only add it to the front end. This is because we already have builtin the ability to process the fields the backend supports, including tags and I believe excerpt as well. So once you add the field and name it properly you will be done!

    Does that all make sense? Will that work for you? Please let me know.

    Cheers!

    – Brook

    #1141578
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Excerpts in The Events Calendar Community’ is closed to new replies.