Tagged Questions
0
votes
1answer
21 views
Building a simple “settings” plugin to change textstrings on the home page
I am trying to build a little settings area to change the strings of some text (image urls & links) on the homepage via the dashboard.
I have found a useful tutorial which provides the plugin ...
0
votes
1answer
41 views
Why is the Settings API is not saving my array of options
I am writing a set of classes to easily create options pages accessible via submenus of the standard WordPress menus and a way to easily create options for said menus. The way I am wiring it is via a ...
0
votes
1answer
145 views
Using wp_parse_args to set up Plugin Default Settings
So I want to have defaults set up for each of my plugins settings, and I'm using wp_parse_args to do so which I believe is the correct way, but I'm hitting a roadblock.
Here's my code at the moment:
...
0
votes
1answer
330 views
Saving multiple fields as array
I'm adding a settings section to a theme that will allow the user to enter testimonials which will be randomly displayed on the site. Each testimonial has 2 fields, author and testimonial, I've ...
0
votes
1answer
66 views
Need to add/remove group of options and display them as rows
I am creating a plugin which has 5 textbox for options. What I need to do is to treat these 5 options as 1 item, and being able to add more items.
I've always worked with static hardcoded options for ...
1
vote
1answer
455 views
How can I add an options page for my class based plugin?
I'm trying to use the new Settings API with a class based plugin to add a settings page. This is the code I have so far:
class simple_sample_plugin{
function simple_sample_plugin()
{
...
2
votes
1answer
498 views
Creating Settings Page with dropdowns for Plugin
I am setting up my plugin's settings page and I am able to get the fields I want on the page, but I want them to be dropdowns not textboxes... I have not found any useful info on the web on how to do ...
0
votes
1answer
215 views
Menu_slug used for creating options page
I am following this page on designing options menus: http://codex.wordpress.org/Administration_Menus
What is the significance of the menu_slug ?
I ask because when I change this value, the options ...
5
votes
2answers
432 views
What are the advantages to the Settings API?
Let me preface this by saying that I hardly ever work with WordPress - in fact, the last time I did a site in WordPress was back during 2.2. Yesterday I made quite a mess of everything and asked ...
2
votes
2answers
170 views
Wordpress Plugin Setting's POST
I've developed a few plugin for Wordpress. Currently I've not been able to replicate the way wp save settings. I've a setting page which I learned from a tutorial. It POST to option.php, and wp take ...
1
vote
2answers
396 views
What could cause my plugin's options/settings page not to load?
I'm having an issue with one site in which my plugin is installed. The "settings" page will not load. When I click on "settings", it loads the settings page but the page is blank after the "Upgrade to ...