The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
82 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 ...
0
votes
1answer
111 views

Images not being generated at correct size

I have my WordPress Media settings set like so. Based on these settings no generated large image should exceed the width of 540px. I embed an image in a post like so. I choose "Large" as a image ...
0
votes
1answer
57 views

image URL changed in wordpress

I have moved a theme from local to live and the image URL's are showing my live localhost default url instead of the current live url. Any idea's on why and how to fix this? The site is live at ...
1
vote
3answers
135 views

Putting my site live

Can anyone help? I've been building a wordpress site in a sub directory of an umbrella 'development domain' if you will, and am ready to go live with the site. It's a single install of wordpress. ...
0
votes
2answers
2k views

Two “.htaccess” Files Located in Different Directories?

I found two ".htaccess" files, one is located in '/httpdocs/.htaccess', another one is located in '/httpdocs/wordpress/.htaccess', the content is different, is it normal? The Wordpress was installed ...
0
votes
1answer
133 views

is it possible to force wordpress to always save thumbnails as 'jpg' not 'png'

I cant see any settings and cant see much in the php api docs regarding this? for instance if the original file upload is a png wordpress converts to jpg
0
votes
1answer
79 views

Static Page redirects to Frontpage

There is a static page named pcmuskel.de/ratgeber. Trying to access this URL wordpress redirects me to the frontpage. I had this page set up as frontpage before but it didn't work. The frontpage ...
0
votes
1answer
331 views

Plugin options will not save in database

I'm not sure what's happening here, since this has worked in another plugin I've created. I'm simply trying to store data in the options table. Here is the code I'm using: function on_myplugin_start ...
0
votes
3answers
520 views

Override Current Theme Setting in wp_config.php

I am looking for a way to override the currently selected theme, preferably from within the wp_config.php file. I know you can override some wp_options settings in the config like define('WP_HOME', ...
1
vote
1answer
1k views

How to create a drop down list with pages to a themes options page?

I'm building a themes options page using settings API. Everything is ok, but i now i want to create a drop down list populated with pages and i don't know how to! For example, i have this piece of ...
1
vote
2answers
225 views

Good way to store content and settings for an RSS plugin

I am building an RSS reader plugin and I'd like some advice on how to store the data and settings for this plugin. The idea is to be able to enter a set of feed sources and associate each one of ...
4
votes
2answers
378 views

Blog Settings import/export in Wordpress Network environment

I can't use PHPMyAdmin to export/import my blogs from one server to an other because I'm using Wordpress Network. Export/import works pretty well for Posts, custom posts types and their media, but ...
-1
votes
1answer
305 views

Creating your own options-general.php page

I wanted to develop a duplicate General Settings Page instead of the built in one and all the settings on the built-in General Settings Page will also be displayed on the new General Settings Page.. ...
0
votes
4answers
804 views

No option “I would like my site to be private, visible only to users I choose” in Privacy Settings

I am running WordPress 3.3.2 self-hosted. I used to see the option "I would like my site to be private, visible only to users I choose" under Privacy Settings but I no longer see this option. Instead, ...
0
votes
1answer
543 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 ...
12
votes
3answers
2k views

How to add Custom Blog Options to new blog setup form?

Seems like a simple enough requirement, but I'm struggling: I want to add an option field to the "Add New Site". A simple text option is fine. How do I do this? I need to save this custom blog ...
0
votes
1answer
88 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
2answers
114 views

Static Front Page problem

My theme uses the front-page.php file to display a number of items on the front page including a slideshow and some featured items. I have also designed it so the static front page as set in the ...
3
votes
1answer
631 views

Settings API - save an array of options as one setting (array_push?)

1. Basic settings API callback. Using Settings API my $sanitize_callback validating function looks like: (...) if($type == "foo") { $valid_input[$id] = $option[$id]; } else ...
0
votes
1answer
267 views

Tabbed theme options query about add_settings_section callback function

I have been building a tabbed option page based on some tutorials I found, using the settings API. Here is the code http://pastebin.com/bbSnhFP5 . It's all actually working fine for me but it's not ...
0
votes
2answers
355 views

formatting horizontal and vertical images in Settings?

I have several custom media sizes we always use. vertical: 95x117, 130x160 horizontal: 440x304, 220x152 home: 260x160 Is there anyway to set the thumbnail, medium and large to vertical parameters ...
0
votes
1answer
473 views

Settings API validation callback

I finally managed to create working validation callback for Settings API with big help of Chip Bennet, there's only one glitch that I'm not sure how to fix. Here's the foreach loop from my validation ...
1
vote
1answer
1k views

Add an extra field to the navigation menu box?

Goal: I like to use a subtitle in the navigation bar. The most logic location, in my opinion, would be Appearance > Menu and add a field below navigation label called subtitle. So the end user can ...
5
votes
1answer
1k views

Settings API - easiest way of validating checkboxes?

I'm using Settings API and I can't get checkboxes to work, if they're set to "false" they're not even being $_POST and that's the point. Stephen Harris & Chip Bennett explained it, but I believe ...
0
votes
1answer
236 views

Add an option to a Child theme of Twenty Eleven

I developed a child theme of Twenty Eleven. I need additional theme options, so i added a theme-options.php file inside my child theme's folder. However, it appears the option page is still the 2011 ...
0
votes
1answer
230 views

Settings API - how to update options manually?

I'm storing all my options using Settings API: function registerSettings() { register_setting('XX_theme_settings', 'XX_theme_settings', 'setting_validate' ); add_settings_section('theme_options', ...
1
vote
1answer
228 views

Bulk theme settings in wordpress multisite

I have a multisite with 500+ subsites. I would like to install the same theme in all 500+ sites. Most of them requires configuration like selecting sidebar(left/right), Selecting primary menu etc. ...
1
vote
1answer
275 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 ...
5
votes
1answer
775 views

Settings API - creating reusable form elements?

I have a set of settings fields: (...) add_settings_field( 'Option1', 'Option 1', 'textarea', 'page1', 'plugin_options'); add_settings_field( 'Option2', 'Option 2', 'textarea', 'page1', ...
1
vote
1answer
294 views

Settings API - changing add_settings_field() output?

I'm using Settings API and wondering if there's any way of editing default output of add_settings_field() function? add_settings_field('the_field', 'bar', 'foo', 'page', 'section'); function ...
0
votes
1answer
136 views

Importing WP settings to another host

I am doing development and testing of a WordPress site on my local machine and have tweaked the WP settings accordingly using the GUI. Installation of WP on my host is easy however, I do not want to ...
5
votes
1answer
978 views

What's the difference between Options & Settings?

And which one should I use? What's the difference between Options API and Setings API? I have a theme with over 100 admin options, how should I register & store them? At this moment I'm using ...
1
vote
1answer
542 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
2answers
2k views

How should I use register_setting, add_settings_section, & add_settings_field in my plugin's options page?

I'm working on a settings section for my plugin, and after reading over Wordpress's documentation which is in ROGUH DRAFT status, and also the Creating Options Pages - which is also in "transition", ...
0
votes
1answer
223 views

Double slash in upload URLs

Wordpress is automatically adding a trailing slash to my custom upload folder in Settings ยป Media. This is causing upload URLs (for example, for images uploaded through the Media Uploader) to get a ...
0
votes
1answer
1k views

Changing max number of blog posts per page doesn't work

WP 3.2.1 Changing the max number of posts to show on each page via Settings->Reading isn't working. Could this reported bug be the culprit?
1
vote
1answer
234 views

Set Wordpress settings programmatically

Is it possible to set certain settings from the theme functions file for example the setting Enable threaded (nested) comments ca I set it to allow 2 as the answer without having the user go into the ...
1
vote
1answer
96 views

Woo Framework: woo_cat_featured not populating

In framework settings: $options[ 'featured_cat' ] = array( "name" => "Featured Category", "desc" => "Featured Posts will display in the main rotator on the homepage.", ...
1
vote
2answers
4k views

General Setting Allow Multiple Email Notification

WordPress Version: WordPress 3.2.1 Settings -> General http://www.hopekl.org/wp-admin/options-general.php I would like to have multiple email address in the Email Address textbox. I tried ...
0
votes
2answers
544 views

How to save user meta on custom admin page

I have removed the edit profile page from WP admin as I don't want users to be able to edit their details as this is a closed intranet and their details are fed from AD. However I do want them to be ...
0
votes
1answer
476 views

How can I increase the font sizes used by the WordPress visual and HTML post editors?

When I'm editing a post, the text looks too small. I want larger text while editing. Note that I'm not referring to increasing the text in the resulting post ... I mean the text as it is displayed ...
0
votes
1answer
553 views

wp_usermeta wp_usersettings

I would like to know what does these meta_value means for wp_usersettings meta_key in wp_usermeta table? meta_key: wp_usersettings meta_value: m1=o&m3=o&m0=o&m2=o Thanks
0
votes
1answer
188 views

How to add a custom form to a plugin's setting page

I have a settings page for a plugin which I created using this function: function vsp_create_menu() { add_menu_page( 'Visitors Statistics', 'Visitors Statistics', 'manage_options', ...
0
votes
1answer
283 views

How can I increase the post count for custom post types only?

I have the page count set to the default 10 in my reading settings menu. However, I use my template archive.php file for all post types, including posts and books How can I change the loop so that ...
1
vote
2answers
275 views

Possible to add another setting to 'Front page displays' setting for Custom Post Type

Let me set the scene: I have a CPT that will work on a multi-site installation and some of the sites will be in a different language. For example my CPT is Case Studies I would use a URL structure ...
4
votes
1answer
1k views

Get page ID of page that is set as the posts page

In WordPress settings you can set a page as the Posts Page. This can be found: WP-Admin->Settings->Reading Settings->Front page displays How do I retrieve the page ID that is set in this ...
0
votes
1answer
155 views

How can you store your option at the permalink settings page?

I followed the Settings API page and used the example to get the following code: http://pastebin.com/CUA7nLCR When I change $settingsPage to general, reading, writing, etc. this all works flawlessly ...
1
vote
1answer
398 views

Can't save checkbox option

I know this is a mess, but can someone tell me why I can't save to checkbox option in this plugin? /* Runs when plugin is activated */ register_activation_hook(__FILE__,'vigtigt_besked_install'); ...
1
vote
1answer
126 views

Plugin settings page template

When creating plug-ins for WordPress, there are times when you need to make a settings panel. Sometimes, you need more than one page, and they can be quite complicated. So far, I have been ...
2
votes
1answer
668 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 ...