venkat_kotra
Forum Replies Created
-
Forum: Plugins
In reply to: [Admin Columns] Custom columns of custom post types doesnt show while addingThanks Jesper for the the response.
1. The meta keys start with an underscore (_), and are therefore hidden in the custom fields list by default. You can enable hidden custom fields via the settings screen (related topic).
Yes, after this setting, hidden fields started showing up. Thanks for this. But this wasn’t of much use because, if such a field is chosen, the value that shows up to admin is something like
{value}_field_1234567
where it supposed to show only{value}
. I guess it is the raw value as stored in the DB.2. The more likely reason: you have not yet added any posts (Artifacts). Admin Columns fetches the available meta keys from the postmeta-table. Thus, if there are no posts added after you’ve added the custom fields via Advanced Custom Fields, they are not found by Admin Columns and not displayed in the available custom fields list. Simply adding an Artifact post should solve this.
Reason is correct. It worked. After adding one Artifact post, the custom fields showed up in the list.
I am reluctant to call this a solution as this is more like a hack ??I will have to first enter one post, then add the admin columns then clean up the db, i.e delete the post before the product is delivered.
I should also make an effort to remember this. Appropriate would be to just allow for configuration and then it should just work out of box.
Nevertheless, your plugin is awesome. Is very helpful. You guys are doing a great job open sourcing this plugin. I am developing a website for a museum as a free service. Credit goes to you guys as well for opensource plugin.