The theme-options tag has no wiki summary.
3
votes
1answer
13k 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();
...
3
votes
2answers
674 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 ...
4
votes
1answer
889 views
Best practices for a Style/CSS based theme options page?
I would like to create a theme options page based only on changing the site wide CSS styling. For instance body/container background colors, font-sizes, font colors, etc.
I have accomplished this by ...
3
votes
2answers
442 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 ...
10
votes
3answers
313 views
Wordpress API Menu/Submenu Order
I'm developing a child-theme using Wordpress 3.4.2 and the development version of the Options Framework by David Price. This is my first theme and I'm relatively new to this, so I've had a look into ...
0
votes
2answers
1k 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 ...
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 ...
4
votes
1answer
577 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 ...
2
votes
1answer
169 views
Site Title and Tagline in Theme Options Page
I'm using the Options Framework Theme to put together an options page. The user(s) I'm building this for would like to be able to edit a few settings directly from this page, including of which - the ...
0
votes
1answer
3k 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 ...
-2
votes
2answers
1k 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 ...
2
votes
1answer
766 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 ...
1
vote
1answer
387 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.
...
2
votes
2answers
193 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() {
...
0
votes
1answer
1k 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 ...
0
votes
2answers
548 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
3answers
276 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
114 views
Problem with query_posts for a custom taxonomy in theme options
I am having some issues with querying the output of custom taxonomies in my theme options.
I have included what I think are the necessaries below.
Many thanks for your help in advance.
// Pull all ...
0
votes
2answers
165 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. ...
0
votes
3answers
700 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 ...