Widgets Generator

Overview

Use this tool to create custom code for Widgets with WP_Widget class.

Usage

  • Fill in the user-friendly form.
  • Click the “Update Code” button.
  • Copy the code to your project.
  • Or save it as a snippet and share with the community.

Examples

If you are still learning how to use this tool, check out the following examples:

The class name used in the code.
Unique string placed in front of root elements.
Translation file Text Domain. Optional.
Used in the code as HTML ID attribute.
Widget title.
The text that describes the widget.
The widget class name.
The widget output displayed in the front-end.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears after the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears after the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears after the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears after the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears after the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears after the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears after the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears after the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.
Select field type.
Unique ID used in the code.
Text appears before the field.
Text appears after the field.
Text appears within the input.
Default field value.
For select and radio fields. Set value|label, each fields in new line.

You must be logged in and have an active premium membership to use this generator.

Login     Join