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
121 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 ...
0
votes
1answer
369 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
112 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
274 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
1k 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
100 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
87 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
903 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, ...
0
votes
2answers
907 views

Unable to save Theme Options when TinyMCE is enabled for the text area

On the site I'm currently developing I have created a theme options page (under Appearance). All there is on this page is a text area so the client can add some summary text to appear above their ...
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: ...
1
vote
1answer
233 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 ...
0
votes
1answer
178 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
88 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
226 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 ...
1
vote
0answers
72 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
181 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 ...
1
vote
1answer
107 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
437 views

How to Disable Color Options?

This question is related to my earlier question, but I think it's specific enough to qualify as a standalone question. I am modifying an existing theme (the Twenty Ten theme that ships with ...
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
2answers
134 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
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
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. ...
5
votes
2answers
651 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
56 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 ...
0
votes
1answer
403 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
126 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
109 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..
7
votes
1answer
140 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
165 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
116 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
30 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
70 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
3answers
166 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
1answer
73 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
2answers
86 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
87 views

Single Page Design, Storing in Theme Options

So I'm developing a theme where essentially all content will be displayed on a single page (index). Well, the content isn't exactly conventional. In other words, it's not just a title and body, maybe ...
0
votes
2answers
155 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
3k views

How to Dynamically Resize WordPress Image On-The-Fly (custom field/theme option)

So - at a client's request, I am in need of being able to resize an image not the standard WordPress way... but from an image pulled-in from a theme option. I can't simply use the custom_header area, ...
0
votes
1answer
108 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 ...
2
votes
2answers
280 views

Separate backend “Widgets” page for each language

Im currently trying to make my backend work with multiple languages. Im using qTranslate as my translation plugin. So far I have accomplished a custom option page with multi-language support. When ...
0
votes
1answer
63 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; ...
1
vote
3answers
282 views

Put standard wordpress options into a theme options panel?

I'm developing a theme for a client, and I want to allow her to change the site title, description, and her password as needed. However, I don't want to give access to all of the other options (e.g. ...
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 ...
-1
votes
1answer
418 views

Select Custom Taxonomy from Theme Options

I have been trying to get a drop down of my custom taxonomy terms to show up in my theme options page but with no luck. I looked a several posts here and followed the tips but the code just does not ...
0
votes
1answer
97 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 ...
0
votes
1answer
181 views

Preset Widgets ONLY after site is initially created

I want to preset some widgets using functions included in my theme ONLY after a site is initially created (my theme is the default for all new sites in my instance of WordPress). I DO NOT want my ...
3
votes
2answers
604 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 ...
3
votes
2answers
672 views

How to set the default value of a option in a theme?

$shortname = "nuod"; array( "name" => "Custom Logo URL", "desc" => "Enter the link to your site's custom logo.", "id" => $shortname."_logo", "type" => "text", "std" => ...
0
votes
1answer
1k 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 = ...