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 (1)

3
votes
0answers
41 views

Custom editable content for front page from Theme Customizer

I developed a very basic theme with underscores. I am looking for custom editable content, or a changeable page, from the Theme Customizer for front-page.php. For example, when a user goes to ...
3
votes
0answers
70 views

SSL breaks customizer: page isn't returned from ajax

I have a WordPress install using a Comodo SSL certificate. I have the WordPress HTTPS plugin installed and I'm using the AZ theme, and the admin is set to load over HTTPS. So far so good. On the ...
2
votes
0answers
114 views

How can I use a $wp_customize to edit my homepage image slider?

This is my first post here, but I've been doing a bit of searching. I want to use the Custom Theme API to create add a customized theme control to add a new Image to a slider. Here is some of the ...
2
votes
0answers
258 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 ...
2
votes
0answers
159 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
9 views

How to conditionally display widgetized areas in theme customizer?

On my client's site there will be quite a few widgetised areas - one for each page created plus global ones. The problem is that they all display in the "widgets" section in theme customizer at the ...
1
vote
0answers
37 views

Customizer Active Callback not working

From some reason my active_callback => 'is_front_page' is not registering and therefore not showing up inside the customizer on the front-page - I have definitely set my front page to static and ...
1
vote
0answers
23 views

Can I create customizer setting that can handle plugin shortcode?

Can I create a customizer setting which will handle a shortcode from a plugin? Do I violate and rules or guidelines in WordPress theme development? If it's possible what is the best way to sanitize ...
1
vote
0answers
24 views

Dynamically change feature image in customiser

For this client's Website I am making on their homepage there is a section called featured products with images showing off the product. Currently I have to update these images manually through my ...
1
vote
0answers
16 views

Change setting name in Customizer and keep the data

I created a theme while back when I was new to Customizer API and for some weird reasons I named theme settings as: $wp_customize->add_setting('thefunk_theme_options[header_color] Instead of just ...
1
vote
0answers
46 views

How to refresh Theme Customizer after change color inside wpColorPicker?

I develop my custom widget with setting where I can set up custom color for the widget. I use this code to initialize wpColorPicker instead of default text input in form() method of Widget class: ...
1
vote
0answers
49 views

Theme Customizer - Choose where widget area appears, to let users organise widgets

I am creating a Theme, and I have a problem with Widgets and Widget Areas. I am using the Theme Customizer to let the user edit the content, colors, etc. I know how to create a widget area. I need to ...
1
vote
0answers
21 views

Theme customizer - possible to disable Live Preview?

This is an unusual situation where I have a MU installation where one of the network sites is as actually a widget, and therefore the page contains only javascript in a document write statement. The ...
1
vote
0answers
26 views

Save & Publish disabled for two dimensional array Customizer

I am developing custom control in customizer. Control Its 4-5 textboxes that I can sort internally. Its a foreach loop. textbox1 textbox2 textbox3 .. The data stored is in array. ...
1
vote
0answers
27 views

WP Customizer - Prevent live preview

How do I prevent a widget being updated in the customizer preview if a widget field fails a JS validation check? More generally, is there any actual documentation for the customizer JS API? (I mean ...
1
vote
0answers
88 views

How to overwrite JS variable with wp_localize _script?

The function wp_localize_script( $handle, $name, $data ); does not work when trying to overwrite the same variable, that is when calling the function second time with the same $handle and $name but ...
1
vote
0answers
31 views

Need to run a plugin on Customize.php

I'm running a multisite installation and have a plugin installed that lets users that are given a user meta option to be their specific role on any site that they aren't associated with. So if they ...
1
vote
0answers
139 views

datepicker works on widgets options page, but not on customizer

I have a widget with a date option field, which works correctly when in the dashboard, but fails to display when on the theme customizer. I declare the field for the in the form() method like this ...
1
vote
0answers
28 views

How to make customizer settings appear only when image is uploaded?

I'm trying to replicate the WordPress core background image customizer settings where the styling settings/controls only appear when an image is uploaded, but can't find a way around it. Is there a ...
1
vote
0answers
15 views

Override customizer values on a per-menu base

suppose I have a few options in the theme customizer, and I might want to show for example 5 different categories listing menus in the site. In the customizer I can set options for all of those, ...
1
vote
0answers
104 views

Allow guests to use WP Customizer but disable save button

I've seen in some WP demo themes that developers let users to see a theme customizer (allowing to try the customizations) disabling the save button as well. So the question is how to do that in a ...
1
vote
0answers
147 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
314 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
98 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
53 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
46 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
42 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
263 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
122 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
95 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
8 views

Using customizr panel to add colors to categories

Basically what I'm trying to do is to list all the categories in customizer panel and change the color of each category. What I did is I created a section for "Category Colors" and added the "color ...
0
votes
0answers
17 views

Add customiser controls directly to a panel

I'm using the customiser and I'm making use of the Panels feature added in version 4.0. I like that you can easily add Sections to Panels, but I'd like to also add Controls directly to Panels - ...
0
votes
0answers
3 views

How to prevent the customizer from syncing on specific input elements

I am trying to use the jquery select2 library for multiple category selection in a widget. The main default UI element of the select2 is an input element on which input can trigger some selection ...
0
votes
0answers
11 views

Customizer, change preview url when a control changes

I've a dropdown control that lists all pages of the website. When I select a page in the dropdown I would update the preview iframe to that page. There is the following method to change the ...
0
votes
0answers
3 views

Widget: File Upload not showing save option

I build widget for uploading files ( pdf, jpg, etc ). Fallowing by some guides from web. There is one problem: after uploading file from media library i dont have the save option enabled in my ...
0
votes
0answers
10 views

Customiser suppressing form submissions

Within the customiser, I wish for users to be able to customise certain settings on the search results page. I've created the options, including an active callback to hide them when the user is not ...
0
votes
0answers
7 views

WordPress plugin admin html being shown in Customizer iframe

I have a WordPress plugin that is focused soley on the admin side of things. I have a peice of HTML that is shown on all admin pages using the all_admin_notices hook. This worked very well but I ...
0
votes
0answers
28 views

How to add 'Site Identity' capabilities to customisation for editors

I was able to give most capabilities to editors for the Customisation. However I'm lacking the Site Identity capability. I found this thread How to change in customizer the "site ...
0
votes
0answers
20 views

Customizer live preview doesn't work

I've added an upload image field to the customizer using the following code: In customize.php: $wp_customize->add_setting( 'header_logo', array( 'default' => '', 'capability' ...
0
votes
0answers
32 views

Customizer.js changes not being recognized

I've been experimenting with the Theme Customizer API and I'm trying to set up the live preview for changes made with the Customizer. The setting I use works just fine when using the refresh ...
0
votes
0answers
13 views

Wordpress Customizer - reload controls

I have several controls setup, one of which is a custom multi-select field which allows you to select several different options, based on these selected options I tailor make other sections/controls. ...
0
votes
0answers
51 views

Problem Cropping Images From WP Customizer

Getting the following error. There has been an error cropping your image. The issue happens only with this one theme, and only with the customizer. The cropped image is in the media directory, ...
0
votes
0answers
10 views

Overriding Customizer setting value by url parameter value

Is it possible to override a specific setting of Customizer based on url parameter? For example, I have a setting main_layout which has values like left_sidebar, right_sidebar and full_width. The ...
0
votes
0answers
16 views

custom sidebars don't appear in wp-customizer's widgets section

I'm adding Custom Sidebars as Post Type like here the sidebars appears correctly in Widgets page [.../wp-admin/widgets.php] and widgets appears correctly in their position .. of course i'm using ...
0
votes
0answers
13 views

How to use a variable as key in an array at Customizer select setting

I'm trying to add a Customizer 'select' setting to my theme with the path to a CSS file as key in an array, like so: $wp_customize->add_control( 'control_something', array( 'label' ...
0
votes
0answers
25 views

Preloader from theme to change it manually

I have a preloader on my style.css of the theme and it has this code #bw-preloader { opacity:0;visibility:hidden; border-top:1px solid rgba(0, 0, 0, 0.2); border-right:1px solid rgba(0, ...
0
votes
0answers
42 views

Editable screenshot.png in a custom theme developed

is it possible to make the screenshot.png editable via theme options or customizer? What I'm trying to achieve here is to allow my client the ability to change the theme screenshot image when they ...
0
votes
0answers
13 views

Change Customizer section label based on field content

Within the Customizer, say you have a custom panel that contains several sections, each labelled sequentially, like "link 1, link 2, link 3..." etc. Each section then contains fields for the link ...
0
votes
0answers
41 views

strpos() expects parameter 1 to be string Error showing only in customizer

Whenever I go to customizer and from front page go to other pages(ex - right sidebar page), at the bottom of the page I get this error - Warning: strpos() expects parameter 1 to be string, object ...
0
votes
0answers
28 views

Theme Customizier sanitize_callback not working

I have a theme option to set the slider speed. The sanitize_callback function is not working. I would like the function to set the speed to 4000ms if a non numeric character is entered. function ...