Modifying meta boxes

Home Forums Calendar Products Events Calendar PRO Modifying meta boxes

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #902155
    Butch Roy
    Participant

    Is it possible to edit the meta boxes file by placing a copy in the theme, or is that just for the views? I would like to remove some of the meta stuff from the “Add Event” page like Event Location, Event Organizers, etc.

    #902355
    Brian
    Member

    Hello,

    It is possible to edit the views and single events information. If you follow our themer’s guide it will show where to move the templates to in your theme:

    https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/

    You can start by looking in this directory:

    the-events-calendar/views/modules/

    For the templates that control content on the single event pages.

    Let me know if you have any follow up questions.

    Thanks

    #904276
    Butch Roy
    Participant

    I meant on the back end. How can I remove the stuff from the “Events” meta box when I am adding a new event?

    #904636
    Brian
    Member

    Sorry, I am not sure I understand.

    Are you taking about the meta fields like All Day Event; or Venue Name:

    There is no way to change those fields by moving files to the theme. They are set as is.

    You maybe to hide some fields using css, but that is about it.

    #905161
    Butch Roy
    Participant

    Yes, the fields on the backend:

    View post on imgur.com

    #905508
    Brian
    Member

    We do not have any filters or actions to modify those fields it is not recommended you change any of those fields as it could break the plugin. You can add you own custom meta fields through a plugin or using WordPress functions as it is a Custom Post Type. If you did that though you would have to modify the front end templates to get those fields to show.

    #905527
    Butch Roy
    Participant

    OK. Using CSS to hide the stuff I don’t want seems to be the solution here. Thank you.

    #905539
    Brian
    Member

    Ok that is the method I would do if I wanted to hide something.

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Modifying meta boxes’ is closed to new replies.