The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
148 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
1k 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
591 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
246 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
2k 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
2answers
342 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
97 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
5k views

General Setting Allow Multiple Email Notification

WordPress Version: WordPress 3.2.1 Settings -> General http://www.example.org/wp-admin/options-general.php I would like to have multiple email address in the Email Address textbox. I tried ...
0
votes
2answers
725 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
565 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
672 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
200 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
315 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
304 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
3k 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
168 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
525 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
148 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
798 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
467 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 ...
8
votes
3answers
601 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 ...
0
votes
2answers
110 views

How to exclude my home page from url of my internal pages?

I just definsed at Setting> Reading a page I have created called "home" as my homepage. The change was ok, but since them all my internal pages url shows an extra /home/in their urls. How can I avoid ...
0
votes
2answers
378 views

/%post_name%/ or /%postname%/ in Permalinks?

In Settings-->Permalinks is there any difference between: checking Custom Structure and using: /%post_name%/ or /%postname%/ Are they both correct? Will they both work? Thank you. -Laxmidi
2
votes
4answers
1k views

Duplicate settings of master blog to slave blogs in WP multi-site installation

Is there any smart way to set a site (blog) as a master, which settings are replicated to the rest of the sites in the network? There are plugins like this one: YD Network-wide WPML that attempt to ...
1
vote
2answers
764 views

Custom settings disappear during database migration?

I've noticed a problem that pops up occasionally when moving a WP install from one place to another (usually the same server.) I copy all the files to their new location, get a mysql dump, update all ...
0
votes
1answer
194 views

I am not able to enable jQuery in theme settings

I have tried to - enable Use jQuery & then save changes. But after saving changes, checkmark Use jQuery automatically unchecks itself. I am not sure whats going on. Please help me here.
2
votes
1answer
5k views

How to make WordPress use new Upload Path settings in Multisite Setup

I have a site that is setup for WordPress multisite. The main site works, but the subdomains are not functioning as I would like them to. Here are the settings for the main site: Upload Path: ...
6
votes
1answer
2k views

How to pass arguments from add_settings_field() to the callback function?

I have a function like this: add_settings_field( 'contact_phone', 'Contact Phone', 'settings_callback', 'general'); That works. It calls settings_callback. Cool. The problem I have with this is: ...
2
votes
1answer
1k views

How to upload images using Settings API

I want to allow users to upload images for use in a rotating banner. I tried using the media library, but didn't get much help ... So I thought, I'd just implement the upload myself. But I encountered ...
11
votes
2answers
2k views

How to pass variable to add_settings_section() callback?

I am attempting to automate, as much as possible, the Settings API function calls for each setting in a Plugin. Looping through the options array, and outputting add_settings_section() and ...
1
vote
1answer
120 views

How to tell if plugin has been network activated

I have the following lines of code that add the settings link and setup for my plugin: add_action('admin_menu', array(&$this, 'admin_settings_menu')); // Add menu to options ...
3
votes
2answers
871 views

Theme Options page with tabs

I have a theme that I'm developing from an HTML template I have. I'm also designing an options page along with a plethora of plugins built-into the theme itself. I've chosen a tabbed interface and I'm ...
0
votes
1answer
82 views

Settings API no update status? (refering to the yellow bar when you save settings)

I just created some settings for my theme ... not perfect, still learning ... http://pastie.org/1988772 I am expecting the "Settings Saved" yellow box Do I need to do something on my part?
2
votes
2answers
214 views

Need help understanding/coding with Settings API

So I did something like below, but I get just (I am expecting a Facebook textbox?) I hope its not too messy. I am new to Settings API ... add_action('admin_init', function() { ...
17
votes
2answers
2k views

'Global' settings page for multisite plugin

I'm working on a plugin that will be installed in a multisite instance. How do I create a single settings page that is visible at the "Network admin" level only - most of the guides i've seen relate ...
2
votes
2answers
244 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 ...
4
votes
3answers
1k views

Add_settings_field() parameterizing callback?

I'm trying to create a rather large and extensive settings page with various options of very similar type. Since there will be about 20 different fields, and the differences between most of those ...
3
votes
2answers
195 views

Why might $input (Settings API) be coming through empty?

I'm trying to be a good thememaker and pass all my settings through the Settings API, but I'm running into some difficulty in the sanitization callback function. The core of the problem is this: the ...
4
votes
2answers
2k views

Moving WordPress.com theme and widget settings to self-hosted site?

Possible Duplicate: Migrating from WordPress.com to self-hosted site and autoforward visitors? How can I move theme and plugin (widget) settings from a WordPress.com site to a self-hosted ...
10
votes
2answers
2k views

How to add field for new site-wide option on Network Settings screen?

I'm working on a plugin, and part of it involves setting an option value that applies to all sites in a WordPress network. I know about the add_site_option and get_site_option functions that let you ...
1
vote
1answer
472 views

Network-Wide Plugin Settings Management

I'm using Wordpress 3.1.2, and have three blogs in a wordpress network. I would like to change some settings for a specific plugin, but have the changes applied to all the blogs on the network. I ...
1
vote
1answer
452 views

Theme settings keep getting reset/erased

I bought a theme from Themeforest called Anan. I am currently hosting the site on Bluehost. Here's the problem: every few days the theme settings keep getting erased (reset) so I have to re-upload ...
2
votes
3answers
280 views

Clone plugins (and settings) to new installation?

Is it possible to clone the plugins and settings from a WordPress site to a new fresh install? I don't want any of the content from the original site I just want all the plugins used and their ...
0
votes
1answer
560 views

Using call_user_func() within add_settings_section() within a Class

I am trying to add_settings_section() by supplying a callback with parameter as follows: class warpress_progression_plugin { function warpress_progression_plugin() { $this->__construct(); ...
1
vote
2answers
551 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 ...
0
votes
2answers
702 views

PHP class to add pages and fields in admin panel

I'm trying to build a little class to help build some simple input fields into a custom page in WordPress admin panel, here's what I've got: <?php class create_panel { public $default_settings = ...
2
votes
3answers
1k views

Multisite: setting theme and options when a new blog is created

When a new blog is created in a WP Multisite instance I want to be able to set the default theme and configuration options create 2 menus (main and secondary) and associate them with the 2 slots ...
4
votes
2answers
523 views

Submenu pages delete settings from options array when saved

I'm writing a theme and adding a menu with several submenu pages. It works fine, except that I'm trying to use only one array to save all the settings into the database and this is causing some ...
0
votes
3answers
2k views

Can't save options

I created theme options page using Settings API, everything works fine but I can't save options. I tried to figure it out where I missed something but I failed. Any idea what can cause this problem? ...