开发者 | renventura |
---|---|
更新时间 | 2018年12月9日 08:08 |
WordPress版本: | 5.0 |
版权: | GPLv2 |
版权网址: | 版权信息 |
disable-gf-fields
to the /wp-content/plugins/
directoryOnce you've installed and activated the plugin, just add a the appropriate class to your field ("disabled" or "readonly").
Both attributes set a field to be uneditable by the user. This means that the field will not accept any input from a user. However, there are a few important differences between the two attributes. Here's a good overview of disabled vs. readonly attributes.
This plugin is very simple so it's unlikely you'll need support. If you do have any questions, feel free to email me.
$.prop()
instead of $.attr()
textarea
tagsinput
with the appropriate classes)