Customizer Framework
A lightweight and easy-to-use framework for the WordPress Customizer. Provides a simple and intuitive API for registering Customizer settings, including advanced control types. Automatically sanitizes settings based on…
Betrachten Sie eine Alternative
Customizer Framework shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
- Kleine Benutzerbasis (10+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- Kein Update in 12 Jahren
- Nur getestet bis WordPress 4.0 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Customizer Framework stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| customizer | >100 |
| framework | >100 |
| option | >100 |
| theme customizer | >100 |
| wrapper | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
About Customizer Framework
Aus der offiziellen Readme · V0.1Beschreibung
A lightweight and easy-to-use framework for the WordPress Customizer. Provides a simple and intuitive API for registering Customizer settings, including advanced control types. Automatically sanitizes settings based on the control type. Eliminates the tedious task of registering a setting, control, and sanitization function for each individual Customizer setting.
The framework may be used by both plugins and themes, although since at this time the settings are saved as theme mods, any plugin settings will be specific to the active theme. Support for option type settings is planned.
This plugin is currently in beta, and may be subject to major changes as it matures.
Issues and Support
Contribute to the project on GitHub.
Why a Framework for the Customizer?
The recent WordPress Customizer API suffers from some of the same issues afflicting the old Settings API. The Settings API was overcomplicated, unintuitive, and confusing. The result was a crop of theme option frameworks that have sprung up to make it easier for developers to create theme options. The Customizer API is a bit better, but it’s still more complicated than necessary, and registering Customizer settings is still a convoluted mess of settings functions, controls functions, and sanitization functions. Now, the ease of use which the theme option frameworks have provided for the Settings API is available for the Customizer, in the Customizer Framework plugin.
The Customizer Framework aims to be a lightweight wrapper around the convoluted Customizer API, which makes it fun to be a WordPress developer again. Developers can now focus their time on creating great themes that utilize the Customizer, not on writing 500 lines of code in order to create 10 Customizer settings. Okay, so I might be exaggerating a bit. But not by much. Do you really want to spend your time registering a Customizer setting, then registering a control for that setting, and then writing a sanitization function for that setting? And that’s only for one setting! And then there’s the advanced controls, such as image or color, that require you to instantiate their own control class, requiring even more convoluted and unintuitive code. And why should you even have to care about the differece between a setting and a control? Don’t you have better things to spend your time on, like creating great WordPress themes? I thought so.
Verwendung
Activate the plugin, or include it in your theme.
Before creating any settings, you need to create any new Customizer sections that you wish to use. Any custom sections need to exist before you can add settings to them.
Finally, initialize a new CustomizerFramework class, and add your settings:
function mytheme_register_settings( $settings ) {
$settings[] = array(
'id' => 'example_setting',
'label' => 'Example Setting Label',
'section' => 'example-section',
'type' => 'text', // Optional, defaults to 'text'
'default' => 'Example section default text', // Optional
);
}
add_filter( 'customizer_framework_settings', 'mytheme_register_settings' );
Setting Types
Here are the currently available setting types:
checkboxcolordropdown-pagesimageradioselecttexttextarea(requires WordPress 4.0)
The radio and select types require an additional choices parameter, containing an array of the valid choices:
'choices' => array(
'choice_1' => 'Choice 1',
'choice_2' => 'Choice 2',
'choice_3' => 'Choice 3',
),
'default' => 'choice_1',
In addition, on WordPress 4.0, you can specify any additional HTML5 input types, such as url or date. You can also include an atts parameter, containing an array of additional input attributes which should be applied to the input:
'type' => 'url',
'atts' => array(
'placeholder' => 'http://',
'class' => 'a-custom-css-class',
),
Sanitization
All settings are sanitized automatically, based on the setting type. If you wish to specify your own sanitization function for a setting, add a sanitize_cb parameter, containing the function name to be called, which should return the sanitized value.
'sanitize_cb' => 'my_custom_example_setting_sanitization_function',
Installation
Install like any other plugin. If you’re a theme developer, then you already know how to install a plugin, and I won’t bore you with the details. See Other Notes for usage instuctions.
If you’re creating a theme for public release, I recommend that you consider using the TGM Plugin Activation library to make it easy for your users to install the Customizer Framework after activating your theme.
You could also include the plugin it in your theme, but remember to check for the existince of the plugin version first to avoid conflicts.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Customizer Framework alternatives
All customizer plugins →Fragen und Antworten
Customizer Framework: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Customizer Framework free?
Yes. Customizer Framework is free to download and use from the official WordPress.org plugin directory.
Is Customizer Framework safe to use in 2026?
Customizer Framework shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 12 years ago, and scores 23/100 on our health check.
How many websites use Customizer Framework?
Customizer Framework is active on 10+ WordPress websites and has been downloaded 2,348 times since it launched in July 2014. It was downloaded 40 times in the last 30 days.
Does Customizer Framework work with WordPress 7.1?
Customizer Framework is officially tested up to WordPress 4.0.38, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Customizer Framework last updated?
The latest version, 0.1, was released on July 28, 2014 (12 years ago).
Who makes Customizer Framework?
Customizer Framework is developed and maintained by Philip Newcomer.
What are the best alternatives to Customizer Framework?
The most popular alternatives to Customizer Framework are Customizer Export/Import (100K+ installs), Custom Login Page Customizer (80K+ installs) and Customizer Search (40K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
