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
1answer
104 views

How to support special characters in text field?

When i put special characters in text field on wordpress themes option then it's gonna add some slash characters Like if I put It's then its show It\'s. How i solve that?
0
votes
2answers
380 views

Cannot modify headers

I absolutely hate this error. And do not understand it at all. So this is my code, what you want to focus on is the foreach loop: public function reset_theme_options(){ ...
3
votes
2answers
793 views

Adding a description to theme customizer controls

How could I add a description to $wp_customize->add_control? I've found I really need to include a short description on some of the controls but it doesn't look like it's possible. I noticed you ...
-1
votes
1answer
280 views

Theme Options - localhost to new url

Im having this issue that happens to me each time i work on a website. On every project i start working locally and once im done i export my Database and search replace all localhost url's to the ...
0
votes
1answer
277 views

Notice: Undefined index: in options-framework.php

I am generating the following notice in the options-framework.php. Notice: Undefined index: in options-framework.php I believe it is something to do with sanitization, but do not know how to resolve ...
0
votes
1answer
590 views

Notice: Trying to get property of non-object in options.php

I am generating the following notice in my options.php when testing my theme in wp_debug mode. I can see where the problem is but do not know how to fix this issue? It seems the non object is being ...
0
votes
1answer
319 views

Create /archive page in Wordpress Theme

I'm trying to create a Wordpress theme, and I'm having a little difficulty with creating an easily accessible archives page. First off, I'm not referring just to the standard archive.php in the ...
0
votes
1answer
756 views

Error: options page not found

This error is really well known and every where I look its either I am not doing: <form method="post" action="options.php"> or I am not registering my options, which is not the case as seen ...
0
votes
1answer
182 views

Cannot query custom post type taxonomy from theme options array

I am having no luck with querying a custom post type taxonomy from an array in theme options. My full code is below, would be grateful for some feedback to get it working correctly as I cannot get ...
0
votes
1answer
273 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
1answer
136 views

How do I display a full post, not just an excerpt?

I am a newbie, so apologies in advance if my terminology is off. I have purchased a theme (WP SmartStart) and I would like the posts in the blog to display fully, not just as excerpts. I read previous ...
0
votes
2answers
73 views

Custom post types problem

I have in my blog around 2k+ posts in 15 categories and around 1k tags. The problem now is that the website I bought the theme from decided to upgrade/update their themes infrastructure and now I need ...
0
votes
1answer
123 views

The content not wrapped in paragraph tags with get_page_by_title()

I am using $page = get_page_by_title('name'); to get the contents of a page. When I echo $page->post_content; none of the content is wrapped in p tags like it is when run threw the normal ...
1
vote
1answer
206 views

Location of theme options page menu icon

Hi this may look a little silly question but can someone let me know where is the location for theme_path? is it inside my own theme or very top level of the directory? 'menu_icon' => theme_path ...
3
votes
1answer
96 views

Outputting results from select box option in options panel

I'm trying to figure out how to get the results from a select box option and apply them to my theme. When I use a text input or color picker it works fine. But when I use a select box, nothing is ...
0
votes
2answers
2k views

Upload images - Theme options

I'm using this great [tuts+ tutorial][1] for creating theme options page. It works great for me be beause I need to change background images of divs via css. It works great with one image but I dont ...
0
votes
1answer
40 views

Apply custom names for generic custom taxonomy name?

Hello, this is more of a 'is it possible' type question. Keep in mind, I am no php master by any means, but can generally figure things out : ) Say i have a wordpress site that is for displaying menu ...
0
votes
1answer
352 views

How to get functions.php to talk to options.php

I am using Options Framework to build a list of theme options (using code from the theme, not the plugin). I have a colour picker as an option, and I can set and call this colour okay. I'd like to ...
7
votes
2answers
3k views

What are the advantages and disadvantages of Option Tree over the Customization API?

I'm relatively new to WordPress theme development, and I had to create a theme with options available. I did a Google search to see what are the possibilities, and I read articles about such, and read ...
0
votes
1answer
161 views

Link blogname and blogdescription to the Options Framework

I'm putting together a Theme Options page, where 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 Site Title and ...
1
vote
2answers
146 views

WordPress settings API error when checkbox unchecked

I am trying to creating some custom options for a template I am developing but I am getting an error when the checkbox (Line 130) is unchecked: Warning: Illegal string offset 'show_admin_dev' in ...
0
votes
2answers
285 views

Options Framework not saving options correctly

I'm trying out the Options Framework, and I've started hacking options.php. I have reduced the amount of options, and one of the options left is an image upload. I have gone into Theme Options, and ...
2
votes
1answer
519 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 ...
1
vote
1answer
487 views

Choose To Display Post Views With An Options Panel

I have post views enabled and I'm attempting to make an options panel option to allow users to choose if they would like to display post views in each post. If they choose 'Yes," then they will be ...
0
votes
2answers
200 views

WordPress theme options error

I am building a theme and I need to call theme options But I do get errors like white screen and 500 internal server error when I call theme options here In WP query (newbie in PHP) ...
0
votes
1answer
488 views

Multiple Custom Headers

I am trying to add this function: add_theme_support( 'custom-header' ); I would like this to somehow combine with multiple headers. I saw some code that was PHP that checked which template was ...
4
votes
1answer
133 views

Click link on plugin/theme page and open the contextual help on a specific tab

I've added a help section using the add_help_tab() function. I'd like to be able to click a link somewhere on the theme/plugin page and have the help panel open at whichever tab I need. Can someone ...
1
vote
2answers
120 views

How can I insert some extra validation into the theme options' validation function using add_filter?

I'm using the theme options from the underscores (_s) WP theme as a base for my own theme options. If I wanted to insert the validation from the bottom function into the top function's $output array, ...
-1
votes
2answers
313 views

How to make admin theme option with image slide show?

How to make admin theme option with image slide show so admin can change image dynamicly (user can upload and change the image and title slider) as a slideshow on the webpage? Thank you for any ...
0
votes
1answer
2k views

How to use checked() function with multiple check box group? How to properly sanitize that checkbox group?

I'm using the theme options page from the underscores (_s) theme to build a theme options page and I have a group of check boxes on it. In the example below I've just included 2 for simplicity. My ...
0
votes
2answers
108 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 ...
3
votes
3answers
87 views

reason of splitting theme files to multiple files

I can create my theme without splitting it into separate files. Why do theme developers split WordPress theme into a few single files like header.php sidebar.php and etc?
-1
votes
1answer
38 views

Site is setup statically - how to make it content managable?

This is probably quite a basic question, but I have my site setup statically in WordPress, all I am trying to figure out now is how to add a new section to the WordPress backend where all the content ...
0
votes
1answer
1k views

Set WordPress Default Template

I'm using the Options Framework Theme to put together my options page and would just like to know how would I set up/call the Default Template - for whichever one the user has selected. For example, ...
1
vote
0answers
900 views

Create an Options page with two image upload fields

I’d like to build a simple and clean Options page with two upload fields and a preview of the uploaded images. I tried a lot of frameworks like NHP and UpThemes but they are way to heavy for my ...
1
vote
1answer
260 views

How to add an alternative style sheet as a theme option?

I'm trying to create a few extra theme options in the "customise" section of the wp admin menu. I would like to offer an option to load an alternative style sheet. Question: How can I adapt the ...
11
votes
3answers
615 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
1answer
222 views

Wordpress Options-Theme STD (default) value does not work

I'm using Wordpress Options Theme and I'm getting an issue. Here's the code: $options[] = array( "name" => __('Texto de bot&oacute;n de enlace a cotizaci&oacute;n',THEMENAME), ...
1
vote
0answers
100 views

Only allow site url in text field using wp_kses/wp_filter_nohtml_kses?

I'm working on validation for a theme options page. Is there a built in way to add an argument to wp_kses/wp_filter_nohtml_kses that will allow a specific link to be entered(wrapped in a tags) but ...
1
vote
0answers
255 views

Validating a cloned/repeatable input (jQuery)

I'm trying to create a repeatable field an upload image input with image preview for my Theme Options page and I have the following: function theme_options_validate( $_POST ){ if ...
0
votes
1answer
668 views

Create a comments template for custom post types

Is it possible to create a comment template for custom post types? I want the wording for comments on a custom post type to be different for wording on a regular wordpress post. I tried ...
4
votes
2answers
2k views

Adding a checkbox to the theme customizer

When trying to add a checkbox to the theme customizer it seems to be 'always' selected. If you try to deselect it you cannot, almost as if there is some JS code forcing it to stay selected. I am ...
0
votes
1answer
68 views

How would you accomplish the following advanced settings page?

Currently I'm developing a new theme for my business. This theme will have a header section with a drop down menu, a slideshow on the background and three featured images with a title, a description ...
1
vote
0answers
78 views

Are un-sanitized theme options more vulnerable to malicious scripts than the theme editor?

I'd like to put text areas in a theme options area to allow users to easily add analytics code, scripts, and css. Is it silly to worry about malicious code being inserted via un-sanitized theme ...
1
vote
1answer
198 views

Should a child theme share the same theme options row as the parent, or should it have it's own options row?

I'm developing a theme which uses the NHP Theme Options Framework to add some theme options. Naturally, the theme options framework creates a single row in the database to store the theme's options ...
0
votes
1answer
136 views

Creating an advanced searchform based on select boxes

I am trying to create a WordPress website where a user can post a car that he is trying to sell with contact details for it. I have most of the things figured out about how this website will work. My ...
0
votes
2answers
76 views

Defining different theme for Blog posts page

So, I'm using my wordpress with a static front page and then I have Blog link that opens the blog posts. My question is, how can I apply a different template/styling only to that area?
6
votes
2answers
767 views

How do I add settings to the Background Options Page?

I am developing a theme and I wanted to add some extra content to the built in background options page. I know how to use the settings API to create new theme options and settings but I can't seem to ...
4
votes
1answer
463 views

Setting multiple default background images?

The following code lets me set a default background image. Is it possible to set multiple custom backgrounds? add_theme_support( 'custom-background', array( 'default-image' => ...
1
vote
1answer
112 views

Wordpress theme options vs custom post types

For dynamic content across a wordpress website, is it a better practice to create new post types for updating content or using theme options? I personally find theme options a little more time ...