Easy Custom Fields
As this script is mainly meant as basis for developers it needs minor coding skills to add this functionality to your theme.
Considere uma alternativa
Easy Custom Fields shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 14 years ago, and scores 24/100 on our health check.
- Base de usuários pequenas (mais de 20 instalações ativas)
- Muito poucos comentários até agora
- Nenhuma atualização em 14 anos
- Only tested up to WordPress 3.3 (latest is 7.1)
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Easy Custom Fields stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| Campos personalizados | >100 |
| custom post fields | >100 |
| Post meta | >100 |
| post_meta | #87 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
About Easy Custom Fields
From the official readme · v0.6Descrição
Recursos:
- simply generate post boxes with multiple fields / groups
- easily validate/sanitize input and output data
- easy access to field data via $easy_cf->field_id->get() or $easy_cf->field_id->get( NULL, $raw=true );
- get error messages for validation failures via admin notices
- custom post type aware
- extendable to your needs by extending Easy_CF_Field and Easy_CF_Validator classes (see advanced usage)
As this script is mainly meant as basis for developers it needs minor coding skills to add this functionality
to your theme.
In order to make use of this class simply initialize it from the functions.php file of your theme as described below.
Simple Usage
require_once( WP_PLUGIN_DIR . '/easy-custom-fields/easy-custom-fields.php' );
$field_data = array (
'testgroup' => array ( // unique group id
'fields' => array( // array "fields" with field definitions
'field1' => array(), // globally unique field id
'field2' => array(),
'field3' => array(),
),
),
);
$easy_cf = new Easy_CF($field_data);
Advanced Usage
require_once( WP_PLUGIN_DIR . '/easy-custom-fields/easy-custom-fields.php' );
$field_data = array (
'testgroup' => array (
'fields' => array(
'field1' => array(),
'field2' => array(),
'field3' => array(),
),
),
'advanced_testgroup' => array ( // unique group id
'fields' => array( // array "fields" with field definitions
'advanced_field' => array( // globally unique field id
'label' => 'Advanced Field Description', // Field Label
'hint' => 'Long Advanced Field description', // A descriptive hint for the field
'type' => 'textarea', // Custom Field Type (see Ref: field_type)
'class' => 'aclass', // CSS Wrapper class for the field
'input_class' => 'theEditor', // CSS class for the input field
'error_msg' => 'The Advanced Field is wrong' ), // Error message to show when validate fails
'validate' => 'validatorname', // Custom Validator (see Ref: validator)
'advanced_email' => array(
'label' => 'Email',
'hint' => 'Enter your email',
'validate' => 'email', )
),
'title' => 'Product Description', // Group Title
'context' => 'advanced', // context as in https://codex.wordpress.org/Function_Reference/add_meta_box
'pages' => array( 'post', 'page' ), // pages as in https://codex.wordpress.org/Function_Reference/add_meta_box
),
);
if ( !class_exists( "Easy_CF_Validator_Email" ) ) {
class Easy_CF_Validator_Email extends Easy_CF_Validator {
public function get( $value='' ) {
return esc_attr( $value );
}
public function set( $value='' ) {
$value = esc_attr( trim( stripslashes( $value ) ) );
return $value;
}
public function validate( $value='' ) {
if ( empty( $value ) || is_email( $value ) )
return true;
else
return false;
}
}
}
if ( !class_exists( "Easy_CF_Field_Textarea" ) ) {
class Easy_CF_Field_Textarea extends Easy_CF_Field {
public function print_form() {
$class = ( empty( $this->_field_data['class'] ) ) ? $this->_field_data['id'] . '_class' : $this->_field_data['class'];
$input_class = ( empty( $this->_field_data['input_class'] ) ) ? $this->_field_data['id'] . '_input_class' : $this->_field_data['input_class'];
$id = ( empty( $this->_field_data['id'] ) ) ? $this->_field_data['id'] : $this->_field_data['id'];
$label = ( empty( $this->_field_data['label'] ) ) ? $this->_field_data['id'] : $this->_field_data['label'];
$value = $this->get();
$hint = ( empty( $this->_field_data['hint'] ) ) ? '' : '<p><em>' . $this->_field_data['hint'] . '</em></p>';
$label_format =
'<div class="%s">'.
'<p><label for="%s"><strong>%s</strong></label></p>'.
'<p><textarea class="%s" style="width: 100%%;" type="text" name="%s">%s</textarea></p>'.
'%s'.
'</div>';
printf( $label_format, $class, $id, $label, $input_class, $id, $value, $hint );
}
}
}
$easy_cf = new Easy_CF($field_data);
Note
If you’re not using auto_init then meta boxes need to be added individually using
add_meta_box( $group_id, $group_title, array( &$easy_cf, ‘meta_box_cb’ ), $page, $group_context );
and the save methods need to be initialized after adding all meta boxes using
$easy_cf->add_save_method();
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Easy Custom Fields alternatives
Todos os plugins de campos personalizados →FAQ
Easy Custom Fields: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Easy Custom Fields free?
Yes. Easy Custom Fields is free to download and use from the official WordPress.org plugin directory.
Is Easy Custom Fields safe to use in 2026?
Easy Custom Fields shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites and was last updated 14 years ago, and scores 24/100 on our health check.
How many websites use Easy Custom Fields?
Easy Custom Fields is active on 20+ WordPress websites and has been downloaded 10,164 times since it launched in May 2010. It was downloaded 85 times in the last 30 days.
Does Easy Custom Fields work with WordPress 7.1?
Easy Custom Fields is officially tested up to WordPress 3.3.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Easy Custom Fields last updated?
The latest version, 0.6, was released on July 11, 2012 (14 years ago).
Who makes Easy Custom Fields?
Easy Custom Fields is developed and maintained by Thorsten Ott.
What are the best alternatives to Easy Custom Fields?
The most popular alternatives to Easy Custom Fields are Advanced Custom Fields (ACF… (2M+ installs), Meta Box (500K+ installs) and Admin Columns (100K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
