Get rid of Location details on Community Event page

Home Forums Calendar Products Community Events Get rid of Location details on Community Event page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #24866
    Andrew
    Member

    On my community add/edit form there is a header at the bottom called “Location Details”. There isn’t anything associated with the header so I’d like to remove it. What file needs to be edited to do so? I found reference to “Location Details” in /views/event-meta-box but removing it from that file did not remove it from my pages.

    #25008
    Jonah
    Participant

    Hi Andrew,

    What exactly did you change? If you are editing /wp-content/plugins/the-events-calendar-community-events/views/events-meta-box.php make sure you make a copy of this and place in an ‘events/community’ folder in your active theme folder.

    I hope that helps!
    – Jonah

    #25038
    Andrew
    Member

    On line 89 of events-meta-box.php I changed the class to “tribe_sectionheader2” and then set that class to hidden in my CSS. It still shows up though because “tribe_sectionheader2” isn’t being applied when I view the live page. I put events=meta-box.php in my events/community directory in my theme folder so it should overwrite the plugin version.

    #25039
    Andrew
    Member

    Stupid me, I named the file event-meta-box not events-meta-box. That’s what no sleep and too much programming gets ya. Thanks for the help. Needed a second pair of eyes. Great plugin!

    #25041
    Jonah
    Participant

    No problem Andrew, glad you figured it out! Let me know if you need anything else.

    – Jonah

    #977762
    Support Droid
    Keymaster

    This 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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Get rid of Location details on Community Event page’ is closed to new replies.