November 23, 2008
I came across a page on the codex today that showed me a way of creating admin pages that I didn’t know about before. This allows simple plugin settings page to be created that update themselves without any additional PHP.
By creating an admin page with the appropriate nonce, action, and page_options fields you create an options page that gives WordPress enough information to handle the form submission, save the options, and handle the redirect back to the same page again.
Before now I had been creating pages to do a lot of this manually.
You can read the full details about creating options pages on the codex.
Html 5 Gallery
6 comments
page 1305
Quick N Dirty Post Exclusion
11 comments
page 124
Using Your Own Url Shortener
4 comments
page 1190
My Experience Of Flexx
4 comments
page 1026
Html 5 Gallery
6 comments
page 1305
Wordpress Chat
3 comments
page 1308
Quick N Dirty Post Exclusion
11 comments
page 124
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Post Image The Easy Peasy Way
26 comments
page 1065
Post Image The Easy Peasy Way
26 comments
page 1065
Auto Cycle Fun With Sidebar Tabs
one comment
page 1129
Post Image The Easy Peasy Way
26 comments
page 1065
Wordpress Chat
3 comments
page 1308
Using Your Own Url Shortener
4 comments
page 1190
Custom Hooks For Admin Pages
one comment
page 430
Custom Hooks For Admin Pages
one comment
page 430
Wordpress Chat
3 comments
page 1308
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
How To Add Sidebars To A Theme
10 comments
page 1053
Post Image The Easy Peasy Way
26 comments
page 1065
Html 5 Gallery
6 comments
page 1305
Quick N Dirty Admin Login Screen
no comment
page 128
My Experience Of Flexx
4 comments
page 1026
Theming Habari Vs Wordpress
13 comments
page 440
3 Ways To Speed Up Your Blog Without A Cache Plugin
one comment
page 1321
3 Ways To Speed Up Your Blog Without A Cache Plugin
one comment
page 1321
Html 5 Gallery
6 comments
page 1305
Wordpress Chat
3 comments
page 1308
1 query every 1254 seconds, updated 1 seconds ago.