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

4
votes
1answer
463 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
112 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
65 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
1k 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
686 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
769 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
57 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
140 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
123 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
182 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
127 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
31 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
78 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
430 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
168 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
1k 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
74 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
180 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
88 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
175 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
153 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
124 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 ...
1
vote
2answers
309 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 ...
0
votes
1answer
328 views

Admin menus and submenus

I created an options page for admin and displayed it as a top level menu -> add_menu_page($themename, $themename, 'administrator', basename(__FILE__), 'mytheme_admin'); I want to add a sub menu under ...
0
votes
1answer
75 views

wordpress theme option in other templates

I am using word press theme option panel and using those in my header.php without any issues, code as follows... <?php // loading theme options. used in header.php global $options; ...
0
votes
1answer
1k views

Theme Options Page - Select, Radio, Tabs

The code below is my theme options page (submenu - under "Appearance"). All options work fine except "select" and "radio"... They don't appear in the page as the other options do. I have been ...
4
votes
2answers
137 views

How to make a newly registered site on multisite network “live” only when the user is ready

By default, a new site created on a multisite installation is "live" and viewable by everyone (if they know the address) right after the user creates it. What is the best approach to changing this ...
0
votes
1answer
103 views

My title won't update

No matter how many times I go into settings, and update my website title, it remains the same. And does not update? I've tried clearing my cache, uninstalling my old theme, searched through source ...
3
votes
2answers
778 views

Secure Validation of wp_editor in Theme Options

So I just found this great WPSE thread about security for themes/plugins. It answered most of my questions but it was created before the new wp_editor() function was built. I have two TinyMCE editors ...
4
votes
1answer
2k views

wp_editor() fields on Theme Options Page not saving

(This is sort of a follow-up to this question.) I'm able to display the two WYSIWYG editors on my theme options page, but the values I enter into the editors aren't saved. I've read a ton of stuff ...
0
votes
1answer
2k views

what does $options = get_option('test_theme'); do?

I'm trying to set up theme options so they save with AJAX, I found this tutorial http://return-true.com/2010/01/using-ajax-in-your-wordpress-theme-admin/ it's calling $options = ...
2
votes
1answer
2k views

What is the best way to export and import theme options?

So what is the best way to create an export and import feature, I tried serialize() and urlencode() on an array of options to be used in a url like so: export.php?data=(long string), and use $_GET ...
0
votes
1answer
496 views

Wordpress Options Framework, add to main menu not appearance menu

I am using the Wordpress Options Framework theme but I want to be able to have the "Theme Options" link appear in the Admin UI menu as oppose to under the "Appearance" (themes, etc.) menu item. I've ...
1
vote
1answer
318 views

How to set different settings for a mobile theme?

My desktop version of wordpress theme requires using a 'static' page as the start page as it has custom shortcodes etc. While this is good, when it comes to my mobile theme, sadly the 'static' page ...
1
vote
1answer
286 views

Simple custom theme option not being saved

I'm not a web developer and have been following a tutorial on how to add options to a simple self-written theme. In functions.php I've added the following code: <?php $themename = "Theme Name"; ...
0
votes
1answer
212 views

Using browser detection and the body_class() function to modify css

I'm using the following function, as described here: http://www.nathanrice.net/blog/browser-detection-and-the-body_class-function/ Now when I use the following css styles, it does exactly what I ...
0
votes
2answers
150 views

Custom options page for themes

I used this nettuts tutorial to create an options panel. What I'm trying to figure out how to do and have been unsuccessful doing so far (I keep "breaking" the code/getting a server error) when I try ...
1
vote
1answer
56 views

How Do I Use A Custom Mobile Theme?

I have a self hosted blog and I want it to be mobile compliant. I know there is a free plugin the serves this purpose. However, I want to use a simple mobile theme I like (say from Theme Forest). How ...
0
votes
1answer
303 views

Tabbed theme options query about add_settings_section callback function

I have been building a tabbed option page based on some tutorials I found, using the settings API. Here is the code http://pastebin.com/bbSnhFP5 . It's all actually working fine for me but it's not ...
0
votes
1answer
1k views

WP_editor doesnt apply wpautop on single line content

For a current project I am trying to echo a line of text saved in the theme's options page. I use the wp_editor function for the user input instead of a textarea. The code I am using is quite simple: ...
-2
votes
2answers
2k views

PageLines theme: how to change the background color of the main content vs. entire page?

I use PageLines free version, with WordPress 3.3.1, for this website: http://new.teleosis.org/?page_id=76 I want the background color of the whole page to be light green, and the background color of ...
0
votes
1answer
220 views

Multiple options in the options_value field of the wp_options table

I have come across a theme that has a way of having multiple options in the option_value field.For instance,in the theme,one can perform the Create,Read,Uodate and Delete functionalities on such ...
0
votes
1answer
399 views

List of categories instead of dropdown menu selector in admin options

I am using the following code for in admin area for theme options $categories = get_categories('hide_empty=0&orderby=name'); $tz_wp_cats = array(); foreach ($categories as $category_list ...
1
vote
2answers
294 views

Additional custom header image

Has anyone seen a way to add a new header_image to a theme? I need to add two configurable images in a theme. It doesn't really matter if it gets added as a new "Header" admin theme menu or if it's ...
0
votes
3answers
721 views

How to support letting users add their OWN logo to a custom theme?

I am a rookie theme developer (3 months in) and I am trying to figure out how to implement the following functionality: The theme I am building has a logo which I would like for users to be able to ...
0
votes
1answer
1k views

Adding Sub Menu In a theme which Do not have Menu Options

I am a new bee in wordpress but i can code in PHP. I have a free wordpress theme installed on my local host. The theme Do not have an option to add to add menu/sub menu in it. It comes with predefined ...
1
vote
2answers
953 views

Disable image resizing on specific upload fields

I am using the Options Framework Theme from devinsays, but am having a "small" problem with the Image Upload functionality. Basically, I need to disable resizing on a specific upload-field, but keep ...
0
votes
1answer
568 views

register_setting and AJAX?

Please pardon me if this question is totally unrelated in itself, but I'll do my best to point out the issue I am having and what I would like to achieve. Scenario: I have a custom theme option's ...
1
vote
1answer
4k views

qTranslate with my own theme and settings

Basically I have my own theme and my own settings page. In that settings page I have a textfield which contains a Welcome Text to show at the top of the website. Now, I want this theme to works with ...
0
votes
2answers
29 views

Functions containing parameter 'yourtheme'

I had a colleague create a new theme and while doing so he copied an old theme and made the changes necessary. Now, in many of the files, there are functions that contain the old theme name in the ...