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

0
votes
0answers
19 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
18 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
12 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
12 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
94 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
116 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
54 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
40 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 ...
0
votes
0answers
10 views

Properly pass query args to customizer

I am trying to pass some data to the customizer so that I can query a specific set of data from the database by ID. It appears that customize_register fires twice and returns different query ...
1
vote
0answers
7 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 ...
3
votes
2answers
42 views

Get all registered wp theme customizer sections?

Is there a way to retrieve all the registered customizer sections? I'm building out a custom customizer and don't want other plugin or themes who register custom sections to appear on this page. I ...
0
votes
0answers
53 views

Add search box in Bootstrap slider carousel

I'm using the Wordpress theme 'evolve' which uses a Bootstrap slider on the front page with a 'Learn More' button on it. How do I add a search box instead of the 'learn more' button which will ...
1
vote
0answers
43 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 ...
2
votes
0answers
39 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 ...
1
vote
3answers
51 views

PHP files included in functions.php don't seem to work

This is my first post on WordPress StackExchange, I'll try to be precise. My question is: Is there anything in particular I should do to the files I'm including in my theme's functions.php file? ...
0
votes
0answers
25 views

Using Conditional Themes to change out different themes using the Theme Customizer radio Buttons

I've been trying to change my theme based upon a radio button selection from the theme Customizer. I've included this plugin -> https://wordpress.org/support/plugin/wp-conditional-themes as a file ...
0
votes
1answer
131 views

Use SCSSPHP to compile Theme Customizer Values into .SCSS files ready to compile to CSS

I've been having trouble Automatically Compiling my .scss files into my main WordPress style.css file. I'm using Leafo's SCSSPHP script and trying to achieve a few things. i'm using Kirki ...
2
votes
1answer
60 views

How to get control choices from $setting object passed to sanitize_callback

Example Code Working with the Customizer API. Setting added (example) like so: $wp_customize->add_setting( 'theme_oenology_options[' . $option_parameter['name'] . ']', array( ...
0
votes
2answers
35 views

Overwrite add_image_size defined by theme

I bought a WP-Theme which defines a custom image-size in his theme-functions.php like this: if ( function_exists( 'add_image_size' ) ){ add_image_size( 'tie-small', 70, 70, true ); } As you can ...
0
votes
0answers
16 views

HTML output via Theme Customizer is not working

Well here I am again with a problem that I just can't seem to figure out. I have searched and searched, found answers but I just can't seem to get this to work. I have a theme called WP-Forge and it ...
0
votes
3answers
77 views

Remove Customize Background and Header from Appearance admin menu without CSS or JS

I am trying to remove background and header from appearance menu, but they don't seem to go away! I think it's because I have activated customize, but can I remove them anyway without using CSS or JS? ...
0
votes
0answers
16 views

Problem with customizer setting with $id containing 'widget'

I'm having a very weird problem with customizer add_setting function when using an ID containing the word 'widget' in the ID; The changes doesn't apply, it's like 'widget' is a restricted word. ...
0
votes
0answers
24 views

Places all menu pages in the homepage

Well, it is a little weird... you know that menus normally show you in which page are you, changing the colour of that page and we you go to a different page you will see the colour changes to that ...
0
votes
0answers
12 views

Theme Customizer for only author.php (per user baisi)

How the Wordpress Theme Customize can be used only for author.php and settings will be saved per user basis. By which every user can customize their own author.php. How it can be achieved? Thanks.
1
vote
1answer
45 views

Add custom background to div in home page

I want to have featured image on specific div on home page that could be changed in customizer. I saw in documentation custom background for body(https://codex.wordpress.org/Custom_Backgrounds) But I ...
0
votes
1answer
21 views

How do I get a parent theme modification from a child theme?

I've built a child theme, and I would like to reuse some of the settings created by the parent. I hoped this would be as easy as get_theme_mod( 'setting' ) inside the child theme, but that returns ...
0
votes
0answers
23 views

How to disable the customizer?

I don't want anyone with the role below 'editor' from using the customizer. I still want them to be able to edit/change widgets and the menu. How can I do this please? My code so far, but it stops ...
0
votes
1answer
71 views

I am Looking to append URL Parameter to all URLs

I am trying to add URL parameter to all the URLs of Wordpress website. This is for tracking affiliate sales by tracking links. E.g. I have put a link on another website ...
1
vote
1answer
69 views

How to create dependent field in Customizer?

I am trying to have dependent field in Customizer. One field is checkbox Enable Custom Excerpt Length. Another is text field Custom Excerpt Length. I want to implement contextual field using ...
0
votes
1answer
37 views

Create Customization Controls from Array

Coming from a Javascript background and humbly jumping into WP dev I'm having some trouble with PHP (especially in a WordPress context). Here's what I'm trying to do: Create controls for the ...
0
votes
1answer
13 views

No option to select home page in theme customizer

My Website was working fine until yesterday and today when I tried to open it it was showing me the recent posts page not the page I set as home page. Tried to change the setting from Theme Customizer ...
8
votes
1answer
169 views

Customizer JS API

Okay so I have been trying to educate myself to create new panels sections and controls dynamically using customizer's JS API. It has been frustrating few days and I was unable to get the exact way ...
0
votes
1answer
61 views

customize_register with Multiple controls/settings - how to get values?

PHP newbie here, and I have this on my functions.php function mcs_social($wp_customize){ $wp_customize->add_section('mcs_social_handle', array( 'title' => __('Social Network ...
1
vote
1answer
46 views

Using Theme Customizer Built-In Sections

The WordPress Theme Customization API indicates that there are a number of existing pre-built customizer sections available for the theme developer. If you want to use any of the existing, ...
0
votes
0answers
24 views

Disabling and enabling content using Customizer

I have a form at the bottom of my Wordpress theme that I want to give the user the ability to disable. I'm not sure if I should install it as a custom plugin or create a section within the Wordpress ...
0
votes
0answers
50 views

How to tell theme customizer to save setting in my option table?

Default customizer is saving the options inside theme_mods_themename but my I am using Unyson options framework and my options reside here fw_theme_settings_options:themename I am able to use ...
0
votes
0answers
18 views

Iframe Specific Theme In Plugin Page

I want to show a specific theme in my plugin admin menu by iframing it just like what default wp costumizer do, even it is active or not. I saw that wordpress call the theme by adding parameter to the ...
0
votes
2answers
182 views

WordPress API functions not working at AJAX functions.php call

I am trying to show subcategories of a category in WordPress using AJAX: when I select a main category, there is a call to WP Ajax and the result is used in showing the subcategories. So far, I have ...
0
votes
1answer
21 views

Receive “menu-toogle” event from section menu in customizer

I'm building a plugin that does some transformations on front page through JS script. I'm trying to build a contextual control in the customizer so that when a certain section is opened I modify the ...
0
votes
1answer
62 views

What's the right way to implement functions in footer.php

I have a Wordpress website with a child-theme of 'twentyfifteen' I created. I added a PHP code that changes the footers background depending on the template displayed. This is my code part: ...
0
votes
1answer
280 views

How to integrate plugin in Wordpress theme

I have read that there are two ways for integrating a plugin on a Wordpress theme. I think the first method is the best; but I do not know exactly how to do it... After copying the plugin to the ...
0
votes
0answers
42 views

Change theme layout via “Appearance Customize Screen” on per user basis

I have added some options to the "customizer screen" in the appearance settings on the dashboard of my Wordpress Child theme. All works well by specifying additional headers and theme color options in ...
0
votes
0answers
49 views

Child Theme for WooCommerce's Upstart

I'm having trouble with the Child Themes concept, and I am using WooCommerce's Upstart Theme. After Reading the Wordpress Documentation on Child Themes, I attempting to implement a Child Theme for the ...
0
votes
1answer
105 views

Replace content in Wordpress Page after GET from php page

I have a wordpress Page with an html form where i get username and password from my customers. Then i send to an external php page located in another my server and get the result from inserted ...
0
votes
0answers
97 views

Save customizer default values to DB on theme activation

i am working with multisite. each time i activate some theme in new blog, i need to go to customizer and click the "save" to save all the values to db so i could use the with get_theme_mod if there ...
0
votes
1answer
102 views

Remove the widgets tab from theme customizer

In some of our sites, I would like the site admins to customize the widgets only on the widget page, and not in the Theme Customizer. How can I remove the widget tab from there?
0
votes
1answer
75 views

Dynamic Control in customiser

I need to build a select on my theme customise screen from this foreach: foreach($wp_registered_sidebars as $sidebar_id => $sidebar) { if($sidebar_id == $val) $sidebar_id.$sidebar['name'] ...
0
votes
1answer
76 views

get_theme_mod not pulling css colors into header using wp_head

I've had an issue with the theme customizer. On this page http://codex.wordpress.org/Theme_Customization_API you can go to: Part 2: Generating Live CSS And you'll see a way to fetch the settings ...
0
votes
0answers
35 views

Theme customiser with conditional logic

Is it possible to use conditional logic within the theme customizer? I would like to display certain options to the end user only if they have selected a checkbox above. Even better, it would be great ...
1
vote
0answers
26 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 ...