Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
64 views

Multiple Select Boxes Settings API

I know how to do select boxes, those are easy - but how would you do multiple select boxes? where you can select and save multiple things? Would you still use the selected() function? if so can some ...
1
vote
1answer
162 views

Settings API - how to update multiple 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', ...
0
votes
0answers
108 views

How does register_setting and settings_fields work?

In the WordPress settings API, I understand that register_setting() must be called for add_settings_field() to be saved and updated according to the codex. Since almost every WordPress function has ...
1
vote
1answer
77 views

Can I use the different settings sections over different pages using the save options group?

I registered one options group with few different options sections. Each section is meant for different page. register_setting( // ...
0
votes
1answer
119 views

Register theme customizer settings when theme activates [duplicate]

I've been following this great tutorial (http://wp.tutsplus.com/tutorials/theme-development/digging-into-the-theme-customizer-overview/) and now I have set the Theme customizer. As far as I ...
0
votes
1answer
142 views

Single callback with multiple setting fields

Is there anyway you can use a single callback with multiple setting fields? Maybe there is a way to pass the setting field used through the callback?
0
votes
1answer
79 views

Setting the uploads directory

So I want to change my uploads directory. I'm able to change it using: add_filter( 'pre_option_upload_url_path', 'wpse_77960_upload_url' ); function wpse_77960_upload_url() { return ...
0
votes
1answer
14 views

Verify Values Using Settings API

I have recently been working on a WordPress plugin using the Settings API. The only problem i found with it is that the user can manually edit the value in the input tag. I was wondering if there was ...
0
votes
1answer
42 views

How to change the setting so there is no post on home page

How do I set "Blog pages show at most 'Variable' posts" (under setting > reading) to 0 it isn't letting me. So what file do I need to edit so the value is 0?
0
votes
1answer
95 views

Plugin Options not saving options and doesn't work

So I've been making a plugin for wordpress that adds a custom post type for products, which was fairly simple and i made that work. Afterwards I wanted to make a settings page sub menu to the custom ...
0
votes
1answer
130 views

Visiting posts results in 404 errors after host migration

I have migrated my WordPress blog from one host to another by way of transferring the files and exporting/importing my database, updating URL references where needed. On my new host, I can ...
1
vote
2answers
180 views

Remove Internal Style Sheet if no Value Provided?

I am using this code to add my options inside head section code works but my problem is that if no values are provided my function still echoes an empty <style type="text/css"><style> into ...
0
votes
1answer
153 views

Change “posts per page” depending on width

I'm working on a responsive theme. One part is a sort of news flow (blog). In desktop widths (above 767px) the news template is vertically divided in two. The left part is a navigation which lists ...
0
votes
2answers
185 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 ...
0
votes
1answer
37 views

retrieve theme custom settings

I have modified twentythirteen template adding custom settings for my theme. All settings appear in theme customization section and I am able to save them. I am using WP 3.6. How to retrieve those ...
0
votes
1answer
116 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
90 views

How do you add a settings page to another menu?

I created a settings page that's being displayed in the options menu like this: add_options_page( 'ATB Event Options', 'ATB Event Options', 'manage_options', 'atb-event-options', ...
2
votes
2answers
268 views

How to mark an option as selected

I want to display post categories in theme settings, and I successfully did that using this code: <?php /* Get the list of categories */ $categories = get_categories(); ...
0
votes
1answer
88 views

How to remove permalinks links presents in each page of my site?

I have this WordPress static site: http://www.saranistri.com/ As you can see at the end of each page there is a link named Pemalink into a box. I want to remove this box and this link. Can I do this ...
0
votes
1answer
72 views

Problems to disable the comments for my statics pages

I am pretty new in WordPress world (I came from Joomla). I am developing a mainly static website using WP (because maybe in the future I will have some dynamic behavior and because WP is pretty ...
0
votes
2answers
36 views

Dark Bar at the top of wordpress page can't be seen?

I am new to wordpress and created a website as shown in the picture bellow. My webpage used to have a black bar at the top, which allowed me to insert "New Posts". (area shown in red circle). But this ...
0
votes
0answers
33 views

homepage olderposts link showing page not found

I am using WordPress 3.5.1 version, now I had a problem with olderposts link present at bottom of homepage. it is ok with rest of the category pages. I am working on this problem since last two days, ...
0
votes
1answer
65 views

Wordpress Settings API settings not saving for some users

I created a plugin you can see here: http://wordpress.org/plugins/vegas-fullscreen-background-slider/ Some users are saying that settings aren't saving. For me it's working fine but I'm fairly new ...
1
vote
2answers
943 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
345 views

Sharing Buttons not Working - Sharing Settings [closed]

I'm trying to add a "share this" button to my site. I am having an issue configure this because when I go to settings -> sharing I get the image below Update: Here is my inspector error console: ...
1
vote
2answers
45 views

Custom blog settings

What is the best way to add new custom blog settings to the Wordpress general settings (or some other settings page for that matter), such that these settings are available to the theme to use? For ...
0
votes
1answer
86 views

Building a simple “settings” plugin to change textstrings on the home page

I am trying to build a little settings area to change the strings of some text (image urls & links) on the homepage via the dashboard. I have found a useful tutorial which provides the plugin ...
0
votes
1answer
52 views

Character \ appearing before ' after saving a settings page

It's a strange issue and I've seen it happen with plugins, however I don't know how to fix it. Maybe just a PHP issue? Anyhow, I have a settings/options page with several text areas. Upon saving, a ...
0
votes
1answer
145 views

Why is the Settings API is not saving my array of options

I am writing a set of classes to easily create options pages accessible via submenus of the standard WordPress menus and a way to easily create options for said menus. The way I am wiring it is via a ...
0
votes
0answers
16 views

Creating Theme Settings Page [duplicate]

I am trying to create a custom theme settings page for a wordpress theme, so that I may hopefully continue to reuse it on the future websites I make. Unfortunately, I'm falling at the first hurdle. ...
0
votes
1answer
107 views

Incorporating the Settings API in WordPress Themes - by Chip Bennet

I am using the code by Chip Bennett to create a settings options page for my plugin. The problem is that I am getting a Warning error as indicated below that I cannot figure it out. Any help is ...
0
votes
0answers
82 views

I change all options except for General Settings

I can change all the settings on the site except for the Wordpress General Settings section. This includes both Wordpress options and plugin related options. I get a this error code: ** 403 ...
0
votes
1answer
68 views

unsuccessful attempt to change domains- wordpress re-routing to old domain

I've tried to switch a website from zoparealty.com to zoparealtygroup.com. When I go to zoparealtygroup.com, I can see what appears to be a strictly HTML version of the site(no CSS, no php). ...
0
votes
3answers
191 views

In Settings>>General I am missing some fields

I am new to Wordpress and downloaded the 3.5.1 version from my hosting provider. I want to add www in front of my domain and I read from many sources how to do this. Go to settings then general and ...
0
votes
1answer
347 views

Change the style of h1, h2, only in post entry

I would like to change the style of h1, h2, ... ONLY in post entry (when writing a new post). Default settings is just too big and has a different format, because I use Google fonts. I was using ...
1
vote
2answers
341 views

Custom editor field displaying HTML in Visual editor

I am trying to add a custom WordPress editor field to the General Settings page in the admin. I have it working except that when you save anything with HTML it converts all the code to HTML entities ...
0
votes
1answer
84 views

php.ini -Theme-specific settings

I'm testing a theme on a group of people. Its a microstock image selling theme. Very unique, so far, works great on most hosts. However many people complain that that the image-processing script ...
0
votes
1answer
125 views

WP e-commerce sales-view

I'm helping a client out who's running Wordpress E-commerce 3.8.3 on WP 3.2.1 In the "sales" view, (where it shows all orders), you can see ID Date/Time Name Amount Details Status (Delete) and ...
0
votes
2answers
61 views

Testing for addon plugin activated

I am creating a plugin which will also have a few addons. I am adding settings tabs for the addons, but I want to make a conditional check in the main plugin to prevent those tabs from showing if the ...
0
votes
1answer
36 views

How to add options for Pages?

I would like to show an input field on the bottom, everytime, when a user create a new page. How is it possible?
1
vote
1answer
123 views

Run function on settings save

I am using the Settings API for a plugin's settings page. One of the settings allows the user to change the cron job interval for the cron job created by this plugin. Therefore I'd like to run a ...
0
votes
2answers
203 views

Set Default Category to Username

I installed a plugin called "Symbiosis" which creates categories automatically copying a user's username upon them signing up. Whenever any user creates a post on the site, I am trying to figure out ...
1
vote
1answer
56 views

Theme settings default, strange behavior before first save

I was building a theme options page with the settings API. I use an ajax call to compute some settings automatically from other pages / tabs. I noticed that all of the new settings default ("std") ...
1
vote
1answer
21 views

Implementing action correctly

Hi I am implementing a core plugin plus add ons. There is a settings page and I would like to hook some validation routines for the addon plugin into the core plugin's validation function. However ...
0
votes
1answer
108 views

options validator input is false?

I have a form that looks as such: <form action="options.php" method="post"> <ul class="nav nav-tabs"> <li> <a href="#content" data-toggle="tab">content</a> ...
0
votes
1answer
688 views

How to create color scheme for my custom theme?

I would like to create color scheme for my custom template that can be changed inside my admin panel. According to this thread it can "easily" be done. Author quotes: "create your color styles in ...
2
votes
0answers
75 views

Tab from Settings API resetting all options with INSERT INTO [closed]

I have an Options menu created with the code from Chip Bennett tutorial, the old code, though, the one from like a year ago (the new one has a much better validation structure, but still, it works ...
2
votes
1answer
164 views

Wordpress address URL keeps dropping the www

My Wordpress Address (URL) in general settings keeps losing the www from the URL - I type in http://www.domain.com and it saves and works fine. Next time I go in the address has changed to ...
2
votes
1answer
117 views

Making a configurable field translatable

I'm working on a theme right now that gives the admin the possibility to set different texts that are used within the theme, by configuring them in the admin panel (e.g. the text that is displayed, ...
0
votes
3answers
150 views

The issue of redirecting my site to a new domain

I have encountered some problems after I have redirected my site, which is in a sub directory in my server, to a new domain. I have kept the same server. The origin URL of my wp site ...