Theme Options allow a Theme author to give users the chance to change certain Theme features such as color and layout. The Theme Options Screen is only available if the active theme supports a Theme Options ability. In addition, this screen will likely be different for each Theme that enables and ...

learn more… | top users | synonyms

0
votes
2answers
185 views

Options Framework not saving options correctly

I'm trying out the Options Framework, and I've started hacking options.php. I have reduced the amount of options, and one of the options left is an image upload. I have gone into Theme Options, and ...
2
votes
1answer
383 views

Site Title and Tagline in Theme Options Page

I'm using the Options Framework Theme to put together an options page. The user(s) I'm building this for would like to be able to edit a few settings directly from this page, including of which - the ...
1
vote
1answer
432 views

Choose To Display Post Views With An Options Panel

I have post views enabled and I'm attempting to make an options panel option to allow users to choose if they would like to display post views in each post. If they choose 'Yes," then they will be ...
0
votes
2answers
141 views

WordPress theme options error

I am building a theme and I need to call theme options But I do get errors like white screen and 500 internal server error when I call theme options here In WP query (newbie in PHP) ...
0
votes
1answer
352 views

Multiple Custom Headers

I am trying to add this function: add_theme_support( 'custom-header' ); I would like this to somehow combine with multiple headers. I saw some code that was PHP that checked which template was ...
4
votes
1answer
112 views

Click link on plugin/theme page and open the contextual help on a specific tab

I've added a help section using the add_help_tab() function. I'd like to be able to click a link somewhere on the theme/plugin page and have the help panel open at whichever tab I need. Can someone ...
1
vote
2answers
102 views

How can I insert some extra validation into the theme options' validation function using add_filter?

I'm using the theme options from the underscores (_s) WP theme as a base for my own theme options. If I wanted to insert the validation from the bottom function into the top function's $output array, ...
-1
votes
2answers
251 views

How to make admin theme option with image slide show?

How to make admin theme option with image slide show so admin can change image dynamicly (user can upload and change the image and title slider) as a slideshow on the webpage? Thank you for any ...
0
votes
1answer
882 views

How to use checked() function with multiple check box group? How to properly sanitize that checkbox group?

I'm using the theme options page from the underscores (_s) theme to build a theme options page and I have a group of check boxes on it. In the example below I've just included 2 for simplicity. My ...
0
votes
2answers
94 views

How do I use a color from theme options?

I am building a theme, and in the options I have created a place for link color. I cant seem to get this into the theme in any reasonable way. The best I can do is to put it after wp_head ... but that ...
3
votes
3answers
86 views

reason of splitting theme files to multiple files

I can create my theme without splitting it into separate files. Why do theme developers split WordPress theme into a few single files like header.php sidebar.php and etc?
-1
votes
1answer
38 views

Site is setup statically - how to make it content managable?

This is probably quite a basic question, but I have my site setup statically in WordPress, all I am trying to figure out now is how to add a new section to the WordPress backend where all the content ...
0
votes
1answer
699 views

Set WordPress Default Template

I'm using the Options Framework Theme to put together my options page and would just like to know how would I set up/call the Default Template - for whichever one the user has selected. For example, ...
1
vote
0answers
757 views

Create an Options page with two image upload fields

I’d like to build a simple and clean Options page with two upload fields and a preview of the uploaded images. I tried a lot of frameworks like NHP and UpThemes but they are way to heavy for my ...
1
vote
1answer
217 views

How to add an alternative style sheet as a theme option?

I'm trying to create a few extra theme options in the "customise" section of the wp admin menu. I would like to offer an option to load an alternative style sheet. Question: How can I adapt the ...
11
votes
3answers
481 views

Wordpress API Menu/Submenu Order

I'm developing a child-theme using Wordpress 3.4.2 and the development version of the Options Framework by David Price. This is my first theme and I'm relatively new to this, so I've had a look into ...
0
votes
1answer
153 views

Wordpress Options-Theme STD (default) value does not work

I'm using Wordpress Options Theme and I'm getting an issue. Here's the code: $options[] = array( "name" => __('Texto de botón de enlace a cotización',THEMENAME), ...
1
vote
0answers
73 views

Only allow site url in text field using wp_kses/wp_filter_nohtml_kses?

I'm working on validation for a theme options page. Is there a built in way to add an argument to wp_kses/wp_filter_nohtml_kses that will allow a specific link to be entered(wrapped in a tags) but ...
1
vote
0answers
195 views

Validating a cloned/repeatable input (jQuery)

I'm trying to create a repeatable field an upload image input with image preview for my Theme Options page and I have the following: function theme_options_validate( $_POST ){ if ...
0
votes
1answer
408 views

Create a comments template for custom post types

Is it possible to create a comment template for custom post types? I want the wording for comments on a custom post type to be different for wording on a regular wordpress post. I tried ...
4
votes
2answers
873 views

Adding a checkbox to the theme customizer

When trying to add a checkbox to the theme customizer it seems to be 'always' selected. If you try to deselect it you cannot, almost as if there is some JS code forcing it to stay selected. I am ...
0
votes
1answer
65 views

How would you accomplish the following advanced settings page?

Currently I'm developing a new theme for my business. This theme will have a header section with a drop down menu, a slideshow on the background and three featured images with a title, a description ...
1
vote
0answers
67 views

Are un-sanitized theme options more vulnerable to malicious scripts than the theme editor?

I'd like to put text areas in a theme options area to allow users to easily add analytics code, scripts, and css. Is it silly to worry about malicious code being inserted via un-sanitized theme ...
1
vote
1answer
160 views

Should a child theme share the same theme options row as the parent, or should it have it's own options row?

I'm developing a theme which uses the NHP Theme Options Framework to add some theme options. Naturally, the theme options framework creates a single row in the database to store the theme's options ...
0
votes
1answer
114 views

Creating an advanced searchform based on select boxes

I am trying to create a WordPress website where a user can post a car that he is trying to sell with contact details for it. I have most of the things figured out about how this website will work. My ...
0
votes
2answers
75 views

Defining different theme for Blog posts page

So, I'm using my wordpress with a static front page and then I have Blog link that opens the blog posts. My question is, how can I apply a different template/styling only to that area?
4
votes
1answer
571 views

How do I add settings to the Background Options Page?

I am developing a theme and I wanted to add some extra content to the built in background options page. I know how to use the settings API to create new theme options and settings but I can't seem to ...
4
votes
1answer
334 views

Setting multiple default background images?

The following code lets me set a default background image. Is it possible to set multiple custom backgrounds? add_theme_support( 'custom-background', array( 'default-image' => ...
1
vote
1answer
104 views

Wordpress theme options vs custom post types

For dynamic content across a wordpress website, is it a better practice to create new post types for updating content or using theme options? I personally find theme options a little more time ...
0
votes
1answer
62 views

help needed for suit designing tool

I am working on a theme which has options for suit & shirt designing. Basically, I am stuck in creating taxonomies for suits & shirts. Reference Link Problem I am facing is to plan how the ...
2
votes
1answer
979 views

wp_customize_image_control default value

I am trying to create a custom theme using Wordpress 3.4's customization options. I would like to create an option to change the theme's logo, but I would like to also display a default logo image. ...
0
votes
2answers
500 views

Category List in Theme Options Page

I am trying to create a multi-select category list in a theme options page and everything shows up but when i save the options only the last option from the multi-select box that is selected gets ...
5
votes
2answers
565 views

Wordpress Settings API error

Hi I am trying to creating some custom options for a template I am developing but I seem to be getting an error: Warning: Illegal string offset 'show_header' in ...
1
vote
2answers
55 views

WordPress add options to theme not displaying

Hi I am trying to learn to add theme options to WordPress themes by reading The Complete guide to WordPress Settings Api on wptuts I have gotten as far as the 4th part and have stoped to create an ...
1
vote
1answer
115 views

Query Page Content From Theme Options?

I'm trying to create a slider where you choose what pages are shown in the slider, using a theme options panel based on the https://github.com/vauvarin/options-framework-theme That lists the pages in ...
0
votes
1answer
94 views

How to create an user defined page?

I have created a file example.php in the default site directory. I want to have the facilities of an Dashboard-Created-Page like the theme,navigation bar,navigation bar, header,footer etc..
0
votes
1answer
153 views

Use of check_admin_referer with theme options and options.php

If I set up a theme options page in the way suggested by the codex (http://codex.wordpress.org/Creating_Options_Pages) then my form submits to 'option.php'. settings_fields creates a nonce, which if ...
0
votes
1answer
112 views

esc_url not working within add_settings_field callback

I'm trying to display a saved option of a url inside a text input on my themes' options page, but it's just simply not displaying. I've checked the database and my url is saved using the specified ...
1
vote
1answer
29 views

correct tags for validating input types

I have following types of theme options inputs, which I need to validate. $numbers = "#1234"; $email = "abc@example.com"; $simeple_text = "How's going?"; $code = "<script ...
0
votes
1answer
63 views

Create dashboard setting which lets me set ID of category which is inserted into template

Part of a function i'm using in my single.php page is $myposts = get_posts(array('numberposts' => 10, 'offset' => 0,'post_status'=>'publish','category' => 32)); I need to make the number ...
0
votes
1answer
363 views

Custom Text in Media Uploader in a Theme Options Page

I want to replace the media uploader thickbox text only if it's used in the theme options page. If it is used in the Post then I don't want to make any changes. I am trying the following code, but ...
0
votes
3answers
162 views

Options Theme - Wordpress [closed]

Searching about options page, I found a lot of themes that uses a options theme page like this one: There is an pre-built option? What framework do you advise? Thanks
0
votes
2answers
700 views

Display and hide content using checkbox in Options Framework Theme

I am currently using Options Framework Theme for making WordPress options panel. I created a checkbox in admin panel by this code in options.php $options[] = array( 'name' => __('Input Checkbox ...
0
votes
1answer
70 views

Working with post values in the admin panel

I have this basic admin page functions.php <?php include('ui.php'); ?> ui.php <?php function gui() { include('gui.php'); } function add_page() { $themename = 'Cesaro'; ...
0
votes
1answer
161 views

Is it good idea to combine Options FrameWork with Hybrid Core Framework

(This is my first time posting here, so would appreciate if anyone could let me know the best way to post questions). Until now, I had been using TwentyEleven Theme and adding "Options Framework - ...
0
votes
2answers
82 views

Cannot update a file for my theme

I have a theme that automatically adds some widgets. I don't want them and so I tried to edit the Sidebar.php but it just fails and sends me to a page with message 404. Here's the code block I am ...
0
votes
2answers
135 views

Would to use AJAX to get an option from the database and use it in a jquery setup or is there an alternative to consider?

I have a slider in my theme. I have a setting in the options which controls whether that slider is set to "slide" or "fade". This slide/fade setting is in the jquery and of course the options setting ...
7
votes
1answer
130 views

Is it possible ( or advisable) to allow open access to the new theme customizer for potential clients?

I've been using the new theme customizer and it really has me thinking how awesome it would be to allow potential theme buyers/clients etc to play with the customizer for a demo theme (without being ...
0
votes
1answer
106 views

How do I remove the page listing menu in the header in the Twenty Ten Theme?

How do I remove the page listing menu in the header? I would like just the choosen header picture to show up without a listing of all of the pages on the site listed underneath. Also at the very top ...
0
votes
2answers
279 views

Selectbox in admin panel function linking to CSS

I want to link the selectbox to my CSS. Like if I click an item on the list, the background of my header will change - the header's color is in the CSS. The selectbox isn't in the html but it's in ...