• Resolved antonio nardelli

    (@antonio-nardelli)


    Hi, after I installed the last wordpress update, there is a problem listing custom field in the write post admin panel.
    The list is not complete. It stops at letter “P”.
    With the plugin Types – Custom Fields and Custom Post Types Management i’ve seen all custom fields are there and are ok, but i can’t list all.
    Can’t find a solution.

Viewing 1 replies (of 1 total)
  • Thread Starter antonio nardelli

    (@antonio-nardelli)

    Hi, i’ve seen it is limited by default set to 30.
    The solution i found is to add this code in the functions.php template:

    add_filter( 'postmeta_form_limit', 'modify_the_nr_of_custom_field_names_in_the_dropdown_list' );
    function modify_the_nr_of_custom_field_names_in_the_dropdown_list($nr_of_list_items) {
        $nr_of_list_items = 50; // default: 30
        return $nr_of_list_items;
    }

Viewing 1 replies (of 1 total)

The topic ‘custom field problem after update’ is closed to new replies.