Posted: July 8, 2016 at 8:44 am
|
Hi there, I am trying to get another plugin to work with Event Espresso calendar and it’s almost good to go except for some labels. The author of the other plugin told me I need to get the filter for the event title, what is it for Event Espresso? Because I need to create my own filter like this: Thanks for any help. |
Hi there, I checked and it turns out there isn’t a filter for the event title in the calendar. We can add one though. Are you looking to change the actual text of the event title with your filter function? |
|
|
Yes, that would be exactly what I need! There’s actually 4 areas where I need it, not sure if they’d be the same or not: |
The excerpt would be a different filter. I guess in order to make sure we add the filters to the right place it’d be really good to know what exactly you’re looking to change and how. |
|
|
This is the full code the plugin author gave me to use for the titles:
Right now the titles are showing with all different languages at one time, but with this apparently it will fix it. |
Thanks, we’ll see what we can come up with. |
|
|
HI there, any update or progress on this? Hoping to have something as I have time-sensitive thing due very soon. Thanks for looking into it! |
Here’s an early copy you can download: The above branch adds the following two new filter hooks:
|
|
|
HI there, the link is broke, can you double check it, thank you! |
Sorry about that. I gave you a link to a private github repo. Here’s a Dropbox link that you can download: |
|
The above listed filter hooks are included in the latest update of the Calendar add-on (v.3.2.7). |
|
|
Thank you, yes it did indeed work great on the calendar! However, there is still a few areas where I need it to do the same thing as I mentioned above. It is still showing multiple languages at the same time for: Is there a way to use something similar to what was used for the event calendar for everywhere the event titles are shown? Thanks so much for your help thus far. |
We’ll need to add a filter hook to those areas as well. |
|
|
Hi there, are there any updates or progress on this? Thank you. |
No not currently. We invite anyone who’d like to contribute code to this feature to open a pull request on our Github project. |
|
The support post ‘What is the php filter for event titles?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.