Comments (7)
If you want to help here, you can do a PR on the README.md
or provide a text-based list of object+fields+options on this thread.
from wordpress-fields-api.
There may also be a use for an /examples/
folder, with .php
files for each use-case, and the simplest forms for reference shown in README.md
, the more in-depth examples in the .php
files.
from wordpress-fields-api.
What's about custom fields for Menus screen?
from wordpress-fields-api.
Fair warning about menus: that screen currently sends ALL of the fields on the screen (including hidden ones, which are only hidden visually) as POST data, which currently causes serious problems with large menus.
from wordpress-fields-api.
I have hit this same wall with too many fields being submitted to PHP because of the default max_input_vars.
In the past, I've had to use JS to create JSON objects for each "row", in this case that'd be menu items. Anyways, still a significant hurdle to get past for Menu items.
from wordpress-fields-api.
Menus will no longer be an issue in a matter of weeks, hopefully :) I think we might actually wait on allowing any field extensibility there in the meantime so that we can leverage this when it's ready.
http://github.com/voldemortensen/menu-customizer/
I'd also love to be able to use this when creating widgets, not sure about the feasibility of that though.
from wordpress-fields-api.
Closing in favor of #22
from wordpress-fields-api.
Related Issues (20)
- Reduce complicated configs, use shorthand in forms HOT 1
- Add action to run container enqueue if method exists HOT 1
- Consider renaming 'Field' to another term to make things less confusing for Controls HOT 18
- Change Object Name to Object Subtype HOT 6
- Should Settings API be powered by Fields API, or should Fields API just implement the Settings API? HOT 4
- Feedback from @ericandrewlewis HOT 2
- Fields API breaks filter `taxonomy_parent_dropdown_args`
- Update multiple fields with one write
- Understanding WP_Fields_API_Form::register and add_form HOT 5
- What is the purpose of object type/subtype? HOT 2
- Can we register sections/controls/fields within a form all shorthand? HOT 1
- Extending WP_Fields_API_Container HOT 1
- Remove object_type param from form children containers HOT 1
- Add global `fields_get_{$object_type}` filter HOT 1
- Do you have a road map? HOT 7
- Best way to prep for this to be in core? HOT 22
- `registering-fields.md` is out of date HOT 1
- Use CURIE notation instead of subtypes
- Support client-side rendering: allow multiple renderers?
- Contributors section HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wordpress-fields-api.