Home › Forums › Calendar Products › Events Calendar PRO › show all categories when posting a new event
- This topic has 4 replies, 4 voices, and was last updated 8 years, 6 months ago by George.
-
AuthorPosts
-
July 25, 2015 at 9:22 am #990267Tony AshParticipant
I was using this https://theeventscalendar.com/support/forums/topic%2Fshow-all-categories-for-new-event/?source=tri.be to show all categories but it no longer with with ECP 3.11.
What’s the best way to do this now?
July 27, 2015 at 7:27 am #990499GeorgeParticipantHey Tony,
Unfortunately, at this time this still requires editing a bit of core plugin code, which means that the change will be lost after the next update 🙁 But, I have made a development ticket for us to add a filter here, so hopefully we get that into the next release anyways (which would make this super easy to change! 🙂 )
For now, what you’ll want to do is head your Community Events plugin files and head to src/Tribe/Main.php there.
Once in this file, about 3/4 of the way down around line 1922 or so, you’ll see a function called formCategoryDropdown(), the one originally referenced in that thread you shared above.
Look for a line of code in this function that looks like this:
$shown_item_count = 9;
Simply change that 9 to 20, or 30, or some other high number like 99 or something, then save the file and it should show all the categories that exist.
I hope this helps!
Cheers,
GeorgeAugust 11, 2015 at 7:05 am #995041Support DroidKeymasterThis 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.September 3, 2015 at 3:31 pm #1001846LeahMemberHi there,
I wanted to report back to you on the status of this issue. Your report is tracked in our internal system and a fix is on our to-do list, but we were not able to fit it into our upcoming 3.12 release. Please know that the issue is still very much on our radar and we will be working on it for a future release. We appreciate your patience while we work to improve our plugins. Thank you for using The Events Calendar!
Best,
Leah
and The Events Calendar teamSeptember 4, 2015 at 3:30 pm #1002302GeorgeParticipant🙂
-
AuthorPosts
- The topic ‘show all categories when posting a new event’ is closed to new replies.