Home › Forums › Calendar Products › Events Calendar PRO › Removing "Event Category" from the event meta info box
- This topic has 6 replies, 2 voices, and was last updated 12 years, 1 month ago by
Barry.
-
AuthorPosts
-
February 25, 2014 at 1:57 pm #109310
sciotomile
ParticipantHow would I go about removing/hiding the “event category” field from the meta info box that displays under the event description?
http://www.sciotomile.com/event-listing/red-white-boom/February 25, 2014 at 4:50 pm #109459Barry
MemberHi – great question. Can you try adding this snippet to your theme’s functions.php file and see if that helps?
February 26, 2014 at 8:25 am #109639sciotomile
ParticipantSorry this did not resolve the issue… I added the code to my theme’s functions, but the event category still displays in the green box.
February 26, 2014 at 3:58 pm #109908Barry
MemberOK, I’m not sure why it’s working for you, it certainly should (and a colleague confirmed independently that it works for them). Perhaps you could share your theme’s functions.php file – via Pastebin or Gist – in case there is some problem stemming from its positioning or something of that order?
(And if you are using caching, note that you may be seeing the cached result of a previous query and may need to clear the cache for this to take effect.)
Thanks!
February 27, 2014 at 7:58 am #110221sciotomile
ParticipantI don’t think it is a caching issue as I’ve added new events to the calendar and they still show the event category in the meta box. Here’s my functions file: http://pastebin.com/QuM60dNV
The code to remove/hide the event category begins on line 670
February 28, 2014 at 5:41 am #110745Barry
MemberHmm, I’m afraid in that case I can’t really assist you much further on this one – the code looks correct (and – though it generates some unrelated notices and warnings – if I use the entire file you shared to replace the default Twenty Eleven functions.php it works in that scenario, too).
With that in mind, I suspect something else is at play here in the context of your own installation – but, I’m afraid, we’d need to leave it to you to dive in to this in further detail (you could try our usual steps of switching to an unmodified default theme and deactivating all other plugins – then testing the snippet out in those conditions, for instance).
Sorry we can’t do more this time round.
March 17, 2014 at 7:02 am #119717Barry
MemberI’ll go ahead and close this thread: if we can assist with anything else please don’t hesitate to create a new thread and one of the team will be happy to help 🙂
-
AuthorPosts
- The topic ‘Removing "Event Category" from the event meta info box’ is closed to new replies.
