The tag has no wiki summary.

learn more… | top users | synonyms

15
votes
4answers
12k 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 ...
0
votes
0answers
8 views

Is there any way to change WP download limit?

I know that this plugin change something that allows WP to download any file from your server: https://github.com/wp-plugins/download-manager But I only want to know the way for do that. I don't ...
0
votes
0answers
48 views

Stuck in a Redirect Loop

My Wordpress site is stuck in a redirect loop and I can't now access it. I recently purchased an SSL certificate which my site host says is installed correctly and points to the correct place. I ...
0
votes
0answers
14 views

Trying to change settings -> firefox downloads options.php instead

I just ran into some trouble with my wordpress installation. I tried to change a setting in the backend, but when I hit save, instead of saving my settings, the download dialogue opened; it said I was ...
0
votes
4answers
727 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
16 views

Settings in functions.php used by a plugin

I'm writing a simple plugin and want some settings in an array in the functions.php file. I'm thinking of adding this in the theme functions.php $test = array('haha' => 'hehe'); my_function( ...
1
vote
1answer
222 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.
1
vote
2answers
1k views

Prevent/Disable Automatic Update Check

WordPress automatically checks for updates to itself and all installed themes and plugins. This adds an annoyingly long delay to loading (any) WordPress pages. In only happens once per day and ...
1
vote
0answers
34 views

Changing admin default setting values

I would like to know if it is possible to change the default admin setting options. This question may seem a bit unnecessary but it is because I have a specifically designed multisite and so would ...
0
votes
0answers
26 views

Dynamically Update Key in Associative Array When Saving Settings

I'm updating a WordPress plugin that I've built and realized that I've made a fairly large error in my original design. This is somewhat confusing, but I'll try to explain it as best I can. On the ...
0
votes
0answers
12 views

Settings/writing UPDATE

We seem to have no UPDATE option on our new WordPress site on Go Daddy. We wanted to enter a ping server list, but don't seem to have a way to do that. Is that a server side setting or what?
0
votes
2answers
213 views

Getting settings saved two times in settings page with tab

I tried to show tabbed settings in admin settings page by a tutorial but for me am getting settings saved notification for two times. I think it is due to different settings field but based on ...
0
votes
1answer
256 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 ...
1
vote
2answers
6k 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
27 views

Different Front page for Mobile

I want to make a different front-page and show it to the mobile user, instead of the one used on desktop. In detail, right now we have set our site to show desktop-front-page to user, when he lands ...
0
votes
0answers
50 views

WP Multisite Running Windows, Web.config Causing Redirect Loop

I have this network site setup When creating a Mini site the content loads fine but all File source are trying to use the mini site's Root root is www.example.com/wp/ ...
0
votes
1answer
45 views

How to save values of a custom input field on the Network > Site Info screen

I'm struggle with implementing a custom input field on the screen of a Site Info in a Network. I've managed to create a field with help of this post but i have problems with saving the value. When i ...
1
vote
1answer
102 views

Create mobile navigation header with settings integration

I'm a seasoned programmer but a completely inexperienced WordPress developer. I'm trying to figure out how to create a header that only shows for mobile devices, and how to modify properties of that ...
0
votes
1answer
46 views

Flush rewrite rules on option update with Settings API

I'm working on some plugin where I need to enable custom URL rewrites. I want to enable editing of custom URL through Settings API, so basically I did everything that's needed to validate and update ...
0
votes
1answer
25 views

Warning: Creating default object… when altering Customize panels

I'm trying to move my theme's [only] widget area outside of WP 4.0's nested "Widgets" panel by doing the following: $footer_widgets_section = $wp_customize->get_section( ...
0
votes
1answer
130 views

Settings API - Checkboxes validation in a menu with multiple subpages

I'm building a theme using the settings API. I have a top level menu with multiple subpages and everything is working fine, except checkboxes. I am saving the options to a single options array. This ...
0
votes
1answer
65 views

options.php problem - data not saved

I've created a custom menu page with some fields. I want to store these settings to use elsewhere. The form with the fields should save and POST data using action="options.php" but every time I hit ...
0
votes
0answers
86 views

Can't use get_option function in PHP file located inside plugin folder

I am currently developing a small plugin which queries an API for some XML data. The XML data is then used to display a page. I wanted to do most of the display and formatting related stuff in ...
0
votes
0answers
41 views

Possible to hide the search engine indexing disabled prompt/error message?

In Wordpress Settings >> Reading (../wp-admin/options-reading.php) there is an option called "Discourage Search Engines from Indexing This Site". If you check this, a notification error message will ...
0
votes
2answers
51 views

Why I can't change the permalink of this page?

I have the following problem with a permalink: if I open this page (it is implemented as a static page) on my local website: localhost/wordpressAsper/archivio it automatically change it into ...
0
votes
0answers
55 views

Settings keep redirecting to options.php on save attempt

So I've desperately been looking around and can't seem to find where my error is occurring and/or what is causing it. Background I've got a plugin that I've developed that I'm currently using and ...
0
votes
0answers
36 views

Using a dropdown to alter an option value on plugin settings page

I'm trying to implement a dropdown menu on my plugin's settings page. When the user selects a choice from the dropdown and presses the Save Changes button, I need the choice's value to be appended to ...
0
votes
1answer
35 views

Changing plugin options from theme functions file?

I am making a starting-point Wordpress theme that will be used on dev projects. In this theme, I am automating common plugin installs that are used on every project. I have been able to automate ...
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: ...
1
vote
0answers
49 views

Move Custom Fields on General Settings Page to New Location

I've created some custom fields on the General Settings page after studying up on this post: Add multiple custom fields to the general settings page. I'd really like to move them to their own ...
1
vote
2answers
379 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
votes
1answer
949 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 ...
0
votes
0answers
39 views

Multiple Installs using the same database AND tables

I've been looking for a solution to this problem for actually a few months. Before I get started I would like to inform that I have NO INTEREST in using wordpresses multisite. Here is the issue for ...
1
vote
1answer
47 views

Plugin options not being saved or created

Having a lot of trouble with this config page. I have followed the documentation (which was sparse) and done a bit of searching for help. My problem is simple, my config options aren't being created ...
0
votes
0answers
13 views

no posts or pages showing on mirror domain

alright this is a tricky one bear with me a while back i developed a site for someone and he just pointed his DNS nameservers to my host which is dreamhost. later he decided to change the DNS back, ...
0
votes
0answers
53 views

Adding a dropdown on my setting page

I have created a plugin and I have created setting for it where I have created a text field. But now I want to add a dropdown link. Can I show a thumbnail in the front of it in a dropdown, yes or ...
0
votes
1answer
16 views

Validating values using Settings API?

I'm using the Settings API to create options for plugin. Do I need to validate the input values for the security (for example stripslashes etc)? (I could not find that part in most of the tutorials). ...
1
vote
0answers
66 views

A question on WXR

I have a quick question around the import file for WordPress (WXR) as I'm really new to WordPress, a couple of things don't make sense. In most examples I found, the first part of the /channel node ...
0
votes
1answer
18 views

Adding a theme option to the admin that lets me turn on/off a javascript file

I want to add a theme option to the Wordpress admin so that I don't need to commit code every time I need to "activate" (or deactivate by commenting out) an Optimizely javascript snippet I only want ...
0
votes
2answers
131 views

Custom form in admin area, redirect in wrong page

I'm writing a custom form on my plugin settings area. <form action="<?php echo admin_url('options-general.php?page=yasr_settings_page') ?>" id="form_add_multi_set"> ...
0
votes
1answer
80 views

How to make a textarea accept javascript in my settings apge?

I'm building a simple plugin that will allow us to add code to our site header by defining it on our settings page. However I haven't been able to make it allow scripts. This is my current code: ...
0
votes
2answers
201 views

Can't output do_settings_sections . Can't understand why

I've this code: /* Hook to admin_menu the yasr_add_pages function above */ add_action('admin_menu', 'yasr_add_pages'); function yasr_add_pages() { //Add Settings Page add_options_page( ...
0
votes
0answers
15 views

How do I build a settings panel under the plugin

I'm trying to build a settings panel for my plugin that is located under the plugin on the plugin page and slides down when the user clicks the settings link like other plugins (WP Maintenance Mode) ...
0
votes
1answer
169 views

Can't change theme options, connection reset error

I've downloaded a theme and applied it, but whenever I go to Appearance - Theme options and click on "save settings", I get an "ERR_CONNECTION_RESET" error, while in address bar I see ...
0
votes
2answers
52 views

Change admin defaults for reading settings

I have customised index.php to display 6 posts: <?php // Get header get_header(); ?> <div id="primary"> <?php // Begin paginate and loop $temp = $wp_query; $wp_query = null; ...
-4
votes
1answer
82 views

Echo get_option displays as text

I am trying to use some code that is stored as a settings option in WordPress. When I try to use the following code below however, it show up as plain text instead of executing. The option I have ...
0
votes
1answer
57 views

Can deactivating a plugin sometimes “reset” settings within that plugin?

I need to deactivate a plugin on a client's website to check whether it is causing a certain issue or not. But I'm not 100% sure that after deactivating this plugin, all its settings will necessarily ...
0
votes
1answer
38 views

What is the best way to revert to www version of domain name?

My site uses a bare domain, example.com. I want to use Google's Page Speed Service, which requires a www subdomain, like this www.example.com Google says the server must use a 301 redirect. What ...
0
votes
1answer
38 views

Wordpress Setting page can not be saved by html radio

I have this php Code to make a option page that activate a function if the user set "active" and turn off the function, if the user set "Not active". <?php add_action('admin_menu', 'custom'); ...
0
votes
1answer
53 views

How to recover WordPress Adress(URL)

I installed WordPress in localhost. I changed the WordPress Address from the general settings. After that none of the previous pages appears. Instead, a "Page Not Found" error page is appearing. I ...