the_webscaper
Member
Posted 1 year ago #
Does the category for The Events Calendar have to be called "events"?
I have the Events Calendar up and running on my client's site (in progress). You can see the calendar at http://thecenterofsuccess.com/category/events/, it's working fine. However, my client wants the top menu button for the calendar say "Event Calendar" instead of "Events." I went to the Categories page, changed the category that events comes from to be named Event Calendar, and the page broke and I got an error. I did not change the slug, nor did I change the category ID. Just the display name of the category. As soon as I change it, the calendar will not display.
So - is it not possible to change the category name (and thereby, the menu button text)?
Thanks in advance,
Kym
We have an events category that's a normal category, not necessarily scheduled events. We didn't want the calendar taking over the category.
I found that if I opened the-events-calendar.class.php and change line 8 from:
const CATEGORYNAME = 'Events';
to
const CATEGORYNAME = 'Calendar';
It seems to work just fine.
the_webscaper
Member
Posted 1 year ago #
phazei - thank you so much! I saw that in the future plans for the plugin, they will support additional categories (yay!) but this will get me through for the time being. Appreciate the response!
DitesVERT
Member
Posted 1 year ago #
Not working for me... Is anyother work around possible?
A category named events doesn't look to great on a french website! :)
DitesVERT
Member
Posted 1 year ago #
Update : This solution will work if you turn of the Pretty URLs option.
How ever I could not get it to work with accents (événements)! Anyone?
Mr.bishop
Member
Posted 1 year ago #
Can this be used to have different categories in the calendar?
Hi Mr. Bishop, there is a post about this here.
Is a temp solution...
Hope it helps you.