The site I'm working on has many custom fields being used in it's pages. For some reason though, the list of custom fields that you can pick from the dropdown only displays the first 30 field names.

If I want to use an existing custom field that isn't, alphabetically, in the first 30, I have to manually type it in each time.

Any idea why?

  • Using WordPress 3.8 btw
    – Shawn H
    Jan 21, 2014 at 10:43

1 Answer 1


As explained here there is a WordPress limit of 30 for the number of custom fields that are available by default. But you can change the behavior as shown with the hook postmeta_form_limit in the below example.

add_filter( 'postmeta_form_limit' , 'customfield_limit_increase' );
function customfield_limit_increase( $limit ) {
    $limit = 100;
    return $limit;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.