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)

0
votes
2answers
26 views

How to add new theme to running website

I had a website running, I want to change the theme and add some other functionality while doing that I want to test different themes but i am afraid of messing up with my content of running website, ...
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
1answer
38 views

Stop refresh event in customizer

How can I stop the refresh event for the Customizer iframe? Something like: wp.customize.refresh( function() { return; // or whatever would stop the refresh } ); The background: I'm using ...
1
vote
1answer
131 views

Background Color not being set in WP Customizer

I am trying to set up background color and image controls for a particular element (.site-header) on a WordPress site using WP Customizer. The background image is functioning fine - both preview and ...
0
votes
1answer
9 views

Wordpress Customizer Hides my Sections / Controls inside of is_admin()

Good evening, I'm having a problem with the WordPress customizer. When the page loads it shows my controls, but after a fraction of a second an in-line style of display: none is added to them, ...
0
votes
2answers
348 views

How to change in customizer the “site identity” tab required capabilities

I'm building a multisite in which site admins have no "manage options" capability. The problem is that withut this cap they cannot see the "site identity" tab in the customizer, where they can change ...
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 ...
0
votes
0answers
36 views

How can I change sidebar position via URL parameter?

I have live Customizer on my theme and there is an option to set the sidebar position to align left or right. How can I change the sidebar position via URL parameter? For example, if my sidebar ...
0
votes
0answers
30 views

Error messages generated in 'Customize Your Site'

I've recently installed WordPress locally on my Mac. Unfortunately though, when I click on Customize Your Site, the loading circle just keeps spinning and spinning. This is the case in Safari, ...
0
votes
0answers
16 views

How does Twenty Fifteen scale or resize Customizer live preview iframe?

I just noticed in the Twenty Fifteen theme, when you open Customizer, the live preview iframe shrinks a little. I'm guessing this is to compensate to avoid responsive mode so you can still preview ...
0
votes
1answer
10 views

WordPress Customization API overwrite LESS variable

I am fairly new to WordPress Developing. Currently I am developing my own theme and would like to add css LESS. Don't think this is a problem ? I was wandering if it is possible to overwrite LESS ...
0
votes
2answers
136 views

after_setup_theme, global variable and Theme Customizer

I am using a global variable that is defining in a function runs in after_setup_theme. This variable is not getting update changes in Theme Customizer. Let me explain this with an example: ...
1
vote
1answer
23 views

Customizer Settings in Arrays

Good afternoon. I'm using the theme customizer to allow the user to select which pages to show the excerpt of on the front page. I've done this by using an array in the setting name: ...
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 ...
0
votes
0answers
15 views

How to expose theme customization to public?

Usually on theme demo, it has gear icon on top left side. Clicking the icon reveal theme customization such as layout, color, font, & background image preset. How can I make that feature? or any ...
0
votes
0answers
19 views

get_theme_mods is returning values that aren't there

I've been working on a custom theme for the past few days, and I made a lot of changes to the customizer.php. However, when I try to load the wp_customizer settings into a page via get_theme_mod, it ...
0
votes
0answers
35 views

Can I deny access(via .htaccess) to directory/file referenced in Customizer jQuery but still access from that code?

I realize this is probably a stupid question, but I'm unfamiliar with .htaccess code, so I'm not sure if this is possible or not. I have some code in the Custom Javascript section of my theme ...
0
votes
1answer
11 views

What is the id for the widgets section of the WordPress theme customizer?

I'm trying to add a control to the widgets section for the WordPress customizer, but I'm having a hard time finding the id for that section: $wp_customize->add_control( 'sidebar_position', array( ...
0
votes
0answers
12 views

Modify Customizer Code

Will appreciate any input that will help me do what the following code does, but for background images. Thanks! add_theme_support( 'custom-header', array( // default header image ...
0
votes
1answer
83 views

Customizer Not Saving Options

I created a custom header option in the customizer and am having a few problems i just cant work out. All the codes are working, ive checked multiple tutorials as well as the wp codex and cant seem to ...
0
votes
1answer
21 views

theme customizer issue

I am trying to employ the theme customizer and I am seeing an issue. For some reason, the text that is stored in the customizer will not show in the footer but when I click on the customizer, it does ...
0
votes
0answers
25 views

Only Super Admin Can Access Customizer

Don't know if anyone here is capable of figuring this out. I have Multisite and new site users are administrators by default. The problem is that only super admins can load/modify the ...
-1
votes
1answer
70 views

Where is Customizer related data stored is the database?

How would I go about finding if a image (with a certain URL) is used stored in the Customizer data?
0
votes
1answer
120 views

Customizer Add Section argument 'active_callback' => “is_front_page” not working

I am working on setting up the customizer for my theme. I have all of the sections and controls I need, but now I am trying to make some of them only show on certain pages. My first stop is the ...
0
votes
0answers
62 views

Add custom functionality from admin menus to customizer menus field?

With the new wordpress 4.3 we have Menus included inside the Customizer (Appearance > Customize), which is a part of a move to put everything that can be live changed inside the Customizer (better ...
0
votes
0answers
15 views

In Theme Customizer, need to reference outside control values from within checkbox's value bind

This post pertains entirely to the Wordpress Customizer (Wordpress 4.3). I have the following controls: Text input "Disclaimer" Text input "Global Disclaimer" Checkbox "Enable Global Disclaimer" ...
0
votes
0answers
29 views

Why is action customize_register being done twice?

add_action( 'after_setup_theme', 'wdwt_customizer_register' ); function wdwt_customizer_register(){ add_action( 'customize_register', 'wdwt_customizer_add_panels' ); } function ...
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
2answers
701 views

How to remove Customize from admin menu bar after WP 4.3

WordPress 4.3 brought more updates to the customizer. It also added a new option at the top admin menu bar that says 'Cusomize' and has a paintbrush. How can I disable this menu from showing up? We ...
0
votes
0answers
146 views

Repeater field in Customizer

I'd like to develop a setting/control for Customizer that allows dynamically to add fields. The typical example would be the possibility to add an unlimited number of slides to an slider in a Theme. ...
0
votes
0answers
55 views

Hide Text when check box option is ticked in customizer?

How I hide the Head Text which is "Magna Aliquam" when "Hide Head Text" checkbox is checked and show when the checkbox is unchecked. Below is my code, but I'm lost. Any help would be appreciated ...
0
votes
0answers
123 views

Theme Customizer : how to create multiple-level panel

Is there a way to create deep-level sub Panel in Theme Customizer(like roots of plants) ? My theme that I have been developing seem to be more complicated. I think that if we can create deep-level sub ...
0
votes
1answer
50 views

New Customizer Menu (WP 4.3) - how is called?

The new "Menu" in Customizer got released in 4.3. I need to know how to "get" to it. <?php $wp_customizer->get_panel(' ? ? ? ? ? ? ? ');?> Any help?
0
votes
0answers
81 views

How to create a “menu item” on the theme customize screen?

My question is, how do I create a menu item as seen below but on the theme's menu customize page? "Theme Menu Options" Show's up here, But it does not show up here, Here is the code I used to ...
0
votes
0answers
37 views

Theme Customization API, how to add changes to actual webpage?

I'm having an issue with the Theme Customization API. I've taken code from a tutorial just to try and understand how it works. All the options work in the customization panel but when I actually ...
0
votes
0answers
14 views

Ensure widget admin js fires in Widgets and Customizer

Doing a long-overdue update of a plugin. I have some JS that loads in the admin side to react when a user changes a select value in the widget options. $('#accordion-panel-widgets, ...
0
votes
1answer
22 views

Customizer: CSS changes not persistent

Customizer API is saving HTML/data changes properly but any CSS change is only visible in the Customizer. After hitting "Save & Publish" the page is exactly like it used to be with no new ...
1
vote
1answer
32 views

How to disable wordpress from overload my stylesheet styles with customizer styles

I realized that, the customizer's styles are default highest priority because they are somewhat embedded into the page. I want to store ALL styles in my .scss file which using SASS to manage CSS and ...
0
votes
1answer
72 views

Custom Sanitation Function Triggering an Alert in Customizer?

I have an image upload field in theme-customizer : /* Background Image */ $wp_customize->add_setting( 'tcx_background_image', array( 'default' => '', 'transport' ...
1
vote
1answer
99 views

Default header image does not display

Clarification: My default header image will not RE-display (by clicking suggested image) after it has been removed using theme customizer "Hide Image" option. I added theme support for Custom Header ...
0
votes
0answers
39 views

Using Customizer value in an external PHP file inside a theme

I'm working on a theme for a company and they don't want the users to touch the code at all. So as I love, they asked me to use Customizer API. Now, there's a PHP file in the theme which we don't ...
0
votes
0answers
29 views

Theme Customizer not recognizing Widgets

First of - i do not know much coding, though i do learn quickly and am looking to get this issue sorted ASAP. I am sure it is something simple. When i load up my site in the Wordpress Theme ...
0
votes
1answer
35 views

Access preview settings in php

I'm working with the customize section of my theme framework. And I'm trying to get the preview settings in PHP when using refresh, but I only know how to access the saved settings. Short Story I ...
1
vote
5answers
287 views

Running JS after theme customizer finished initialization

I have a piece of JS code that I use show/hide customizer control groups depending on a select item value. The code was working fine until recent wp update (not sure which version first broke this). ...
1
vote
1answer
171 views

How can you change default color scheme in a Twenty Fifteen child theme?

Right now I am editing a Twenty Fifteen Child theme (Five Beers to be exact) and I'm wondering if there is a way I can add my own color scheme to the customizer and make it the default color scheme. ...
0
votes
1answer
93 views

Change the location of add_theme_support( 'custom-header' ) in the customizer

I'm using add_theme_support( 'custom-header' ) to upload images for an image slider. The slider also has other settings in the customizer (duration, fade, overlay color, etc). Because there are ...
0
votes
1answer
75 views

where to change text for header?

on the twentyfifteen theme. When I click on the customizer to set my header, There is some text there that says. "While you can crop images to your liking after clicking Add new image, your theme ...