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.
What Wordpress Workflow Needs
3 comments
page 1226
What Wordpress Workflow Needs
3 comments
page 1226
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
Fun With Sidebar Tabs Styling
2 comments
page 336
Creating Custom Urls
6 comments
page 80
Post Image The Easy Peasy Way
26 comments
page 1065
Updating Code Snippets Here
no comment
page 1338
Post Image The Easy Peasy Way
26 comments
page 1065
Using Your Own Url Shortener
4 comments
page 1190
Post Image The Easy Peasy Way
26 comments
page 1065
Quick N Dirty Admin Login Screen
no comment
page 128
Wordpress Chat
3 comments
page 1308
Fun With Theme Widgets
24 comments
page 867
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Post Image The Easy Peasy Way
26 comments
page 1065
My Experience Of Flexx
4 comments
page 1026
Post Image The Easy Peasy Way
26 comments
page 1065
Wpunlimited The Ultimate Wordpress Theme
3 comments
page 1141
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Premium Ithemes Review Photo Gallery
4 comments
page 226
Post Image The Easy Peasy Way
26 comments
page 1065
Post Image The Easy Peasy Way
26 comments
page 1065
Html 5 Gallery
6 comments
page 1305
Updating Code Snippets Here
no comment
page 1338
Quick N Dirty Offline Status
no comment
page 134
1 query every 1683 seconds, updated 1 seconds ago.