Tagged Questions
2
votes
1answer
52 views
How to store widget fields data as an array?
I am creating a widget, it needs to store about 10 IDs. Right now I'm using following field method to store each of the ID in a separate field. It stores data of each field in a separately in the ...
1
vote
1answer
45 views
How to Call pages from a Options Panel
Need a little bit of help here. I am adding this dropdown to my options panel. However, when I call my option in my template. It does not display
Here is the function for the dropdown:
function ...
0
votes
1answer
330 views
Saving multiple fields as array
I'm adding a settings section to a theme that will allow the user to enter testimonials which will be randomly displayed on the site. Each testimonial has 2 fields, author and testimonial, I've ...
2
votes
2answers
1k views
Get category slug and display it on a query_post
I just read "How to create option page for wordpress theme" in wp.tutsplus.com - I have a problem with getting categories .
there is two parts to my question
- Part A - Get category slug and ...
1
vote
3answers
242 views
Where should I update_options in a theme?
I am designing a theme where the home page (i.e. is_home()) should only display the latest blog post. I want to do something like $wp_query->update_option('posts_per_page', 1) every time I am on ...
1
vote
1answer
1k views
two tinyMCE editors in the same page
I've used this method to enter the first editor:
on functions.php:
function add_admin_theme_styles() {
wp_enqueue_style('thickbox');
}
add_action('admin_print_styles', ...
32
votes
6answers
4k views
framework for plugin/theme options panel? [closed]
I found that the longest part of a plugin or theme development is creating the options panel, at least in my case.
So i like to know what's your take on that.
Do you use a ready made framework or ...
1
vote
1answer
662 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
2answers
602 views
Multiple Custom_Background, is it possible?
Is it possible to create multiple "custom background" administration pages? A site I'm doing now needs 2 different background in 2 different areas, I would really love giving my client the same ...