How to change preset title text and excerpt for password protected events

Home Forums Calendar Products Events Calendar PRO How to change preset title text and excerpt for password protected events

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #68484
    David Dolenc
    Participant

    When an event is defined as password protected, it appears in the calendar as: “Protected: Event-Title”. And when the excerpt is shown when hovering over the event title in the monthly view, the event’s excerpt is replaced with the text “There is no excerpt because this is a protected post”.
    Is it possible to replace the text “Protected” as well as the above preset excerpt with a custom text and what is the best way to do this?

    #68759
    Barry
    Member

    Hi koladarcek,

    This is really something WordPress is doing, rather than The Events Calendar. You can modify the post title output though using the the_title filter, something like this.

    With the excerpt message you are again running into WordPress’s default behaviour, in this case you would probably find it easiest to override and customize the month/single-event.php template and follow this sort of approach.

    Does that help?

    #68851
    David Dolenc
    Participant

    Works great! Thank you for your help!

    #68896
    Barry
    Member

    Sweet – happy to help 🙂

    If there’s anything else please don’t hesitate to create a new thread (or threads).

    #981248
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to change preset title text and excerpt for password protected events’ is closed to new replies.