The tag has no wiki summary.

learn more… | top users | synonyms

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
81 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
113 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
162 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
140 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
155 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
35 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
95 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
85 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
237 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
80 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
70 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
64 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 ...
0
votes
2answers
799 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
297 views

Sharing Buttons not Working - Sharing Settings

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
43 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
78 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
51 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
133 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
104 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
77 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
66 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
155 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
300 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
300 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
82 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
117 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
59 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
35 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
112 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
192 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
53 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
106 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
668 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
151 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
101 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
149 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 ...
0
votes
1answer
198 views

Difference between Option_Group and Option_Name in Register_Settings

I think the title pretty much says it all! I'm working my way through various tutorials on how to add an options page to my test plugin and am struggling to understand the Register_Settings function. ...
0
votes
2answers
2k views

Where have the Privacy Settings gone in WordPress 3.5?

I moved a WordPress site to another server and everything is working well, minus the fact that I can't seem to change the settings in Privacy. When I click on "allow search engines to index this ...
0
votes
2answers
49 views

Is there any other place - besides a theme, a plugin, or a mu-plugin - that an option page might conceivably be used?

I'm creating a helper class for simplifying the creation of an option page in admin that could conceivably be used in a theme, a plugin, or a mu-plugin. I'm trying to make the class as easy to ...
1
vote
3answers
5k views

How to change the file upload directory on version 3.5?

The option to change the upload folder for images is gone on version 3.5, any way to make it visible again or a workaround ? From this core ticket: Changing the upload_path and upload_url_path ...
-1
votes
1answer
782 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 ...
2
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
140 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 ...