WPUF Form and Custom Fields in Post Edit
Author | Posts |
---|---|
November 26, 2013 at 9:18 pm 12888 | |
Daniel | Hi Tareq, is there a way to remove WPUF Form and WPUF Custom Fields from the Screen Option in the backend (for non-admin users)? I have posting in the Front-end but also have WooCommerce shop vendors in the backend adding products that don't need to see that stuff. Looked everywhere for setting default screen options for users (as plugin as well) to no avail. Thank you! Richard |
November 26, 2013 at 9:36 pm 12889 | |
k69rocks | Ok…if someone needs a solution, here ya’ go: 🙂 There might be a simpler way direct in WPUF Pro though… |
November 26, 2013 at 10:02 pm 12890 | |
Tareq Hasan | You could turn off every single meta box from the screen options. |
November 26, 2013 at 10:03 pm 12891 | |
k69rocks | And this would reflect is the options for every non-admin users? Then I must be a little silly. 😉 |
November 26, 2013 at 10:04 pm 12892 | |
k69rocks | *in* In other words, they wouldn’t be visible for them? |
November 28, 2013 at 12:31 am 12935 | |
Tareq Hasan | That would be based on every user. So may be it won’t be good for you. So you are better with that solution if that works for you. |
November 28, 2013 at 11:36 am 12974 | |
k69rocks | Thanks, Tareq. I ended up using Adminimize. I needed to add the wpuf form tag. ( #wpuf-select-form ) |
July 7, 2014 at 4:00 pm 23110 | |
Daniel | I would like to lift this question again. On content created via backend, I of course do not have these issues. Is there anywhere in the plugin where I can turn off the creation of the backend meta-box ‘WPUF Custom Fields’? And can’t this be an option in the WPUF settings in the next version? I think this could be valuable for us who have other plugins or who code our custom post types and meta boxes by hand. I run WPUF Pro 2.1.10 Greatful for any reply, and keep up the good work with this very solid plugin. |
July 7, 2014 at 5:21 pm 23115 | |
Daniel | OK, after a bit of experimentation, I found the function add_meta_boxes() in /admin/posting.php. (row 51-57)
Commenting out the contents of this function helped remove the generated metabox WPUF Custom Fields from backend, and the conflict was resolved. Still, would be nice to have this as an option in the settings though. |