The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
373 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 ...
7
votes
3answers
559 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
335 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
1
vote
4answers
990 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
612 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
193 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.
1
vote
1answer
4k 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 ...
10
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
114 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
732 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
78 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
207 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
234 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 ...
2
votes
2answers
169 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 ...
9
votes
2answers
1k 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 ...
0
votes
1answer
433 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
372 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
271 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
516 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
483 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
619 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
494 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? ...
1
vote
1answer
711 views

Securing wp-config leads to sensitive information leak on wp-settings

I read the following tutorial, which mentions moving your config file out of an HTTP-accessible folder. http://codex.wordpress.org/Hardening_WordPress#Securing_wp-config.php I did this, and it works ...
1
vote
1answer
293 views

Wordpress slugs and 404 handling takes preference over folders in site root?

I have wordpress installed and permalink structure set to /%postname%/ In addition to WordPress folders, I also have a public_html/beta folder where I wanted to copy the same site and test some ...
7
votes
2answers
2k views

How to display admin error notice if settings saved succesfully?

Title sounds counter-intuitive but bear with me. :) I have options page, made with Settings API. When user enters invalid data I want to display error notice with add_settings_error() call. But! To ...
2
votes
3answers
2k views

Where to hook register_settings for Settings API when also want to update options outside of Settings API?

The Settings API is a convenient way to add administrative options. Tutorials on the settings API hook register_setting to admin_init. But what if you also want to programmatically change the same ...
1
vote
3answers
3k views

Can't delete unwanted favicon

I have a favicon that is a remnant of a disactivated wordpress theme. I can't find the favicon file in the theme folder, or the wordpress or server root. I have added my own reference to a new ...
12
votes
3answers
9k views

How to get WordPress Time Zone setting?

Can someone tell me how to get the time zone that is set in the WordPress Admin? For example, if the blog is set to Eastern time, I need this exact string to print out: US/Eastern This is for a ...
5
votes
1answer
1k views

Best practices for a Style/CSS based theme options page?

I would like to create a theme options page based only on changing the site wide CSS styling. For instance body/container background colors, font-sizes, font colors, etc. I have accomplished this by ...
0
votes
1answer
340 views

How to add a new variable to blog creation form?

I'm trying to add a new INPUT field to the blog creation form on Buddypress. Adding the front-end element is the easy part. I'm having some hard time trying to save it. The variable is a string, and ...
4
votes
2answers
247 views

How To Provide Sub-Blogs Their Own Domain Names?

I ran a search that did not yield that many results. Is it possible, and how can each sub-blog of a multi-site installation be given its own domain name?
1
vote
1answer
273 views

why is unregister_setting() undefined?

trying to call unregister_setting('general','users_can_register'); so as to removed the option for allowing or dissallowing user registration (it is required in the theme, so it is set ...
1
vote
1answer
489 views

problems with wordpress and php version 5.3.3-1

I recently installed a server with new php version - 5.3.3-1 and when I imported wordpress site and database, there were some problems with plugin settings - some of them were reset. In pagenavi ...
1
vote
2answers
106 views

What changes we need to make to a theme so it can be installed as a MU Theme?

I downloaded the free Wootheme Irrestible and if installed on a stand alone Wordpress, works very well. Now, if we enable Multiple Sites on 3.x and set this theme to be the theme of a new site it ...
0
votes
3answers
350 views

Displaying the full text instead of post title

I've installed recently WordPress (I guess it should be 3.0? cannot find easily the version number) and my first post appears only the title (linked) and to see the full text one must click the title. ...
7
votes
2answers
269 views

Plugin for editing options on multisite?

does anyone know of a plugin for mass editing of settings on a multisite installation? Something like Plugin Commander for Settings?
3
votes
1answer
767 views

Is there a hook attached to general settings save?

I want to add a field to the general settings page, but I can not save the field because I can't find a hook for the pages save. Any ideas?
6
votes
3answers
8k views

How to get the Date Format and Time Format settings for use in my template?

This is a strange question, but I want to know how I can access the Date and Time settings Admin > Settings > General > Date Format Admin > Settings > General > Time Format I ...
5
votes
2answers
487 views

Modifying a JS file with data from plugin settings

I have a plugin that, among other things, has a javascript file that requires a few user specific settings. What would be the best way to get those settings into javascript from the plugin's settings ...