• For my site I use about 10 custom fields that i almost use for earch post. At default these custom fields are displayed in the admin like a dropdown box where I can select the custom field and add the value.

    It would be much easier when all the custom fields were displayed below each other so I can fill in the values directly.

    I searched for a plugin but couldn’t find anything. Any help would be highly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I was trying to do something similar in WP 2.8.X, but without any luck. To point you in the right direction look at the functions “_list_meta_row” and “meta_form” in “/wp-admin/includes/template.php” around line 2280. I think the problem is that WP saves the keys and their values ‘on demand’. So if you have an key called “more_info” on one post, but you haven’t added it to 2nd post WP won’t have “more_info” as a key associated with the 2nd post. Meaning there is no place in the database to save info to or reference it by. You can see what I mean if you look at the ‘wp_postmeta’ database table for your site. I was able to create the table with all the keys expanded even if they where empty, but I couldn’t figure out how to save the values.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Display all custom fields in wp admin’ is closed to new replies.