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
378 views

Efficiency of wp_options vs a new table

I'm building a WordPress theme framework, that will likely have many options as development progresses. I found a related question: When is it appropriate to create a new table in the WordPress ...
-1
votes
2answers
183 views

Turning Wordpress Into full-featured website?

I just took 2 coffees worth of caffeine and started a very big project: Turning a wordpress-engined blog with a custom theme into a full-featured website. Can this be done? Is this legal? Has this ...
4
votes
2answers
1k views

Add a new checkbox in theme options

I'm trying to add a new option to a theme options panel to hide/show the comments links in the theme template files. I've got the option to show up in the panel, but there's something wrong in that ...
0
votes
1answer
90 views

Need some PHP schoolin'! passing var to url and the old options table

So, I've been building a theme options page, one of the purposes of which is to get some style values to pass to my php stylesheet in the url. Here's what I have: /* Get all theme settings */ ...
0
votes
1answer
53 views

Splitting an eCommerce store from the WordPress Theme

Company I work for has purchased an eCommerce solution for WordPress. The solution works as a complete WordPress Theme. My assignment is to split the store view from the original website design. To ...
0
votes
2answers
849 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
966 views

Is there a function to add additional options to the Twentyeleven option page?

I would like to add additional options like footer text to the Twentyeleven options page via child theme. I know how to create theme option page but if possible I would like to use the one that comes ...
2
votes
2answers
1k views

WordPress: update_option, don't update empty options?

How would I go about not letting empty data into wordpress? <?php foreach($_POST['eirepanel_inline_ads_options_name'] as $post_eirepanel_inline_ads_options_name): ...
3
votes
2answers
729 views

Theme Options page with tabs

I have a theme that I'm developing from an HTML template I have. I'm also designing an options page along with a plethora of plugins built-into the theme itself. I've chosen a tabbed interface and I'm ...
4
votes
4answers
303 views

Theme Options Panels, What are some good examples from Frameworks or Premium Themes?

I really like https://github.com/devinsays/options-framework-plugin Does anyone know any other good implementations of an options panel from a Framework or from another premium Theme? I think its a ...
0
votes
2answers
636 views

Why my theme option not working?

I am looking for the bugs about an hour but i can't find anything. Can you look and say why my theme option is not working? Problem: The theme option not saving. Even the default option is also ...
2
votes
2answers
206 views

Need help understanding/coding with Settings API

So I did something like below, but I get just (I am expecting a Facebook textbox?) I hope its not too messy. I am new to Settings API ... add_action('admin_init', function() { ...
-1
votes
1answer
408 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
2answers
174 views

How to change a specific character in a theme option value - replace a space with a plus sign

I'm writing a theme where I'd like to give users the ability, via a theme option, to specify a typeface for their site with Google Web Fonts. If a user wants to embed a font like, say, News Cycle, ...
-2
votes
1answer
375 views

Can't manage to display an uploaded picture (uploaded from a custom button) in the front end

I followed this tutorial in order too add a custom upload button in the Wordpress admin. It displays the picture you just uploaded right after saving: The problem is that I can't manage to display ...
0
votes
1answer
2k views

How to add an upload image button (just like the one in the Custom Header) in the Theme Options I just created?

I used the following code in order to add a Theme Options panel in my Wordpress admin: <?php $themename = "Nettuts"; $shortname = "nt"; $categories = ...
-2
votes
2answers
690 views

I don't have permission to save the theme options I created myself?

I created an option panel following a tutorial. But each time I try to save the settings I get the following: You do not have sufficient permissions to access this page. Any suggestions to fix ...
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
349 views

Using theme options to change a border-radius value

I'm developing a theme where I'm using theme options to allow users to set various things -- text size, background colour, link colour, etc. The basic code I'm using for the options is in header.php ...
2
votes
2answers
816 views

WordPress Nonce and check admin referer help needed

Just before I start please note that I am new at any type of WordPress/PHP security. Few days ago friend of mine asked me to create Theme Options for his Theme, all set and working fine, however he ...
0
votes
1answer
178 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 ...
2
votes
1answer
2k views

How to change Wordpress theme to one column?

Currently I'm using The Morning After Theme (http://theme.wordpress.com/themes/themorningafter/) It lists one-column as a feature, so how do I change it to one-column? The default is three columns.
1
vote
1answer
76 views

How can I make some themes usable only by admins?

I want to restrict certain themes so they can only be usable by the an admin. If I network a theme then everyone has access to it. How can I do this?
0
votes
3answers
815 views

PHP stylesheet cannot use standard WP functions

I am including a particular PHP file as a style sheet using <link href="<? echo THEME_CSS;?>/styles.php" media="screen" rel="stylesheet" type="text/css"> Recently I reached the point ...
0
votes
2answers
635 views

How can I change the theme of different posts using a plugin?

I'd like some posts to look different from others. Wordpress let's me easily switch themes for pages, but not posts. Is there a plugin that will let me do that for posts?
0
votes
2answers
2k views

Save Theme Options (options.php) From The Frontend

I try to save an option from the frontend but i can't find yet how to do it. So, the idea is to give the blog owner a simple form with a dropdown that can select a different stylesheet.css. I have ...
1
vote
1answer
265 views

Custom options below pages/posts editor?

I want to add permanently boxes below Visual/HTML editor for each page/post. I've never played with custom fields before, and I'm not sure is it way to go? If yes ten tell me, good people of ...
0
votes
1answer
407 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
1answer
353 views

How to add drag and drop functionalities to a div inside option panel

Hi to all it's a few days that I'm trying to add some new functions to my theme option-panel, you can see my questions here: How to add an export function to a custom Option Theme Page Add a preview ...
1
vote
1answer
4k views

Where is default wp_head() implemented?

I'm trying to customize a theme, and I see that the header.php calls "wp_head()". I can't seem to find an implementation of this in the theme, so I presume there is a default implementation that ...
1
vote
1answer
471 views

How to add an export function to a custom Option Theme Page

I'm creating a new Wordpress template and I have a question: I've added a custom Option Page to my new template (you can see what I'm doing Here and Here) but now I would like to add a new function. ...
3
votes
2answers
516 views

Add a preview to a Wordpress Control Panel

I'm trying to create a new wordpress template and inside it I added a Control Panel, inside this control panel there is an option that allows user to choose where he want's to place a on a map, I try ...
3
votes
2answers
780 views

Modify CSS via Theme Control Panel

Hi to all I'm trying to create an advanced control panel for my first Wordpress template but I'm not able to add a function that I will need. The function that I'm trying to add is the possibility to ...
0
votes
2answers
308 views

Hiding Google Analytics code based on theme options

I'm doing up a WordPress theme at the moment, and I want users to be able to add Google Analytics to their site by just adding their tracking code -- you know, the UA-20149670-1 -type number thing. ...
0
votes
1answer
413 views

'Invalid Error' when saving theme options - only in Google Chrome

I have users when get an 'Invalid Error' when trying to edit the custom theme options in my theme, WPFolio. The options (just some CSS rules: page container color, font color, headline/body font, ...
4
votes
2answers
493 views

Submenu pages delete settings from options array when saved

I'm writing a theme and adding a menu with several submenu pages. It works fine, except that I'm trying to use only one array to save all the settings into the database and this is causing some ...
0
votes
3answers
2k views

Can't save options

I created theme options page using Settings API, everything works fine but I can't save options. I tried to figure it out where I missed something but I failed. Any idea what can cause this problem? ...
1
vote
1answer
403 views

Using if/else statements with output from theme options

In another question I was talking about using theme options to modify CSS. This is a separate but related question. When a user sets a link colour in my theme, here's how I'm including their choice: ...
0
votes
1answer
638 views

send information from the thickbox image uploader second tab

in this question i've found how to create a custom tab at the image uploader. this is the code: add_filter('media_upload_tabs', 'my_media_upload_tabs_filter'); function ...
0
votes
1answer
2k views

Using theme options to change link colours

I'm developing a WordPress theme with some theme options (using the ThemeShaper sample theme options page), and one of the options I want is to allow users to set their own link colours. At the ...
3
votes
3answers
2k views

Can You Export Theme Settings From WordPress Multisite?

I do local WP development on a WordPress Multisite instance. What is the best way to move theme settings from there to the live instance? By theme settings I am talking about widgets and theme ...
2
votes
1answer
909 views

How to make alert for new version on theme options?

Let say my theme host on my server. User download my theme and use it. Now I want notify @ alert for new version of my theme. Example to show "New version has been release. Please download at ..." ...
0
votes
2answers
588 views

Setting up a members area

I am trying to set-up a members area on a site, I have already come up with one solution but was wondering if anyone one knows of an easier or better way to go about it. The problem is the user ...
1
vote
1answer
492 views

How to override .htaccess with new rules without ftp or edit it manual

I want script will add new rules to current .htaccess and user no need to ftp or edit it manually. Example, I use timthumb for resize image on my theme and want rewrite the URL and current .htaccess ...
1
vote
1answer
654 views

Theme option editing capability problems

I've setup some theme options using this helpful guide as a template. I want to give my editors the option to update these theme options, so I granted the edit_theme_options capability as mentioned ...
0
votes
1answer
235 views

How to add or delete default value theme options while activate and deactivate theme

I want to add & reset default value for my theme options while activate and deactivate a theme More clearly something like this if(theme active) add_option(); // add new option to the theme ...
1
vote
1answer
175 views

How to get a value for admin css color either gray or blue

I want implement theme option which will have two css files. Example, if current admin set their profile to blue color I want load blue css for the theme options. if (current-value-css-admin) load ...
4
votes
1answer
15k views

How to use media upload on theme option page?

I want implement upload logo to my theme option page. Currently I follow this code What I have done for now load a related jquery for the media upload function load_only() { add_thickbox(); ...
1
vote
3answers
514 views

How to load default scripts included with WordPress correctly?

I want to know the correct way to load existing scripts in wp-includes/js/jquery/ Example I want to load jQuery UI Tabs What I have done for now function sample_exists_code() { echo '<script ...
2
votes
1answer
187 views

Can I use theme options to change two things at once?

Possible noob question -- please be nice. I'm doing up a theme options page using the sample from Themeshaper, and one of the options I want to have is to set the width of the sidebar. To do this ...