Gary Poor

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Hiding fields in The Events Calendar editor metabox? #129602
    Gary Poor
    Participant

    Hi Barry,

    Thanks so much for your quick reply yesterday! That definitely set me on the right path, and the problem is now solved.

    Just as an FYI, unfortunately, the tribe_events_meta_box_template filter approach didn’t work for me. I tried a variety of different methods, including this pastebin code that I ended up finding in another support thread you had helped someone else with (http://pastebin.com/dX6N2XDi), but I just couldn’t figure it out for some reason.

    My solution ultimately was to use add_action(‘admin_head’) in my functions.php file to enqueue a CSS stylesheet specifically set to appear on the admin/editor screen. Within that stylesheet, I simply used display:none and visibility:hidden to hide IDs and classes in the Tribe Events metabox.

    I think your plugin is absolutely wonderful, as is your customer support! My only constructive suggestion for a future version of The Events Calendar would be to add a display / hide set of options to the settings panel so that a user can hide and show metabox fields like this more easily without having to do any PHP or CSS tricks.

    Thanks again! I really appreciate it.

Viewing 1 post (of 1 total)