Posted: December 5, 2023 at 2:51 pm
yes it is
That is tricky, but you can customize the title using this filter.
The name of the event that’s displayed in the calendar is filterable via the WordPress plugin API
you can use php string manipulation, you can check some info here.
Thank you…we will try this.
Awesome, if you need anything, feel free to reach us again.
So, this would only work if the titles of events each had exactly the same number of characters in them. Our titles are all different lengths.
Do you know if Event Expresso would be able to support additional custom fields that could then be used on the grid style calendar? That might be another option where we could see about adding another title field for each event that would only be used in the grid style calendar display.
Not sure if that would have a lot of other potential unintended consequences though.
Any other ideas would be appreciated. As we are paying for the calendar and can not use it.
Sorry, I don’t follow here, may I ask why the length of the titles matters in regards to that hook?
You only want the event name to be used in the calendar? Something like this:
If you add more specifics on the issues with using the hook I can likely help point you in the right direction.
So this is what is in one block: (which includes our long title)
We added the hook to the functions.php file for the site and it really didn’t do anything.
it seems you have to use string manipulation? if you have the same pattern for all of your event, you can use something like this.
$renewtitle = substr( $newtitle, 0, $strpos_dash );
Awesome! if you need anything, feel free to reach us again.
The support post ‘Calendar Add on’ 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.