WordPress:Creating Options Pages
查看全部产品文档命名空间:WordPress
Introduction
介绍
Creating custom options panels in WordPress is relatively easy.
在WordPress中创建自定义选项面板,较为简单。
Firstly, to create the menu item and the new page, see WordPress:Adding Administration Menus.
首先,请看看添加管理菜单,创建菜单内容和新的页面。
So long as you stick to this structure, WordPress will handle all of the option creation, update, saving, and redirection for you. It will check permissions, and do all that other magic behind the scenes.
只要你遵循这个结构,WordPress会处理所有的选项创建,更新,保存和更改的内容。WordPress会检查权限,并且在幕后操作进行许多其它神奇的操作。
Form Tag
表格标签
Once you have your page, you need to create an HTML form. Use this code:
创建了网页后,你就需要创建HTML表格。使用这个代码:
<p class="submit">