WordPress - Add extra column to wp_posts, and post to it
问题 I am trying to add an extra field in my Add Post or Add Page, where I insert the value of that field into a manually added column added in the wp_posts table in the database. I know that I can use Custom Field Templates, but the problem is that these custom fields insert the values into wp_postmeta and not wp_post, and I need everything for the single post in the same table. Any idea how to do this? 回答1: If you've already manually added the field to the wp_posts table, then you'll just need