extra field in database

I have add a extra colmn in WP_posts mysql database.

Is there a way to show and add this extra column in my custom post type.

I don’t want to use meta because it is placed in another table “WP_postmeta”. I want to have al the content in one table.

The product information is imported from a .CSV this is why I want it in one table.

When I google for “Show and add textarea box in a custom post type” i only get the way to fix it with WP_postmeta. https:// wptheming.com/2010/08/custom-metabox-for-post-type/

Is there a way to fix this for the WP_posts table.

Read more here: WP_posts (Not meta) extra custom field column show and change it in a custom post type


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: