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

2
votes
1answer
37 views

Using jQuery to retrieve customizer value

I am trying to use jQuery to retrieve a theme options (customizer) value: $wp_customize->add_setting( 'header_fixed', array( 'default' => true, ) ); ...
2
votes
1answer
129 views

Site Title and Tagline in Pagelines DMS Options Panel

I'm using the Pagelines DMS Theme and I'm wanting to extend the functionality of the front end admin panel. The user(s) I'm building this for would like to be able to edit a few settings directly from ...
1
vote
1answer
320 views

Shortcode are not working in Option tree textarea

I am using option tree. In textarea, i place shortcode [layerslider id="1"] its not working, i also found same post replied by plugin author allow shortcodes in textarea in option tree applied ...
1
vote
1answer
95 views

How do i place same widgets multiple time by default on theme activation?

I am creating a portfolio theme and want to place some widgets on sidebar by default on theme activation. I did it but the problem is that, I want to place Text widget two times at the same sidebar ...
1
vote
1answer
143 views

Is it possible to save more than one image to an option?

The following code allows you to upload multiple images but only one is saved to the option. Can multiple images be saved to the option as an array or would I have to create separate controls? ...
1
vote
1answer
140 views

Query Page Content From Theme Options?

I'm trying to create a slider where you choose what pages are shown in the slider, using a theme options panel based on the https://github.com/vauvarin/options-framework-theme That lists the pages in ...
2
votes
0answers
133 views

Best practice (forward compatibility) for theme options

So here is what I'm wondering... You all know about Option-tree and similar frameworks that theme authors are using for their theme option pages. You also all know that since 3.4 WordPress introduced ...
1
vote
0answers
69 views

Getting Theme element into plugins page editor in wp admin

I'm having a hardtime integrating a theme editing element (in default page/post editor in wp-admin) into page/post editor made by the plugin BU Versions. Basicly I need this theme element to ...
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
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 ...
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 ...
0
votes
0answers
20 views

How to add a new menu item in “Twenty fourteen” theme?

I've created two menus inside of my theme's functions.php file: register_nav_menus( array( 'primary' => __( 'Top primary menu', 'twentyfourteen' ), 'secondary' => __( 'Secondary menu in ...
0
votes
0answers
30 views

theme_mod and option type in WP_Customize_Manager's add setting API

The WP_Customize_Manager's add setting API support the type argument: type Optional. Specifies the TYPE of setting this is. Options are 'option' or 'theme_mod' (defaults to 'theme_mod') What is the ...
0
votes
0answers
22 views

Using get_option on radio buttons

I'm really stuck with this one! I have an options page where I presently take some data from input fields. E.g: <input type="email" name="mail" value="<?php echo get_option('email'); ...
0
votes
0answers
75 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
0answers
48 views

Bring page from sub menu to admin menu in option tree

When option tree is installed the page "theme options" show under appearance. I want to bring it to top level menu item. i did a deep search and so far I found is: ot_theme_options_parent_slug ...
0
votes
0answers
37 views

Create a Theme Option with Google Analytics

I'd like to create a theme options page just to put a text area so my clients can add the Google Analytics code in the WordPress panel. I have looking for this, but I can't find anything specific ...
0
votes
0answers
58 views

How to escape custom css?

I'm creating a WordPress theme in which I've allowed users to add some custom css from the Theme Options. This css code then directly gets echoed out in the head section of the page, with the ...
0
votes
0answers
107 views

Google font doesn't show in theme option

I have implemented the following tutorial in my theme's option panel. http://wptheming.com/2012/06/loading-google-fonts-from-theme-options/ Every thing is working fine. But in the themeoption panel ...
0
votes
0answers
30 views

Theme-Option-Panel: Select List of Pages, Childpages and Posts

I just can't solve this problem: in the wp dashboard I want the user to have the option of selecting between all pages, sub-pages and posts (also custom-post-types) for displaying them in special ...
0
votes
0answers
130 views

Integrating Option Tree in my plugin

I am striving my best to integrate Option Tree plugin in my plugin, but couldn't integrate. Basically, when we want to integrate Option Tree in your Theme, you use below code in your functions.php ...
0
votes
0answers
23 views

How to add the scheduled posts in existing content link in hyperlink

I am blogging with scheduled publication. Say, I have content "1" (complete and saved already) scheduled to be published tomorrow Now I have another content "2" (complete and saved already) ...
0
votes
0answers
44 views

default value not getting displayed in input field

I have written code for creating theme options but default values not getting displayed in text field Also settings saved message also not getting displayed <?php // Default options values ...
0
votes
0answers
40 views

Serialization problem after auto-update

I am having a problem with WP serialization. To cut a long story short: the problem appeared two months after the site launch. All the strings of text that were stored as a theme_option or as a meta ...
0
votes
0answers
167 views

WordPress theme options settings not saving

I have problem with my theme options settings saving. My settings is to saving to permanently , its just only save when you stay on the theme options page after saving the settings. But when I go to ...
0
votes
0answers
186 views

WP_Customize_Image_Control is not doing very much

I am trying to add a logo option. The section and the option shows up under Appearance - Customize as expected. It offers me to upload an image. I do that. The image gets uploaded, but the option ...
0
votes
0answers
37 views

WP_Customize->add_control Navbar Background Image

I'm having trouble figuring out how to properly add a setting under Navigation in the Theme Customization page in order to customize and specify a background-image to use in the navbar.. similar to ...
0
votes
0answers
23 views

Add capability to role for all sites in network

We are running a multisite install. I want to add the capability to edit menus for contributors. I am doing that with this code: $role_object = get_role( 'contributor' ); $role_object->add_cap( ...
0
votes
0answers
41 views

Minify style.php in head of index.php

I currently have a WordPress theme options page. I read all the theme options styles in style.php which I then include in the head of my website. Does anyone know how to minify this style.php file? ...
0
votes
0answers
77 views

Best practice to separate translate Backend and Frontend

I currently building wordpress themes, using customizer for almost all part of themes it self. also bundling it with own themes option. i wonder how the best practice to translating backend but ...
0
votes
0answers
986 views

Creating custom theme options page

I am creating a theme for a client and it has a custom front page that has a slider and displays the services they offer. I am looking to add an options page where the client can easily update the ...
0
votes
0answers
67 views

Options not saving

My options were saving properly then I edited the files and it's not saving anymore. I undo the changes on the files and I'm sure that those were the only files that I edited. One section saved ...
0
votes
0answers
76 views

File input returns null in theme options array

Trying to work out a rather complex array situation with a theme options page. While working with file upload I can't seem to get it to work. Any idea what I might be missing? Simplified example ...
0
votes
0answers
48 views

How to have multiple sections within the same theme options page

For my theme, I have created a Settings Page which is shown in the Appearance menu of Wordpress admin. Now, I have been following this tutorial. Exactly like the tutorial, I have created multiple ...
0
votes
0answers
91 views

Cloning/replicating/copying dashboard admin settings

I have a local multi-site installation for my different client projects. For a given project, I need to have the same theme installed locally as the online site's theme. But I also need the same ...
0
votes
0answers
194 views

Using Custom-meta boxes(CMB) to create an Admin Theme Options Page

I've created a Theme Options page using CMB, but the values don't seem to save. I've included the php class in my functions.php, and the theme options page loads fine, with all custom meta boxes ...
0
votes
0answers
122 views

How To Display Value from Theme Options Field in Front End Template?

I put this code into my functions.php https://gist.github.com/corvannoorloos/4703066 and it work nice. Now I want to display value from Sample Select Options filed in some front-end templates. How ...
0
votes
0answers
115 views

Slightly modified options framework Colour picker

I'm using slightly modified options framework for a theme I'm working on, I have used this before with other themes but never had a need to use the colour picker. I need to be able to allow the user ...
0
votes
0answers
46 views

Redirect user if theme option swich is selected

I'm using SMOF for my Theme Options. I added a switch option in case of the administrator wants to change the homepage (whatever it is) to other page (in this case, a "coming soon" page). If don't, ...
0
votes
0answers
105 views

404 Error is showing when open page posts

I just downloaded the video theme from templatic, when i am displaying videos from the thumbnail, it shows 404 error Link to the page It is not showing the video, how to avoid this problem and show ...
0
votes
0answers
64 views

Calling information from my theme options page

I'm setting up a theme options page, I used it on a previous theme and thought i could easily just copy it over to the new one. <?php $options = get_option( 'sample_theme_options' ); ?> ...
0
votes
0answers
55 views

Set option to show the slider in post - WP

In the WordPress admin/dashboard under "Add New Post", I want to set an option for if someone wants to show posts in a slider: Yes/No. And upon the option I need to do something like this in the ...
0
votes
0answers
50 views

trying to figure out how to use more that one image upload in the same section in theme customizer

i am trying to figure out how to use more that one image upload in the same section in theme customizer. the function is new WP_Customize_Image_Control. when you try to get the path of the image you ...
0
votes
0answers
93 views

Theme Options Doesn't Work On WP Multisite

I'm developing Wordpress themes and I'm having an issue with Theme Options on Wordpress Multisite (WPMS). My theme works like a charm on classic Wordpress (WP) installation but when I try to use it ...
0
votes
0answers
72 views

Theme Option fields not showing

This is my theme option code link. Why can't I see my fields?. I got this tutorial from WordPress Premium Theme Admin Part 2. I don't want tab in this theme option, so what are codes here, I need not ...
0
votes
0answers
76 views

Theme options: Display ID of page options

I am building a theme options page and everything is great. There is a function to display the list of page options. $all_pages = get_pages(); $page_options = array(); $page_list = array(); ...
0
votes
0answers
69 views

Custom widgets in theme option page

I'm trying to create a simple theme options page that uses widgets to change the layout of content on the front page. I started off by using meta boxes not realizing that the position is based on ...
0
votes
0answers
76 views

Multiple homepage layouts as selected by user from theme options

I am working on a theme which will enable users to select multiple layouts from the theme options panel. What I did so far is to create multiple theme files, depending on each theme, put it in a ...
-1
votes
0answers
14 views

Problem in updating theme options values

Recently, I am trying to create a theme options page for wordpress. But when I created created an array $new_values which is responsible for updating new values and i passed it in ...