0
votes
0answers
36 views

Add all typography options with options tree

I'm new to WordPress theme development, and I had to create a theme with options tree. I have successfully add some options with options tree plugin in my Wordpress theme. But I am really stand when ...
0
votes
3answers
163 views

Customize Option Framework

I was trying to create a Option Theme Page for my theme and I wasn't able. Today I found the Option Theme Framework but after some time I really can't understand how to use it. In particular, I'm ...
3
votes
1answer
698 views

Understanding wp_add_inline_style

I am trying to get my head round the wp_add_inline_style() function in WordPress. //setting inline css. function my_styles_method() { wp_enqueue_style( 'custom-style', ...
0
votes
1answer
168 views

Passing dynamic options from backend to frontend

I have created an admin options page (using the Redux Theme Framework), in which the admin can customize the website's appearance (text color, background color, background repeat options, etc.. ). ...
-1
votes
1answer
52 views

Where to add the code for an outer container in a theme?

I have a Wordpress theme installed (SimplePress) and I would like to add an outer container to it, and I don't know exactly in which file should I add the code. This is the code I tried to use: ...
0
votes
2answers
107 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 ...
1
vote
2answers
301 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
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 ...
-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
2answers
177 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, ...
0
votes
1answer
368 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 ...
0
votes
1answer
365 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 ...
3
votes
2answers
540 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
827 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 ...
1
vote
1answer
439 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
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 ...
1
vote
1answer
178 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 ...
2
votes
1answer
188 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 ...