I'm currently building a WordPress theme with a Theme Options page. I used the original WordPress Theme (Twenty Twelve) as a basis and just adjusted and added as I went along. The problem I ran into is that the page does seem to save my default settings, but when I change them in the form and hit the save button, it still only pulls up the defaults.
This is my theme-options.php, originally in Pastebin but the link has expired, that is included in my functions.php.
您与您的命名fatum_box_one
,将选项数组中的 fatum_box_one 更改为eerste_box
等,并将您的 textareas 的名称从fatum_box_one[eerste_box]
更改为fatum_theme_options[eerste_box]
等。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.