Code wordpress wordpress更改POST类型 YangJunwei 8年前 (2012-09-20) 0 4497 0 有需要将 post_type 由 post 更改为 attachment,也就是将文章类型改为多媒体,相应的数据库表 wp_postmeta 也需要新增几项内容:_wp_attached_file、_wp_attachment_metadata