WordPress.org

Plugin Directory

Just Custom Fields

This plugin add custom fields for standard and custom post types in WordPress.

Q: Where can I edit new fields for Posts or Pages?

A: After installation and activation of the plugin you will see new menu item under Settings > Just Custom Fields

Q: My site works slow, is it something wrong with your plugin?

A: Plugin files are included and affect only in WordPress dashboard and affect only Post edit pages and Just Custom Fields settings page. So it can't affect the site speed.

Q: How can i add my own component (new field type)?

A: first of all you need to create new php class for your field. Your class should be extended from Just_Field plugin class! You can start from copying the existing class /[plugins-folder]/just-custom-fields/components/input-text.php to your plugin folder or theme and update the code:

  • change class name
  • change class methods to use your specific controls and data.

Class structure is very similar to WordPress Widget API classes.

Then you need to include your new component file into your plugin main file or theme functions.php file.

And the last step:

  • add new action hook "add_action('jcf_register_fields', 'my_register_fields_function')"
  • add new callback function similar to this one:

function my_register_fields_function(){ jcf_field_register('YOUR_COMPONENT_CLASS_NAME'); }

Requires: 3.0.0 or higher
Compatible up to: 4.2.4
Last Updated: 2015-7-31
Active Installs: 5,000+

Ratings

5 out of 5 stars

Support

1 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
100,1,1 100,1,1 100,1,1
100,2,2 100,1,1 100,1,1
100,3,3 100,2,2 100,2,2
100,1,1
0,2,0 100,2,2
67,6,4
100,2,2 100,2,2
100,1,1
100,1,1
100,1,1
50,2,1
100,1,1