Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [settings]

The tag has no usage guidance.

-1
votes
0answers
25 views

What is the max can you set WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT with define() in wp-config.php?

How high can these settings be set? I seem to be having a lot of fatal out of memory errors in my admin panel but, I already have these settings set to 512MB. I can obviously boost the settings on my ...
0
votes
1answer
25 views

Wordpress options page not saving

I've create an option page in Wordpress. After some hours of work I was happy that I can see my expected content on my settings page. But when I press the save button I'm getting redirected to the ...
1
vote
1answer
26 views

How to create a Page alias in WordPress

In the image you see... WordPress has alias for Pages like Home Page, Checkout Page, Privacy Policy Page and any appear beside the page you assign them. How to create this feature in WordPress? If I ...
1
vote
1answer
33 views

Two Types of settings in WP - The Doubt

I was trying to learn some basics of wordpress plugin development, and I stumbled upon two types of settings. 1 add_settings_field( 'custom_title', esc_html__('Custom Title', 'myplugin'), ...
0
votes
1answer
24 views

Problem with checkbox in Settings API

I am trying to create a simple checkbox setting that toggles a section in a blog post on or off in a theme settings page. Unfortunately it's not saving the checkbox setting. I check the box and when ...
0
votes
1answer
26 views

Problem with Settings API: changes are not saved after submit

I'm writing a plugin "Paid Post" with some options. I made a settings page for my plugin, and it displays OK, but when I'm pressing "save changes" button, the option I have do not change, it just ...
-1
votes
2answers
55 views

Optimized PHP & Wordpress settings for speed/performance?

I have a big site with several plugins that take up memory, a lot of requests to the server, etc. I've maxxed out my hosting to help account for this, but are there optimum PHP and Wordpress settings ...
0
votes
0answers
31 views

Woocommerce or Wordpress , changing default settings

Im looking for a solution to change default settings, for example: In the picture you're seeing (attached) Default = Enable And i want Default = Disable i want to set default to disable, ...
0
votes
0answers
41 views

How to get the correct date depending on the current visitor timezone?

I want to change the date format for my custom post types from dates to time. So i starting using this code: echo get_post_time('g:i A', TRUE, get_the_ID(), TRUE ); It's working successfully but ...
0
votes
1answer
139 views

How to Fix WordPress Not Saving Settings?

How Can I Manually Fix & What is The Root Cause? The Site Language setting in Settings > General for my site, will not update. It is stuck on English (United States). I have done all the ...
2
votes
1answer
51 views

Implement a multi-value input field where the number of entries is not limited

I am developing an application (plugin) where the user needs to enter any number of number of phrases in the settings page and these will be used by the plugin. I have implemented this to capture the ...
0
votes
0answers
20 views

How to create plugin settings page for each admin user?

I have to develop a plugin where it is required that each admin user should have different settings for the plugin. Forexample, email settings should be different for each user, lets say user A filled ...
0
votes
1answer
42 views

Automate WordPress website setup with prefilled data

I'm asked to write documentation explaining how to set up a website to run exactly as the live environment does right now. The website is dependent on WPML, certain categories and menu's being ...
3
votes
1answer
82 views

Remove/unset options field from backend Settings->General?

I am trying to figure out how to remove settings I don't want my multisite admins to be able to change. In Settings->General I want to remove/hide these options (together with the text): Tagline Site ...
0
votes
1answer
12 views

Admin Custom Login loses settings on Code and Data migration

I am running a WP site on WPEngine. It includes both a staging and production server. We use a plugin called Admin Custom Login. After setting up the plugin on staging, I push the code-only (not the ...
0
votes
0answers
53 views

ERROR: options page not found, when creating options page for Custom post type

Trying to add settings page for my custom post type, but getting that "ERROR: options page not found." message when trying to save the test setting. Here is what I use in the functions.php add_action(...
1
vote
1answer
62 views

Update menu when saving settings

I have a settings page for my plugin in which the user can toggle a custom post type on or off. When the plugin is initialized I then check this setting to see if the custom content type should be ...
0
votes
0answers
38 views

Formatting option missing in Writing

I have two systems exactly set up the same way, the difference only being that one is local and the other is not. However, my local version is not showing an option under Settings -> Writing, which my ...
3
votes
1answer
390 views

add static page to reading settings for custom post type

I created a custom post types and I want to let the user choose the static page for the archive page. For example, under Post page. I would like to add a Projects page: [ Dropdown ] Is there a way ...
2
votes
0answers
28 views

Is there a reliable way to keep track of how long a WordPress theme has been active?

I want to keep track of how long a specific WordPress theme has been active, not just installed. The end goal being I want to display a notice after a user has created x number of posts and the theme ...
2
votes
1answer
3k views

wp-admin pages return ERR_EMPTY_RESPONSE

update-core.php, update.php, and options-general.php no longer work. index.php, profile.php, plugins.php, upload.php, etc all still seem to work I have tried deactivating every plugin and reverting ...
0
votes
0answers
27 views

How to detect if i am on plugin's settings page

Let's say, in admin, i use add_menu_page... Is there any function, which determines, if current admin screen is the settings page of that menu_age ? i.e. if($current_screen == "...
3
votes
4answers
899 views

How to display an admin notice after updating plugin settings?

I have a plugin with a setting page, and there are some action that have to be done when a certain option is saved. I am using the pre_update_option_ hook to do this. So far so good. If something goes ...
5
votes
2answers
88 views

Modular theme settings

I'm looking for advice on the best way to store a series of settings for a modular theme. To note: The settings will not be user facing (not suitable for the customiser api). Ideally the options ...
0
votes
1answer
535 views

what is the meaning of settings_fields()

Please guys , I tried a lot ro find out what's the main purpose of this function , but i didn't find what i want , i looked in the codex but seriously the description is not clear , i tried to see ...
0
votes
1answer
14 views

Manual Backup - How to save to Firefox or Chrome (instead of IE which brings up popup I can't get rid of)

It appears my question isn't in the list provided... My question pertains to doing the Export backup method and the .xml file saving to Internet Explorer which causes an automatic IE popup. (I use ...
0
votes
0answers
762 views

How to change default Language of wordpress site not dashboard

Current Site language is US English but want to change into Spanish changing language in setting>general>language changes the language of dashboard and website language remains same but what ...
1
vote
1answer
231 views

How to make get_theme_mod work with AJAX in the customizer preview

Is it possible to make the get_theme_mod work after refresh in the customizer preview pane when it's being called inside a template part by AJAX? I have a theme that loads the posts on scroll (...
0
votes
0answers
25 views

Add new settings to the page creation screen

I would like to know how to add a new set of options to the page creation screen. I know about the settings API but that creates a whole new page for that set of settings. Is there a way I can archive ...
0
votes
0answers
411 views

Why WP customizer postMessage transport is not working?

I am MS Shohan and am new to WordPress development. I tried to set postMessage transport of blogname and blogdescription settings but I don't know why it is not working. Can you please find out the ...
0
votes
1answer
22 views

Settings API and 'type' => 'font'

array( 'name' => 'textarea', 'label' => __( 'Textarea Input', 'wedevs' ), 'desc' => __( 'Textarea description', 'wedevs' ), 'placeholder' => __( '...
0
votes
2answers
441 views

Custom general settings (textarea field) don't output HTML correctly

I add my custom fields in genearal settings page. One of them using Wordpress Editor - there i insert my HTML content. I creeated it using simple snippet: add_action( 'admin_init', '...
0
votes
2answers
66 views

Update WP option by plugin

I wanted to set value of WP option (more specifically - 'admin_email') by using plugin, its option (plugin option) and update_option(). I tried using lines like below, but when plugin code contains ...
0
votes
1answer
204 views

Category URL to use same string as Post URL Permalink

I want to set up my site to have the following permalink structure: /learn/%category%/%postname% So in the permalinks section of wordpress, I set that as the custom structure. The issue is, when I ...
0
votes
0answers
81 views

register_setting func is not adding values to the database

I am newbie in wordpress, I am trying to create a theme. I added the settings page menu and I need to add an option and retrieve it in the homepage. function theme_settings_page() { <form ...
0
votes
0answers
9 views

I created a WordPress using xampp and things seem to be fine EXCEPT not all of the information is there

For example, in the writing settings, everything that's supposed to be under "Default Post Format" is not showing up (except the Save Changes). And say in the General Settings, there is no "New User ...
0
votes
1answer
40 views

Possition a Custom Post Type Tab under Settings

So i would like to ask if there is any supported Wordpress way of positioning the CPT menu tab under the settings. Thank you!
0
votes
0answers
29 views

How can I change the default image behavior?

I would like to set the images in my blog to default to the large size, and clicking on them will perform the "Media Link" option. I could set this up every time I include an image in my blog, but I'm ...
0
votes
1answer
24 views

why my wordpress dont have toolbar like, plugin, themes and other?

why my wordpress dont have toolbar like, plugin, themes and other ? thet is screenprint of my wp.
0
votes
0answers
94 views

Register setting on plugin activation

I want to register an option when my plugin is activated to be used in the settings page. My first attempt: function jpsNews_activate_plugin() { // REGISTER SETTINGS register_setting( '...
3
votes
2answers
199 views

WordPress customizer: load controls in a custom div

I have a custom div (holder for extra settings) which I need to load some specific controls from a specific section in there. I can get the controls in JavaScript but I can't generate the necessary ...
1
vote
2answers
449 views

Cheating, are we? Editor role not saving settings page for custom post type

I currently have a custom post type with a sub menu page (add_submenu_page). On this page I have a form with some basic settings such as a text editor and some radio buttons. function ...
0
votes
1answer
28 views

How can I POST or GET to the same admin page from which I am POST-ing or GET-ing

I have made a admin page linked to a Settings -> submenu_item. This page looks like this: http://movahon.dev/wp-admin/options-general.php?page=miama-google-recaptcha%2Fmiama-google-recaptcha.php On ...
0
votes
2answers
658 views

The entire wordpress theme reset to default after uploaded to live

I created a Wordpress website. Spent a couple of weeks to customized its CSS, PHP, Posts, uploading images, etc to be the how I wanted. BUT when I uploaded it to the server, all of my settings I have ...
10
votes
1answer
4k views

Please explain how Wordpress works with MySQL character set and collation at a low level

As the question title suggests, I'm looking to understand how Wordpress works with MySQL character sets and collation options. As I will show below, things don't make much sense to me... I installed ...
0
votes
0answers
22 views

Why was author able to change generals settings

I have a 4.7.4 (auto upgraded) WP installation on a shared hosting server. I believe it was auto-installed via Mojo Marketplace integration offered by my hosting provider. I have ~100 users, all of ...
1
vote
0answers
43 views

i changed my wordpress address url in SETTINGS - GENRERAL - wordpress address site url. cannot login anymore

i changed my wordpress address url in SETTINGS - GENRERAL - wordpress address site url. cannot login anymore. I have tried all sorts of tutorials to get to login to my admin page with no success. ...
0
votes
1answer
30 views

Cannot save settings value

A plugin with its own settings page and a single text field is rendered. When a value is entered for the field and the form is submitted, Settings saved. is rendered. Yet a query of the database ...
1
vote
1answer
312 views

How to eliminate permalink prefix in Wordpress Multisite

I have installed the multisite plugin for Wordpress; I have one website in English, and the other in French. However, when I go to Settings -> Permalinks, my English website shows this: I don't ...
1
vote
1answer
82 views

Changing the language in Site Language does nothing

Wordpress should always allow me to change the language, anytime. However, when I try to change the language to Greek, the language stays English, as it is now. How can I overcome that?