The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
1answer
822 views

Allow spiders to crawl my site (selectable option in wp)

I was creating a site for testing and i selected an option when setting up wp that essentially disallows my site from being indexed/crawled. I would now like it to be crawled like normal, but i cant ...
3
votes
4answers
3k views

How to Create a Custom WordPress Install Package?

I downloaded the latest version of WordPress (3.5) and created a custom theme. I plan to upload and install it for multiple clients. Is it possible to customize the default settings such as not have ...
0
votes
1answer
143 views

Filtering a Database Query

In a WP_List_Table example I'm using, I am seeing how to make a general query to the wp_options table in the Wordpress database. For example, $query = "SELECT * FROM $wpdb->options"; I also see ...
1
vote
0answers
124 views

How to store options in an array

I am creating a custom table to display selected options for a page called "Testimonials". The user will enter their options on a "manage testimonial settings" page, and then those options will ...
1
vote
1answer
586 views

Enqueue Javascript Correctly for 3.5

I am trying to create tabs for admin settings page in wp, but I think I'm doing it wrong. The example below shows how I did it but I don't know how to change this to use it correctly with no conflict ...
0
votes
4answers
661 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 ...
0
votes
1answer
136 views

Set a hard-coded page-template (post-type-archive) as home/front-page of my wordpress blog?

under Settings->Reading I can set which page should appear immediately when visiting my site as "home-page". In my case I want the archive of my custom-post-type named "events" as home/front-page of ...
2
votes
1answer
415 views

WordPress (+WPMU) Import/Export ALL settings?

As we all know WordPress does not import Widgets when you import content with [Tools > Import] and I'm wondering what kind of script could do that? Database has more than just 1 single information ...
0
votes
1answer
205 views

Wordpress custom permalinks not working on OS X localhost

When changing premalinks, none of the pages and links are not working except home page :( Result are shown below. Thanks in advance.
2
votes
2answers
114 views

How to display some settings for super admin user only using Settings API

I'm developing a plugin with an options page using the Settings API. I'd like to have one options array stored for my plugin, but on the settings page, I'd only like some of the settings to be ...
0
votes
2answers
92 views

How do I get blog posts to appear within CMS?

I'm working with a WordPress CMS website that was set up without a blog. I want the site to continue to function as it has, with mostly static pages, including the home page. I want a page called ...
0
votes
2answers
76 views

Best place to store company address

Ok I'm creating a site for a company, this company will have multiple users. In the footer I am trying to include the company name, phone and address but not as a widget. I need to store the ...
0
votes
1answer
233 views

Page Options Saving But Not Updating In Backend

I have created a custom options page for a slider that you can upload slides to. Everything works great except when trying to save the data. It will get saved and I can use it on the front end. But ...
3
votes
1answer
213 views

Inherit plugin settings to new site in Multisite

I use the Breadcrumb NavXT plugin for a WP Multisite. I activated the plugin for all sites so I can use it throughout my network. My problem is that every time I add a new site I have to change the ...
1
vote
0answers
148 views

BuddyPress | How to merge the “setting” & “profile” pages into one page? [closed]

In BuddyPress I would like to merge the register.php and setting.php files into one "register.php". Is that possible? I don't want to change my Name, City and Address then go to the setting page to ...
0
votes
1answer
26 views

Localise settings section headline

Assuming i've got a bunch of setting sections. I add these sections to my plugin page in the following way. $sections = array('notifcations', 'updates'); foreach ($sections as $section) { ...
0
votes
1answer
222 views

How to add a Reset to Defaults button with Settings API?

How can I add a reset button when using the Settings API? I've have something like this that's storing my defaults: $slider_options = get_option( 'nextslider_options' ); /* Define the array of ...
0
votes
1answer
473 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: ...
3
votes
1answer
88 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
120 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
61 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
146 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
3k 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
166 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
82 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
457 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
744 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
2k 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
230 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
416 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
389 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
1k 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
677 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
95 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
119 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
707 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
297 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
410 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
568 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
300 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
271 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
258 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
290 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
934 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
358 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
147 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 ...