Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there anyway to include fields in Screen Option? #623

Open
gurumark opened this issue Jun 19, 2015 · 6 comments
Open

is there anyway to include fields in Screen Option? #623

gurumark opened this issue Jun 19, 2015 · 6 comments

Comments

@gurumark
Copy link

Is there any way to include custom metabox fields in edit Screen Option tab? For example, you have many fields and you want to give users to remove the fields that they do not need.
Currently, it happens at the metabox level, not the field level.

@rilwis
Copy link
Member

rilwis commented Jun 20, 2015

Do you mean add option to Screen Options to toggle fields? If so, there's no such feature for now, but that sounds interesting.

@gurumark
Copy link
Author

Yes. I think it will be useful if users could turn on and off fields using Screen Options vs disabling whole block. I looked around and could not find anything in WP Codex. It could be implemented using JS.

@funkatron82
Copy link
Contributor

Couldn't you just separate your fields in different meta boxes and hide the meta boxes they don't need? I can easily see the screen options area getting cluttered with dozens of fields. Meta boxes can already be hidden so I don't think this feature is needed

@gurumark
Copy link
Author

The metaboxes are meant to be displaying interrelated data. If you hide the metabox, it will hide everything inside. We want users to have ability to disable what they want at the field level. The cluttering issue is not really a big deal. In addition, it will be useful to be able to select which ones go in there.
Thanks for your response in any case.

@funkatron82
Copy link
Contributor

Not sure it's the job of Screen Options, since that is more for showing and hiding sections/modules instead of individual items

@gurumark
Copy link
Author

There are many plugins implementing enabling/disabling fields/columns in Screen options. Besides I don't think Slug or Author can be considered a section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants