wordpress添加自定义模块
wordpress在发布文章的时候添加自定义模块面板,方便填写自定义字段信息!
代码如下:
$new_meta_boxes =
array(
"huanjing" => array(
"name" => "huanjing",
"std" => "",
"title" => "运行环境:"),
"zuozhe" => array(
"name" => "zuozhe",
"std" => "",
"title" => "