- This topic has 2 replies, 2 voices, and was last updated 1 year, 9 months ago by .
-
Topic
-
Hi,
I’ve created a CPT and Meta Box. One of the metabox fields is a articlenumber(text-field) and I want it to list before the title and make it searchable.
The thing is: as soon as I add
'admin_columns' => array( 'position' => 'before title', 'searchable' => true, )
I can search on the meta-key but not on the default title anymore. The search also lists
Search results for “”
without the searched word. As soon as a remove the admin_columns array it works as WP should out of the box.Any ideas why this might happen?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.