theme-customizer is a set of classes introduced in 3.4 for customizing themes using a live ajax preview. Theme developers can use these classes for theme options.

learn more… | top users | synonyms

3
votes
1answer
87 views

Is it possible to display the admin bar while in the Theme Customizer?

I've been using Debug Bar + Kint Debugger for debugging. Presently I'm working on a custom theme where I'm trying to hook some code into customize_save_after. The code doesn't appear to be running ...
2
votes
1answer
198 views

Crop image from get_theme_mod Customizer field

I'm using the following code to allow a user to upload a custom image (in addition to header image) through the customizer. Is there a way to crop the image when displaying it? ...
1
vote
1answer
354 views

How to use rgba color from theme customizer color picker

I'm creating a wordpress theme and in that I am using the theme customizer to allow users to change the accent color of my theme. Now everything is working fine but few of my elements need to have the ...
1
vote
1answer
68 views

Create more than one section in Theme Customizer

i tried to create more than one section in Theme Customizer, but had no success with that. /* Theme customize - Create menu bar link */ function example_customizer_menu() { add_theme_page( ...
1
vote
1answer
211 views

Trigger Customizer saving process with Javascript only

I'm working on a custom theme that uses WordPress Customization API to let the user play with parts of the content of his website, basically the front-page which he can modify by adding/removing ...
0
votes
1answer
21 views

Changes in widget customizer not triggering 'save and publish'

I'm making some of our widgets customiser friendly, so they work on the customise page and support widget previews. Usually when you update a widget the save button becomes usable and changes to 'save ...
0
votes
1answer
50 views

Widgets not displaying in theme customizer

I am developing a new theme and I am using several sidebars in this theme. All works fine, but the widgets are not showing up in the theme customizer section. All widgets are working fine under ...
0
votes
1answer
48 views

Theme Customizer – Conditional Controls

I would like to dynamically add / remove Controls to/from the theme customizer without completely reloading the customizer page. For example when I choose option1 from a drop down I want control A to ...
0
votes
1answer
21 views

WP Theme Customizer - Responsive Elements

Within WP Theme Customizer, I am wondering if it is possible to allow users to set the size of a thumbnail based on the size of the screen? For example, the user could select (1) for screens above ...
2
votes
0answers
60 views

Allow anonymous user to access Themes Customizer

i create a themes and use themes customizer, is there any way i can give anonymous user access to themes customizer without ability to save it? it will be very convenience in term of user experience ...
2
votes
0answers
82 views

Customizer preview doesn't update get_option() value properly

I have a setting in index.php if(get_option('cb2_blog_home')){ cb_get_blog_links(); } This code allows the home page blog index to be turned on and off. The cb_get_blog_links() function draws ...
1
vote
0answers
24 views

Get attachment id from WP Customizer

The WP Customizer's WP_Customize_Image_Control returns the attachment's URL, but I need the ID because I want to output the image like this: echo wp_get_attachment_image( $user_logo_id, ...
1
vote
0answers
25 views

Adding Controls to Theme Customizer If Certain Page Template is Active

How to Conditionally add controls on Theme Customizer panel. Conditional like is_page() or is_page_template() obviously does/will not work because the page is being shown is customize.php. Code ...
1
vote
0answers
41 views

I am trying to use the Theme Customization API but I keep getting an error

This is the error: Call to a member function check_capabilities() on a non-object in /home/content/54/11786754/html/wp-includes/class-wp-customize-control.php on line 161 and this is my code in ...
1
vote
0answers
59 views

How to instantiate customize_save_after callback function?

I have to do some custom operations after settings are saved in the customizer. It looks like the callback function isn't invoked. What am I doing wrong? Something to do with the Ajax status of the ...
1
vote
0answers
39 views

How to modify default controls in Wordpress theme customizer

I'm trying modify the default control in the wordpress theme customizer specifically the action for the close button. By default clicking it will make you go back to the themes page, but I want it to ...
1
vote
0answers
23 views

Binding Serialized Setting to JS for Realtime Response

I'm stuck in a situation. I'm developing a theme where I'm using the wordpress theme-customizer to build the settings page. I'm using the serialized method, something like this: ...
1
vote
0answers
52 views

WP_Customize_Image_Control generating error when used

I'm adding some customisation controls for my theme, but I've hit a snag with the WP_Customize_Image_Control class. The control is showing, but whenever I try and upload an image I receive the ...
1
vote
0answers
38 views

Is it possible to visually group items on the theme customizer?

My theme customizer is getting bigger and I think from an UX perspective would be nice to visually group some similar items. Is there way to do that? Something like put a divider or playing with CSS ...
1
vote
0answers
39 views

remove add new post, if there is already one post

I have a custom post type, but I want to allow only one post. if the user posts then the add new post should should be disabled or removed. so only post is allowed of that custom post type. If the one ...
1
vote
0answers
93 views

Need help setting default setting value for radio button in theme customizer

I need help figuring out how the radio button saves it's value in the theme settings. In my theme I added Radio buttons in the theme customizer. So far they are working great. Although I have one ...
1
vote
0answers
112 views

Theme Customization API and child themes

I've recently developed a parent theme that makes heavy use of the Theme Customization API. Is there an easy way to port these settings when a user activates one of my child themes? Currently, the ...
1
vote
0answers
95 views

How to re-arrange the MENU of “Allure Real Estate Theme for Placester” wordpress theme?

I am using "Allure Real Estate Theme for Placester" wordpress theme, I tried the below three methods but no positive result in realtypointusa.com I tried in Dashborad-> Appearance-> Menus and ...
1
vote
0answers
74 views

Unset color set in Theme Customizer

I'm building a theme using the Theme Customizer and have a few options with color pickers. It seems as though once you set a color using the color picker, there's no way to clear/remove/ unset it, is ...
0
votes
0answers
7 views

How to display an error message to the user in the Theme Customizer?

I am developing my own Theme Customizer Control, and I was wondering if it was possible to display an error message to the user. I use the WP_Customize_Image_Control, and I would like to prevent user ...
0
votes
0answers
11 views

Getting error when adding customizer field

I am trying to add an extra setting in the Wordpress customizer. Can you add extra settings in the site title & tagline section or do you have to create your own section? This is the code I have ...
0
votes
0answers
11 views

Make the customiser show all Background Image settings all of the time

How can I make it so that in the Background Image section of the customiser, all options are always shown, regardless of whether or not a background image is selected? The options I mean are ...
0
votes
0answers
15 views

Multiple Customizers

So I'm building quite a lot of convenient customization options into the wp_customizer and while it does offer the ability to organize settings into tabs, it still seems to be getting rather crowded. ...
0
votes
0answers
12 views

wp_customizer control default value = 100 - control value

Within WP_Customizer I have two controls for setting the width of the main-column and the width of the sidebar. The default value of the main-column control is 77 and I'd like to set the default ...
0
votes
0answers
10 views

List of settings available for get_setting of WP_Customize_Manager

In the Codex for get_setting there are some settings such as blogname: http://codex.wordpress.org/Class_Reference/WP_Customize_Manager/get_setting Is there a comprehensive list of these?
0
votes
0answers
51 views

Update field in Theme Customizer via Javascript

I am working with the Customizer and I have made some custom controls which is cool. Now I'm trying to create a relationship between two controls whereas the input of one control passes through some ...
0
votes
0answers
61 views

Theme Customizer - Dynamic CSS PHP File

I've recently switched over from using a custom class to enable a theme options panel to the built in Theme Customizer in Wordpress. All is going fairly well - I've got live preview working but I'm a ...
0
votes
0answers
42 views

Theme Customizer uploads image size issue

I've made an option to allow users to upload a custom background image to their site using the Customize theme section of wordpress but I'm having trouble uploading large (in pixels) images. An image ...
0
votes
0answers
144 views

Using javascript on the new widget preview / customizer page

Widget customizer has just become core in WordPress 3.9. I'm trying out the beta version hoping to get widgets working on the customize screen in the same way I have on the ordinary widgets page. Some ...
0
votes
0answers
38 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
22 views

Apply `the_content' filter to theme customisation live preview

I'm using 'transport' => 'postMessage' to update the text within the footer area during theme customisation live preview. My problem is that on my website, the corresponding theme setting ...
0
votes
0answers
322 views

Appearance->Editor not visible

I'm noticing that the editor is not visible from past few weeks. It's working fine on my other WordPress sites but in one site it's not visible. I tried changing theme and deactivating plugins but ...
0
votes
0answers
13 views

Is it possible to call the label of a wordpress customizer control?

I could just hard code the label of my custom customizer control. I was hoping someone could tell me if this was possible?
0
votes
0answers
136 views

Customizer - detect iframe load

I'm trying to get the initial styles from WordPress Customizer's iframe but this is what happens: // ATTEMPT #1 var test = jQuery('#customize-preview iframe').contents().find('body').css('width'); ...
0
votes
0answers
30 views

How to control the width of the container in theme customizer wordpress?

How can i control the width of #container in theme customizer through functions.php in wordpress. I want to make a control so i can set the width from 100% to 60% or 30% of my #container How can i ...
0
votes
0answers
56 views

Customized Upload File Control not saving the files URL as value

I have modified a customized version of the Upload File control so that I could upload mp4 videos and use the media library. The control seems to be saving the videos as 'Array'. After uploading a ...
0
votes
0answers
99 views

How to set any theme setting from a custom WP_Customize_Image_Control?

I am using the Theme Customizer API to upload a logo for a WP theme. I also want to let the user set the css for the logo size via a number input in the same Customizer section. What's the best way ...
0
votes
0answers
17 views

Is it possible to have controls side by side on the Theme Customizer?

The theme customizer presents all the controls one after other in a vertical order. Is it possible to have them side by side? From: -------------------- | control 1 | -------------------- ...
0
votes
0answers
84 views

Option Framework - How to allow the user customize theme on frontend?

I'm using option framework and I can follow the instruction here to add my option on the Theme Customizer http://wptheming.com/2012/07/options-framework-theme-customizer/ However, it can be accessed ...
0
votes
0answers
44 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
45 views

How to show and hide child elements in WordPress customizer?

I am trying to achieve the same functionality used by WordPress default themes in theme customizer for Static Front Page. Will anyone help me out here to get the same? I want to add settings for logo ...
0
votes
0answers
379 views

get_theme_mod(); returns nothing

I am having trouble with my customize field in WordPress. The field shows up fine in the customize section of WP but it just does not echo out. <p> <?php echo ...
0
votes
0answers
43 views

3.5.x Theme Customize: Handling Custom Control Requests

I am extending the WP_Customize_Image_Control as a means to include an upload-able word mark for a site. The control works just fine, but I need to do some post process handling on the image (i.e. ...
0
votes
0answers
222 views

How can I clear the theme mod settings?

Ideally I am looking to add a button to the theme customizer that allows the theme to reset to default settings, although that may be asking for too much in one question so I am wonder if anyone knows ...
0
votes
0answers
144 views

Cant get theme to change footer color through theme customizer

I am having an issue trying to configure the theme I am working on to allow the footer color to be changed. So far all of my other options work so I am geussing it is an issue with the way I am ...