Tagged Questions
1
vote
1answer
80 views
Full page (no WP admin menus and options) admin theme options
I'd like to drag and drop functionality into one of the admin pages and I've been wondering about the best way to implement it: an iframe or something else?
What I'd like is: Once the use choose the ...
1
vote
1answer
24 views
Theme settings default, strange behavior before first save
I was building a theme options page with the settings API. I use an ajax call to compute some settings automatically from other pages / tabs. I noticed that all of the new settings default ("std") ...
0
votes
1answer
55 views
How to include stylesheet in custom admin using parent_slug
Using this code from codex:
function my_enqueue($hook) {
if( 'edit.php' != $hook )
return;
wp_enqueue_script( 'my_custom_script', plugins_url('/myscript.js', __FILE__) );
}
add_action( ...
1
vote
1answer
229 views
Add transparency to wordpress color picker?
Question: How could you add a few transparency options (none, semi-transparent and solid) to the chosen color in the wp color picker?
I'm working on a set of theme options. I am using the wp color ...
0
votes
2answers
175 views
Get data from Theme Options and use them into meta options field in custom post type
I want to grab data from my theme options and have to use them in meta option fields in custom post types. I know how to grab theme option data and show them on front pages but don't know how to grab ...
0
votes
1answer
123 views
Theme Options Menu Item - Permission Issue
I am trying to create a theme options menu item for my custom theme. However, when I add the following piece of code in the functions.php file...
add_menu_page('Page title', 'Asteria', ...
1
vote
1answer
974 views
Working with an Array inside Your Theme Options Array - Multiple Values
I apologize if this is covered extensively elsewhere, I'm not sure how to phrase my searches on the topic.
Basically, instead of the following standard code to store data in WP-options...
$options = ...
0
votes
2answers
402 views
How to dynamically change theme's slogan from admin?
how can achieve this functionality. That I can change the themes "slogan" from admin and I don't have to go edit the themes source files.
I think that there is some theme options functionality. But ...
1
vote
1answer
157 views
New custom theme option (text input) giving index error
I am using the theme-options.php file from ThemeShaper:
http://themeshaper.com/2010/06/03/sample-theme-options/
I can succesfully add new dropdown options, however when I add a new text input I ...
0
votes
1answer
107 views
What's the easiest way of adding more options in the Theme Options of the twenty eleven theme?
Wordpress 3.2 beta comes with twenty eleven.
It has a Theme Option panel in the Appearance section:
I would like to know what's the easiest (and extendible) way of adding more options to that ...
1
vote
1answer
174 views
Admin Theme customization
I followed instruction on the wordpress codex site on creating an admin theme via a plugin. I activated the plugin, but my stylesheet isn't being included in the <head>..
Here's my code:
...
0
votes
1answer
51 views
What is the most efficient way of adding additional functionaliy for admin only
I'm trying to figure out the best approach to add additional functionality that will only be utilized by admins via /wp-admin.
What's the best way to implement so that resources aren't being wasted. ...
1
vote
2answers
1k views
Add a series of checkboxes to theme options
Hi I made a theme options by this tutorial
This options have multicheck type by checkboxes. I don't know how to make it work. I'm try to exclude page using this multicheck.
This is my array with ...
1
vote
1answer
683 views
How can I display/hide certain content based on a Theme Option field?
I'm building a Theme Options page for my theme, and I've managed to get most of it working fine. But now I'm trying to show and hide certain parts in my theme based on a simple check box. An example:
...
3
votes
1answer
364 views
How do I create my own admin button and theme settings page?
I have some options I want my client to be able to change, and so I need an options page for my theme that I can show for those with "editor" status. How can I do this and utilise the options in my ...