Home › Forums › Calendar Products › Community Events › Removing Categories from Event Submission Form
- This topic has 6 replies, 2 voices, and was last updated 11 years, 5 months ago by David.
-
AuthorPosts
-
October 12, 2012 at 12:37 pm #26568DavidParticipant
I am running The Events Calendar/Community Calendar on a web site with separate member events and community events. I think I understand how to separate the two calendar views through the use of categories. However, I need to remove the categories selection box from the community event submission form as these will all be manually categorized as “community events” whereas all the other categories will only pertain to the chamber member calendar view which is edited manually by the chamber events coordinator.
Can this be done by editing the event-form.php file? And if so how?
October 15, 2012 at 7:38 am #26613CaseyParticipantDavid,
Try adding the following code into your themes functions.php file: https://gist.github.com/3892808Let me know if that does the trick. Thanks!
October 15, 2012 at 1:44 pm #26638DavidParticipantI had added the code you provided to my theme’s functions.php file, but did not see any changes to the community/add form, or the community settings options.
October 15, 2012 at 2:22 pm #26644CaseyParticipantDavid,
Sorry, I just realized that that code won’t work with the latest public version. That’s code that will work with the version that’s currently in development.So unfortunately, as of version 2.0.9, there is no way to hide the categories on this page. So sorry!
Let me know if you have any other issues that I can help with. Thanks!
October 15, 2012 at 3:01 pm #26652DavidParticipantOk… stupid question: Do you foresee any potential problems with an (albeit inelegant hack) display:none added to that specific div element in the template file event-form.php of the plugin?
October 15, 2012 at 3:06 pm #26653CaseyParticipantDavid,
I think that would be OK for now, but I would definitely implement the solution I posted above when the next version is released. Thanks!October 15, 2012 at 3:20 pm #26654DavidParticipantThanks… we will do that then.
-
AuthorPosts
- The topic ‘Removing Categories from Event Submission Form’ is closed to new replies.