Allows for more existing custom field names to be listed in the dropdown selection field when writing a post.
WordPress only lists up to 30.
By default, this plugin lists up to 200. You can customize this value.
There are two ways you can customize this value (in both examples, change 100 to the number you'd like to use):
In your wp-config.php file (in the root directory of your blog), add the following line of code (making sure it is within the opening
<?php and closing
?> PHP tags):
define( 'CUSTOM_FIELD_NAMES_LIMIT', 100 );
Somewhere -- ideally in a mu-plugin or site-specific plugin, or less ideally your active theme's functions.php file -- hook the 'c2c_list_more_custom_field_names' filter and return the number you'd like:
add_filter( 'c2c_list_more_custom_field_names', create_function( '$limit', 'return 100;' ) );
Requires: 2.6 or higher
Compatible up to: 4.7.2
Last Updated: 3 weeks ago
Active Installs: 200+
Got something to say? Need help?