The tag has no wiki summary.

learn more… | top users | synonyms (1)

2
votes
1answer
121 views

Site Title and Tagline in Pagelines DMS Options Panel

I'm using the Pagelines DMS Theme and I'm wanting to extend the functionality of the front end admin panel. The user(s) I'm building this for would like to be able to edit a few settings directly from ...
0
votes
0answers
181 views

Error: Options page not found when saving my Plugin-Settings

after saving my options for my plugin I am getting the options page not found error. After some research, I found, that I may have forgotten to register my option or registered the wrong one. I ...
0
votes
1answer
62 views

Hook specific functions if on a specific admin page

I am having a problem with my theme's options panel and a plugin. Apparently they don't get along very well. Anyway, I need to hook 3 functions on a specific page when I am in the admin panel. More ...
0
votes
1answer
42 views

Enqueue scripts based on options

What is the best method to enqueue scripts based on options I have? Let's say I have 50 options and for each I need to enqueue a script(some of them might repeat.). Can I have any ...
0
votes
1answer
46 views

how to protect wordpress website

i completed my website but i want to protect my site using login option.when i enter my site its goes to login page if user logged in after home page will display.how can do that if there any ...
0
votes
1answer
31 views

Adding data to options table

I am currently tweaking a plugin so that all "contributors" (here referred to as "players") are automatically subscribed to a forum. I basically want to subscribe everyone with the role of contributor ...
0
votes
1answer
144 views

Displaying shortcode output through Options Framework

I'm hoping someone might be able to help me. I'm using the Options Framework Plugin to customise my site, but I'm having difficulty with using a shortcode in one of the custom fields. I've created ...
1
vote
1answer
141 views

How to add a new plugin page under desired Options page?

Using WordPress Settings API tutorial I created a new custom menu and corresponding sub menus. Each of my menus have a page of its own. I used add_menu_page() and add_submenu_page() for that. (Here is ...
0
votes
1answer
91 views

'all' hook and get_option issue

code listing: http://pastebin.com/0LEqgRUZ I ran into a trouble with my plugin. (It is a class based plugin actually) I'm trying to use get_option function. When I just make ...
1
vote
1answer
69 views

How to cache posts based on $_GET? Option name is too long? Options / transients

I have a search feature set up that is fairly expensive and I want to cache the results, based on the $_get string, like: ...
0
votes
0answers
12 views

Set default Screen Options on theme setup [duplicate]

I took a look around but didn't found an answer, i would to be able to set some default Screen Options in Wordpress backend when my theme is installed, specifically would be able to flag the ...
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
24 views

loss of theme options while site deployment in production

i have moved both wordpress folder and the development database on a distant server. Why all my theme options are lost ? where are these options stored if not in wp_options table nor wp_files ?
0
votes
1answer
69 views

Add_menu_page and saving settings

I am working on an WP plugin and have my settings in a created menu page. When I save the page my settings are saved without any problems, but I don't return to the settings page but to a page where ...
0
votes
2answers
98 views

Issue on Checkbox with Custom Option Page

I am trying to use a checkbox on Custom Option page by using Setting API. Every thing works fine at back-end and I can update the checkbox states by registering the settings.But when I would like to ...
0
votes
0answers
190 views

Auto Select Child categories on Multiple Dropdown - Jquery

I am using the wp_dropdown_categories to generate the form and select option, with multiple select jquery plugin. What I want is that, when the user selects the Parent category or (level-1) then the ...
0
votes
1answer
163 views

Passing dynamic options from backend to frontend

I have created an admin options page (using the Redux Theme Framework), in which the admin can customize the website's appearance (text color, background color, background repeat options, etc.. ). ...
0
votes
2answers
46 views

meta fields for the whole wordpress site

Is there a simple way to store additional information related to the whole website in a meta field? For users, comments or posts, I learned how to use meta fields to store their additional related ...
0
votes
1answer
384 views

Theme Option's Save Button is not working

I'm currently working on making an options panel for a theme (theme-options.php) on my localhost. Every thing was going well until I tried testing the Save button. After clicking it, I got the ...
0
votes
1answer
39 views

Accept code input into Options Framework

I'm using Options Framework for a theme. I'd like to add a theme option to add Google Analytics code to the front end's <head> section. What is the options.php code to create an input box ...
-1
votes
2answers
538 views

What type to upload image within theme options?

I want to get option to change logo within my option theme. I use this code: array("name" => "Upload Logo", "desc" => "Choose an image", "id" => $shortname."_logo_img", ...
5
votes
1answer
979 views

How To Add New Option Types To Option Tree?

I am using option tree in theme mode and child theme mode and I am trying to add new option types. The new option types will be based off of the post-select option type, but will only list posts from ...
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
68 views

How do you update a network option value in the DB via a hook

I am trying to update the value of an option in the DB for all sites within my multisite, but no success here is the code, been pulling my hair out for the last 2 hours: function ...
1
vote
2answers
235 views

Add site options UI in Multisite Sites > Infos page

I want to add meta fields for the sites in my network (such as a thumbnail and a category). I know how to do this using get/add/update_site_option, but I'm wondering where I could put the UI to manage ...
0
votes
1answer
212 views

How do I capture the selected option and pass in sending the registration form?

I'm customizing the WordPress registration form, and I need to display an list of options from a select on form submission. I was using the following code to capture the selected option of the ...
-1
votes
1answer
44 views

Pull Random Images From Options Page [closed]

Using this code to get my options echo eh_get_option('eh_slide_image_4'); Using the options framework from http://www.wptheming.com I have 8 options set up using the above tag like echo ...
0
votes
1answer
71 views

How to load dynamic option with ajax

Basically I'm creating an options page in which the user will click on a button to display a text input field, which will then be populated by the user with a name. This name will be then saved into ...
1
vote
1answer
66 views

Admin option sidebar count

I need to add a count number to a option menu item in the admin sidebar. How is this done? I found a similar post: Modifying admin sidebar contents to show pending posts indicator
0
votes
1answer
37 views

change backend header options

Wordpress is offering backend pages for header and background under the design tab, which can be activated inside functions.php. Is it possible to customize that options? For example I would like to ...
0
votes
1answer
40 views

Options page for widget

I started developing a plugin which only required a few options. But over time the number of settings grew, and I want to move most of them to a separate page. I've seen quite a few tutorials about ...
2
votes
1answer
505 views

How do I handle multiple Submit buttons in plugin's option page?

I'm developing my first plugin for WordPress and I'm getting a grasp of the whole hook system. I'm now stuck on a (probably) small issue, that I could possibly circumvent, but I'm afraid of coming out ...
0
votes
1answer
42 views

wp_allow_comments checking for blacklisted words effectively

I have a big list of prohibited words on the DB. The problem Im running to is that no comment is getting through. They are all getting sent to spam. I was looking at comment.php and found the ...
0
votes
1answer
283 views

Get value from db for custom contact form

I built my own contact form (no plugins) and want to have a secure way to get an emailadress from my option page. get_option and other built in WP stuff doesn't work from within my process.php file. ...
0
votes
1answer
49 views

Comment Blacklist

I have a list of words that I placed in my blacklist_key option values update_option( 'blacklist_keys', $words);. But I still can make a comment with such words. Any ideas? I can't answer my question ...
1
vote
1answer
147 views

Full page (no WP admin menus and options) admin theme options

I'd like to drag and drop functionality into one of the admin pages and I've been wondering about the best way to implement it: an iframe or something else? What I'd like is: Once the use choose the ...
0
votes
1answer
181 views

Wordpress theme options framework, I can't read them in my templates

I successfully created my theme options page using this framework: https://github.com/devinsays/options-framework-theme The problems Is that when, for example, I try to load the Option: 'logo_image' ...
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 ...
1
vote
1answer
39 views

Transients API conditional

I have the following transient, but if the user changes the value of $url the transient should not be used. I want to know what is the most appropriate way to use this variable with the transient. ...
2
votes
1answer
61 views

Is there a limit to the number of options you can store in one settings field of wp_options?

I have a theme with an options page. And on that page there are 1083 options. I've noticed that the last 13 are not saving. They were saving at one point, but after I added new options above them, ...
5
votes
1answer
2k views

How to store widget fields data as an array?

I am creating a widget, it needs to store about 10 IDs. Right now I'm using following field method to store each of the ID in a separate field. It stores data of each field in a separately in the ...
0
votes
1answer
261 views

wp_dropdown_categories initial value

I am currently pulling in an option drop-down of a specific category using: <?php wp_dropdown_categories('child_of=20'); ?> I would like the initial value of the drop-down to say 'Bedrooms' ...
-1
votes
1answer
71 views

Integrating CSS Into a WP Function Call [closed]

Below is a code I use to display post views. It is integrated with an options panel which allows users to choose whether to display it. I would like to integrate the div class .postviews directly ...
0
votes
1answer
58 views

Can I use add_option for a plugin categories and how?

So I am creating my first plugin for positioning ads around my site. I created one separate table where I store ads with all their options, such as position, expire date, active, name, type etc... But ...
0
votes
1answer
157 views

Option does not save or update upon page refresh

So I managed to get the issue of headers working properly in my theme, but I have a new issue with options though. I have the three following pieces of code that work in the order I paste them: ...
1
vote
3answers
392 views

Creating a plugin that will add options. Where should the options menu pages go?

I am creating a plugin for a restaurant theme that will provide a few options to add the restaurant hours of operation. Currently, I use a custom post type to control the restaurant hours but have ...
0
votes
2answers
242 views

Custom Theme Fields in Settings Menu - apply filters to one of those fields?

I found an interesting concepts of adding an additional option to the "General Options" in Wordpress. /** * Custom Theme Settings * see http://digwp.com/2009/09/global-custom-fields-take-two/ */ ...
0
votes
2answers
57 views

Wordpress options text format

Wordpress converts my theme options text with smart quotes. I know that to remove problem from posts etc: remove_filter('the_content', 'wptexturize'); remove_filter('the_excerpt', 'wptexturize'); ...
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") ...
3
votes
2answers
349 views

Plugin options autoloading

In the book 'Professional WordPress Development' I found this tip: As a rule of thumb, if your options are needed by the public part of the blog, save them with autoload. If they are only needed in ...