Apraksts
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.
Uzstādīšana
- 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
BUJ
- 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!
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Easy Inputs” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Easy Inputs” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.2.1
First release to the WordPress Plugins Directory
1.2.2
Sample code is confusing the WordPress plugin updater. Removing.