wordpress- Custom Fields missing from drop down list

124 views
asked Aug 22, 2012 in Website Builder by SunFun (3,000 points)
Hello
I have a wordpress website that has a drop down list of many custom fields. I have not added or modified anything new in my site recently and all of the sudden I have noticed custom fields missing from the drop down list.
Can anyone please help me trouble shoot this issue?
Many thanks

1 Answer

0 like 0 dislike
answered Aug 22, 2012 by ZakWeb (3,880 points)
Inside the meta data listing function there is a limit. Run a filter on the postmeta_form_limit in order to increase your requested value. Add the following code in your theme function.php file:

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