The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
203 views

Can't get plugin settings page to save data

have a simple plugin that inserts text (a Google ad) partway through the content of a single post. I'm trying to create a settings page that will let users change the ad code, and change after which ...
3
votes
1answer
64 views

How to Save Different Settings Options Using Settings API and/or the Theme Optimizer

I would like to allow users to save different versions in the options panel using the Settings API and/or the Theme Optimzer. For instance, imagine that I have styled my site using via an admin panel ...
1
vote
1answer
43 views

Save and retrieve custom plugin options value

I want to save the value of input data and retrieve it, I have gone through the tutorial of otto press. I'm new to creating WordPress plugin and what I can't understand is once I click the Save ...
0
votes
1answer
49 views

Incorporating the Settings API in WordPress Themes - by Chip Bennet

I am using the code by Chip Bennett to create a settings options page for my plugin. The problem is that I am getting a Warning error as indicated below that I cannot figure it out. Any help is ...
0
votes
1answer
34 views

How to add options for Pages?

I would like to show an input field on the bottom, everytime, when a user create a new page. How is it possible?
0
votes
1answer
47 views

options validator input is false?

I have a form that looks as such: <form action="options.php" method="post"> <ul class="nav nav-tabs"> <li> <a href="#content" data-toggle="tab">content</a> ...
0
votes
1answer
41 views

How to prevent options.php deleting valid existing data from the database

I am setting up a plugin and have used the setting API for the first time to create a form in settings. The data for the plugin is initially created by default when the plugin is activated and stored ...
-1
votes
1answer
22 views

illegal offset in option add

I downloaded a plugin to dissect that I could use to learn the settings api with. It's a simple background uploader and as you can see fairly straight forward. When trying to recreate it however using ...
2
votes
0answers
55 views

Is it safe to post form data via Ajax to the settings api? Am I missing something?

In my Wordpress Admin, I have my theme options set-up using the Settings API. I am trying to save the theme options form using Ajax so that the page does not refresh. The only thing i needed to add ...
2
votes
0answers
52 views

Tab from Settings API resetting all options with INSERT INTO

I have an Options menu created with the code from Chip Bennett tutorial, the old code, though, the one from like a year ago (the new one has a much better validation structure, but still, it works ...
1
vote
0answers
66 views

Settings API store serialized data in the database (The Right Way)

Im trying to learn Settings API and I'd appreciate if someone could clarify this for me. I want to store serialized data in the database. Im using a class to do all the work for me. Heres what I ...
1
vote
0answers
62 views

Remove default admin notification, Settings API

I have added custom error messages while saving WordPress plugin settings using the settings API method add_settings_error. It is working well, but the default message ("Settings saved.") is also ...
0
votes
0answers
20 views

Settings- API: Creating setting fields on-the-fly

In this tutorial about how to create a settings page, the author creates a select element with style display:none. <li class="front-page-element" id="front-page-element-placeholder" ...
0
votes
0answers
40 views

Letting user dynamically create fields using Settings API

I created a settings page, using the Settings API, following this tutorial. Now I want to have a button that lets users dynamically add fields, similar to the way it is done in this other one. I ...
0
votes
0answers
20 views

Adding new Settings Field to Appearence -> Menus using the Settigns API

I would like to add a 3rd text field to the admin page for custom menus called "Link Description" beneath the Navigation Label and Title Attribute Fields. I know that I need to use the ...
0
votes
0answers
23 views

Question about saving settings

I am using the Settings API to save some of my plugin options. I also have a notice in the admin related to the plugin, which basically shows once upon activation, and then can be dismissed at the ...