Hide unused fields from backend of plugin

Home Forums Ticket Products Event Tickets Plus Hide unused fields from backend of plugin

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1541401
    ugapresents
    Participant

    Hello!

    There are a few fields that I am not using to add Events to my website. Is there a way to ‘hide’ or ‘delete’ these fields from the backend?
    I have tried CSS but I do not know how to create a CSS file that would overrride the wp-admin or events calendar admin styles.

    For example — I do not need the ‘Event Website’ field on the backend when you add an event.

    The reason why this is important is because others with limited computer skills will be adding events and will be confused by the field, won’t know what to add, won’t see a URL display anywhere on the front-end, etc. , etc.

    I know how to achieve this by editing the admin-views of the plugin, but I don’t want this edit to be wiped anytime I update the plugin.

    #1542191
    Sky
    Keymaster

    Hi there,

    I think you might run into errors if you try to completely remove some of the fields, so maybe hiding them with CSS would be the best bet in your case.

    You can load a custom CSS file in the admin area using the ‘admin_enqueue_scripts’ hook. Here is a blog post that explains how to do it: https://davidwalsh.name/add-custom-css-wordpress-admin

    To figure out which CSS selectors to target, you can inspect the elements on the page using your browser tools. If you’re unsure how to create selectors with a higher specificity, just use the !important tag at the end of the style declaration.

    Hope that helps! Let us know if you have any further questions.

    Thanks,
    Sky

    #1558416
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hide unused fields from backend of plugin’ is closed to new replies.