Just like the title states. I’ve added around 20+ custom fields into my wordpress site and only around 10 are showing in the drop down.

The custom fields are all functioning fine on the site side, but they just aren’t showing up in the drop down.
enter image description here

2 Answers
2

There’s a limit set inside the function that lists the meta data.

http://core.trac.wordpress.org/browser/tags/3.1/wp-admin/includes/template.php#L512

Run a filter on postmeta_form_limit to increase to your desired value, eg.

add_filter( 'postmeta_form_limit', 'meta_limit_increase' );
function meta_limit_increase( $limit ) {
    return 50;
}

Hope that helps.. 🙂

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *