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
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 ...
0
votes
1answer
296 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
56 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
129 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
91 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
517 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
1k 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
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 = ...
2
votes
1answer
1k 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
359 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
242 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
234 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
206 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
139 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
54 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
268 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
939 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
192 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
340 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
1answer
249 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 mater if it gets added as a new "Header" admin theme menu or if it's ...
0
votes
3answers
505 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
949 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
767 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
464 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
3k 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 ...
1
vote
2answers
588 views

Creating a theme options page

I'm currently using Ian Stewart's A Sample WordPress Theme Options Page trying to create an inputfield and two textareas. Probably overlooking something somewhere I seem to be having some ...
2
votes
1answer
56 views

How can I show more than 15 themes at a time in the admin menu?

I have a lot of themes in my test wordpress site. I get a little frustrated that I can't show more than 15 at a time. In pages and posts you can click "screen options" to choose the number, but it ...
7
votes
1answer
2k 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, ...
1
vote
2answers
641 views

Theme Options: If There is No Input, Don't Display?

I have built a custom options panel which allows site owners to enter their social profiles. I then use the second code to make the links appear in the theme. When no link is entered in the options ...
0
votes
1answer
805 views

WordPress karma theme shortcodes not working

I have uploaded karma theme and, but due to some reason, images using timthumb are not displaying. My WordPress url is http://wordpressforpi.com/test/ in this page, second image does not shows up, if ...
0
votes
1answer
595 views

Undefined index: debuging error for theme option template snippet

Hello I tried to find the solution but couldn't get what I am looking for..I am getting error exactly as bellow.. Notice: Undefined index: page in ...
0
votes
1answer
315 views

WordPress built-in Custom Background

Is it possible to enable the "Custom Background" function of WordPress (add_custom_background() ) in my own theme-options page? Thx for helping!
0
votes
2answers
218 views

Switch Theme Through Options Panel

Is it possible to allow users when logged in to switch the entire theme through a theme options panel? I don't want users to use the standard wordpress way, but instead just an option in their panel. ...
1
vote
1answer
431 views

WordPress custom options storing?

I have a theme with around 500 custom options, their code looks like this: <form method="post" action="options.php"> <?php wp_nonce_field('update-options'); ?> <input type="text" ...
2
votes
2answers
417 views

How to go about pre generating css file with variables from theme options

I know there have been lots of discussions on here about rendering a css file with php variables. The "no no" way of bootstrapping the wp-load.php for example. I've been working on a theme framework ...
0
votes
2answers
86 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 ...
1
vote
2answers
272 views

Common single page template options

I am developing a common theme for 25 websites, the default requirements are done. Each site has got different single post template. I need to group it as a single theme so i don't need to hard-code ...
2
votes
1answer
103 views

Select front page and blog page in custom theme settings page

Im creating a theme which have a custom setting page. I know the best method to choose a static page is by going to Settings -> Reading, but my client wants to have all in the same place. I already ...
3
votes
1answer
929 views

Upload multiple images via theme options

Is there a simple script out there that would allow multiple images to be uploaded via my theme options page (Which is based on this script - ...
3
votes
2answers
524 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
2k views

How to save Uploaded image in custom option panel?

I'm trying to add a custom option panel to a new template following a tutorial found on NetTuts. I saved all the code for the option panel inside a file called optionpanel.php (LoL) and everything is ...
2
votes
1answer
115 views

theme options echoing multiple times

I tried to strip down the Twenty Eleven theme options page and add my own fields correction: I followed a tutorial somewhere, but when I try to echo the data, it comes out multiple times. Here is my ...
3
votes
3answers
99 views

Can I install Analytics before deciding on a theme?

I haven't decided what theme to have on my WordPress site yet. But I do want Google Analytics on the site. Before installing Google Analytics on the site, do I need to decide on the theme? i.e. ...
2
votes
2answers
254 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 ...
2
votes
1answer
337 views

Two Ways Of Creating Wordpress Options Pages

I'm about to create my own options pages for my WordPress theme and I'm a bit confused. I've seen a lot of themes that used arrays to generate options pages, it looked like this: $options = array ( ...
0
votes
1answer
585 views

Weird undefined index: id,std notices. How to fix it?

Ok I'm running my wordpress in debug mode. I'm getting lot of notices. This is my code. <?php //allows the theme to get info from the theme options page global $options; foreach ($options as ...
0
votes
1answer
1k views

Where are a theme's options stored and can I export them to be imported into freshly installed themes?

Imagine that a person has a few premium themes that they use for clients. In those premium themes are many different options that can be set. Is it possible to set the theme's options to the most ...