AB Easy Options page
Wordpress plugin to add an option page
by Antoine Bernier · github.com/bernier154/ab-easy-option-page · website
★ 1stars
28release downloads
≈10active sites
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/bernier154/ab-easy-option-page/releases/download/v.1.0.3/ab-easy-option-page.zipDeclares an update source (https://antoinebernier.com/plugins/ab-easy-option-page/update), so updates arrive through the plugin's own updater.
From the readme
AB Easy Option Page
AB Easy Option Page is a dev oriented plugin to easily add an option page to a Wordpress website. I strive to make is as easy as possible to customize it via hooks. This plugin was created as a need for websites that didn't needed ACF but needed some sort of updatable option for the admins.
Usage
Register an option
Register the options you need in your functions.php.
| Arg name | Possible value |
| ------------- | ------------- |
| name | The nice name of the option |
| slug | The slugified name of the option. Only use letters and undescores. |
| type | The type of field. Accepts: text, email, tel, date, textarea, wysiwyg, number, image, checkbox, select, color. |
| description | The description show with the option in the admin panel. (Optional) |
| options | If your Option is a Select, provide an associative array of the options (Optional) |
Example:
Retrieve an option
| Arg name | Possible value |
| ------------- | ------------- |
| optionslug | string |
Example:
DEBUG information
If your option won't register, debug messages can be printed to the debug log.
To get the various message in the debug log, declar
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v.1.0.3 | Sep 7, 2024 | ab-easy-option-page.zip | 5 |
| v.1.0.2 | Sep 7, 2024 | ab-easy-option-page.zip | 9 |
| v.1.0.1 | Dec 5, 2022 | ab-easy-option-page.zip | 11 |
| v.1.0.0 | Dec 5, 2022 | ab-easy-option-page.zip | 3 |
| v.0.0.1 | Dec 4, 2022 | — | — |
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.