0
我有几个可从前面看到的自定义字段,当然,显示为输入文本框,但是我需要它们作为textareas。是否有可能改变如何customfields输出?如果是的话我会需要做的,使这种变化?在Wordpress中将自定义字段从<input>更改为<textarea>
我有几个可从前面看到的自定义字段,当然,显示为输入文本框,但是我需要它们作为textareas。是否有可能改变如何customfields输出?如果是的话我会需要做的,使这种变化?在Wordpress中将自定义字段从<input>更改为<textarea>
请阅读更多关于
get_post_meta(显示您的meta_data连接到后) http://codex.wordpress.org/Function_Reference/get_post_meta
update_post_meta(更新您的元数据链接到文章) http://codex.wordpress.org/Function_Reference/update_post_meta
isset(以有您的提交按钮update_post_meta(必须是在页面顶部)) http://php.net/manual/en/function.isset.php