The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
16 views

Functions to edit wp-config.php

I am writing a plugin in which I have to start by setting it up before using it. This means I may need to update wp-config.php I know how to edit wp-config.php directly. However the requirement is to ...
0
votes
2answers
306 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 ...
0
votes
0answers
14 views

Tagline not same when logout [closed]

i change from Setting tagline my tag but when logout it back to default again i try to delete browsers cache and deactivate super cache plugin but its same
1
vote
0answers
11 views

Is there any workaround to a core update still showing after core update if language set to anything other than US English

I build sites typically in UK English, however I typically leave them in US English because if I set system/general/site language to anything other than "English ( United States)" then when I do ...
0
votes
4answers
956 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
401 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
1answer
23 views

update_option_{$option} not showing old value

I have the following bit of code (note, I put the mail() function in only to see what the values are): add_action('init','system_init_actions'); function system_init_actions() { ...
1
vote
1answer
24 views

How do I share plugin settings across wordpress network?

I am using multisites to translate wordpress website and I have plugin https://wordpress.org/plugins/nmedia-user-file-uploader/ Which I want to be accesible from all languages and from all site you ...
0
votes
0answers
10 views

Two settings_fields in one form

I am trying to add my own plugin option to the Easy digital downloads plugin. The sample code is here: http://docs.easydigitaldownloads.com/article/383-automatic-upgrades-for-wordpress-plugins I ...
-1
votes
1answer
32 views

get_option return incorrect values

I'm making a Wordpress Plugin, and I'm starting with the Admin Settings page, I have the page setup and in the menu bar, i have also added sections and fields in to the page and they all work fine, ...
2
votes
1answer
278 views

WooCommerce “Save Changes” button appears inside custom settings

I am writing WooCommerce plugin which requires custom settings page. I have decided to extend general WooCommerce settings by adding new custom tab. I have managed how to do it in WooCommerce way and ...
0
votes
0answers
12 views

Share options / settings with another person?

When I hand a wordpress website over to someone else, they do not see the same options and settings that I can see - even if we use the same username / login. This often leads to confusion and ...
0
votes
0answers
16 views

Hold a comment in the queue if it contains [X] or more links

I don't understand this option. The English version of the description says: Hold a comment in the queue if it contains [X] or more links The German version says: Einen Kommentar in die ...
0
votes
1answer
23 views

Show the submitted values in the form when validation fails

Currently I do: $options = get_option( 'jons-plugin-options' ); echo "<input id='jons-plugin-options[field-two]' name='jons-plugin-options[field-two]' size='4' type='text' value='" . ...
0
votes
1answer
37 views

How do I register a new settings page? [closed]

I need to be able to create a new settings page, one that will act as a list of information for the user. However, I am unable to find how to do this, can someone point me in the right direction for ...
0
votes
3answers
467 views

Copying theme from Localhost to Live does not copy all theme settings with it?

This has happened on a number of occasions now where I move my site from Localhost to Live environment and the theme settings such as the logo, and other settings are not copied with it, so I am ...
11
votes
3answers
3k 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
0answers
5 views

How can I set a subsection page for a plugin e.g ?page=_&subsection=subsection_page

How can I set a subsection page for a plugin ? I noticed some plugins have 2 settings pages as follows: Main one: options-general.php?page=page Subsection: ...
19
votes
4answers
15k 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 ...
6
votes
4answers
4k views

Where, When, & How to Properly Flush Rewrite Rules Within the Scope of a Plugin?

I am having a bit of a strange issue with rewrite rules not flushing properly. I have tried using flush_rewrite_rules(); and flush_rewrite_rules(true);. I have also tried globalizing $wp_rewrite ...
0
votes
1answer
659 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 ...
0
votes
0answers
22 views

Settings API retrieving options database information alongside with user information?

I am working with my options table in my database using the Settings API in WP. My code shows data from my form input to be stored in "Kaipo_plugin_options". I want to retrieve that specific options ...
0
votes
1answer
26 views

How do I create settings only used by my theme? [closed]

I have a theme that when installed will check to see if the necessary pages are there and if not they will be created (this is for a website not a blog). I'm trying to create settings that will be ...
1
vote
3answers
71 views

Get all options saved by another plugin

I'm developing a plug-in that adds the possibility to import/export settings from another plug-in. However, I don't have access to the options ids saved by that plug-in. Is it possible to get all ...
3
votes
2answers
2k 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 ...
0
votes
2answers
324 views

How do I use featured images on index.php?

In 'Reading Settings' I have chosen the static-page drop-down menu of a page I created to be the post page. I've put the html, php, and css from my page.php in index.php to style it. I'm unable to ...
0
votes
2answers
235 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
4
votes
4answers
2k 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 ...
0
votes
0answers
155 views

Custom settings page TinyMce: no formatting when echoing value of editor

I have created a custom settings page with a couple of wp_editor() calls on it. When I enter some text in the editor, and format it (e.g. make it bold), and then save it, the value is saved in the ...
5
votes
2answers
8k views

Add multiple custom fields to the general settings page

What I would like to do is to add a few custom fields to the general settings. This is the code that Im using. It works allright but I just cant figure how to add more fields. I would like to create ...
0
votes
1answer
33 views

Warn user that data may be lost for custom pages

When you edit a builtin field in Wordpress like the title and don't save the cahnges, and attempt to go to another link, a warning alert box comes up stating that "changes may be lost if you navigate ...
0
votes
1answer
94 views

How to know what submit button the user clicked?

I'm working on my settings page, I want to add two different buttons to the form and do something different depending which the user clicked. The documentation states I can create two buttons like ...
1
vote
1answer
64 views

add function to saving change on Options Pages

i make page like this link and it work fine but i need to run some script after it like editing a file i was add it to function my_function() { //do something } function register_mysettings() { ...
0
votes
0answers
35 views

How to save my theme customization the right way?

I am making a wordpress theme for free download. I made some theme functions with $wp_customize what looks like this: <?php // theme options function basilico_customizer_register($wp_customize) { ...
0
votes
1answer
64 views

Using AJAX for dynamic settings pages

I have a settings page like ... add_options_page ( 'XXX', 'XXX', 'manage_options', 'xxx_plugin', 'xxx_options_page' ); function xxx_options_page() { ?> <div class="wrap"> ...
0
votes
1answer
93 views

How to Sync Menu, Widgets and other masters from Main Website to its Sub Site

I am using Wordpress Multisite Network and i am having problems regarding masters to its subsite. I am not able to see the widgets or Menus which were created on Main website to its Sub-site. When i ...
0
votes
0answers
20 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
84 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
49 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
1answer
17 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
245 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.
0
votes
0answers
75 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
386 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 ...
1
vote
2answers
7k 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
372 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
147 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
119 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
168 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
98 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 ...