Limit Characters in Event Title

Home Forums Calendar Products Events Calendar PRO Limit Characters in Event Title

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1513883
    Mary Fetterman
    Participant

    Is there a way to easily limit the number of characters can use in the titles of their events?

    #1515477
    Barry
    Member

    Hi Mary 🙂

    Though you’ve posted in the Events Calendar PRO area and have a valid license for that plugin, I see you also have a Community Events license. Does your question apply to that plugin (ie, frontend submissions via Community Events)? If so, the following snippet may be useful for you:

    https://gist.github.com/barryhughes/9317e5dbecbde0254e6c6bf14ef38b51

    This could be added either to a custom plugin (preferred) or else to your theme’s functions.php file.

    You can modify it to suit your needs, but by default it tries to stop users from creating titles longer than 65 characters. Let me know if that helps, or any other details that will help me understand your problem if not.

    Thanks!

    #1531893
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Limit Characters in Event Title’ is closed to new replies.