Описание
EasyInputs provides an error-free universal means of generating HTML form inputs. EasyInputs is a developers-only plugin that provides a helper for generating form inputs. It provides objects that represent both the Form and the Input, standarizing how your HTML form elements are created, speeding development of plugins and themes.
Установка
- Upload the easy-inputs directory to your site\’s /wp-content/plugins directory
- Include the easy-inputs.php file into your project with the below code:
`
require_once plugin_dir_path(FILE) . \’../easy-inputs/easy-inputs.php\’;
// You could either declare your object a global or include it into your
// plugin/theme\’s classes as necessary. Here, we declare a global:
global $ei;
// Instantiate EasyInputs, providing the two required settings:
$ei = new EasyInputs([
\’name\’ => \’easy-inputs-example\’,
\’type\’ => \’setting\’
]);
`
Please see the example plugin contained in the easy-inputs directory for further example code. Detailed notes can be found on the Github page for this plugin
Часто задаваемые вопросы
- Installation Instructions
-
- Upload the easy-inputs directory to your site\’s /wp-content/plugins directory
- Include the easy-inputs.php file into your project with the below code:
`
require_once plugin_dir_path(FILE) . \’../easy-inputs/easy-inputs.php\’;
// You could either declare your object a global or include it into your
// plugin/theme\’s classes as necessary. Here, we declare a global:
global $ei;
// Instantiate EasyInputs, providing the two required settings:
$ei = new EasyInputs([
\’name\’ => \’easy-inputs-example\’,
\’type\’ => \’setting\’
]);
`Please see the example plugin contained in the easy-inputs directory for further example code. Detailed notes can be found on the Github page for this plugin
- I don\’t see any way to activate this plugin. Why is that?
-
This is not a \»plugin\» in the traditional sense. It is for developers who want a toolbox with which to develop forms and inputs for WordPress administrative uses. THIS IS NOT FOR NOVICE OR NON-DEVELOPER USE!
- Is this plugin like Gravity Forms =?
-
NO! This plugin is designed for developers to speed the development of new WordPress projects and while it can do front-end forms, it is not a substitute for other plugins better designed for end users. DO NOT USE THIS PLUGIN UNLESS YOU UNDERSTAND PHP!
Отзывы
Нет отзывов об этом плагине.
Участники и разработчики
«Easy Inputs» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
УчастникиПеревести «Easy Inputs» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.2.1
First release to the WordPress Plugins Directory
1.2.2
Sample code is confusing the WordPress plugin updater. Removing.