• When I created a new custom field key (the eleventh, I guess), the very first I had created disappeared from the drop-down menu. I thought maybe it was some sort of weird glitch, but when I added another key, the drop-down menu was shortened to ten items again (the second key I had added was dropped).

    Is there a way to display all keys in the menu? It’s just more convenient than typing them out everytime. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mumble

    (@mumble)

    Trying to bump this up on the list of threads (only this one time, promise). If someone could just tell me if the limited number of keymenu items is a feature, not a bug, I could maybe issue a request to change that. Otherwise, any ideas to the solution of this problem would be greatly appreciated. I had a look at the post.php file, but couldn’t find anything. Thanks for any help.

    Thread Starter mumble

    (@mumble)

    Found it. Should have looked there earlier.

    In wp-admin/admin-functions.php, I changed the LIMIT value in this bit:

    function meta_form() {
    global $wpdb, $tablepostmeta;
    $keys = $wpdb->get_col("
    SELECT meta_key
    FROM $tablepostmeta
    GROUP BY meta_key
    ORDER BY meta_id DESC
    LIMIT 10");

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom fields: limited number of keys in drop-down menu?’ is closed to new replies.