The settings-api tag has no wiki summary.
4
votes
3answers
838 views
How should one implement add_settings_error on custom menu pages?
The Professional WordPress Plugin Development book explains in detail how to properly use the Settings API, and it also demonstrates how to add Menus and Submenus, but unfortunately it doesn't provide ...
4
votes
1answer
530 views
wp_editor() fields on Theme Options Page not saving
(This is sort of a follow-up to this question.)
I'm able to display the two WYSIWYG editors on my theme options page, but the values I enter into the editors aren't saved. I've read a ton of stuff ...
0
votes
1answer
113 views
Why isn't the Settings API designed to work for plugins using custom admin menus? [duplicate]
Possible Duplicate:
How should one implement add_settings_error on custom menu pages?
The Settings API offers all sorts of labour saving features and future proof code. I find it really odd ...
2
votes
1answer
62 views
Add Admin Menu Inside Construct or Init
I thought I was making headway in my WordPress Development education until I ran across the Boilerplate for WordPress plugins and it uses a class object. I'm fine with that and understand those ...
1
vote
2answers
64 views
Import / Export Settings API fields values?
I've been storing all my theme options using Settings API for some time now and it's lacking one functionality.
I have multiple pages (different servers) using my custom themes and I would love to ...
2
votes
1answer
176 views
How to use the settings API to set multidimensional arrays
I'm writing a course information plugin. Most course info is related to
to a post (a custom post type of 'course'), so I have put the majority of info in the postmeta table. But some info isn't ...
1
vote
1answer
218 views
Settings API erases itself?
I have two forms created using Settings API, and when I save one of them the other one gets erased and vice versa.
Here's the whole code so you could paste it into your functions.php file and see ...
0
votes
2answers
152 views
settings api store multiple array
If I am not mistaken, the settings api only storing one single data array in wp_options table. You can only change the field data in the array.
What if I want to add multiple array in the same table ...
0
votes
1answer
140 views
Settings API - getting hidden input / submit button's name
I'm generating this form using Settings API:
<form action="options.php" method="post">
<?php settings_fields('XX_theme_settings'); do_settings_sections('my_settings'); ?>
...