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
12 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
18 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 ...
1
vote
1answer
366 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 ...
2
votes
1answer
1k 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 ...
0
votes
0answers
8 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
563 views

Passing array in add_option()

I have to create a option page in my custom theme wordpress. here is is a sample of code <?php function bguru_register_settings(){ $default_options=array( ...
2
votes
1answer
423 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? ...
0
votes
1answer
11 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
2answers
45 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
37 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
37 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
11 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
1answer
32 views

wp_query in form method of widget breaks customizer

In the "form" method of one of my widgets I make a query to offer the user some posts to choose from, like this: <?php $products = new WP_Query( array( 'post_type' => ...
0
votes
1answer
696 views

Theme Customizer Custom Background / Header Image

I'm working on a theme with some options to change the design. For the options I am using the Theme customizer. With the theme customizer there are many option types like color, upload, image upload, ...
0
votes
0answers
13 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 ...
1
vote
2answers
425 views

WP Customize refresh problem

Hi I am adding options to WP Customize. Mostly everything works, but One of my variable is not refreshed in the preview window. $wp_customize->add_setting('checkbox', array( 'capability' ...
0
votes
1answer
59 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
1answer
86 views

Make single widget area top level in 4.0 Customize Panel

So I have a widget area that, in v4.0, is burried in a dropdown within the secondary Widgets panel on the Customize panel page. Because it's the only widget area it feels rather silly being burried ...
0
votes
0answers
27 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
40 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
24 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
87 views

Use $wp_customize->add_control to create a selectable “Designed/Powered By” choices select w/ link in footer?

I'm trying to figure out if it's possible to use the Customizer controls to create a "Designed By [name]" dropdown menu, and have it echo out the name of the person/group with their name as a link to ...
0
votes
1answer
24 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 ...
2
votes
3answers
2k views

How do I implement the Wordpress Iris picker into my plugin on the front-end?

This question here is asking the same question as I am, but there were no adequate answers nor a selected correct answer so I am asking again hoping if I ask in a more coherent manner I might get a ...
0
votes
0answers
18 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
18 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 ...
0
votes
0answers
53 views

Retrieve customizer value using ajax or customizer api and print the value in theme

one of my clients have Branches. one located in new york another in los angeles and etc... in the live site we print new york phone and address(from the customizer) as default. what i need is to ...
0
votes
1answer
59 views

How to Display a Plugin function (content) on frontpage using index.php

Slightly Advanced Noob Alert: {Sorry}. I'm designing a WordPress Site {No Active Yet}. I have a plugin [feelbox], but currently it displays only on the single post page. There is no option in the ...
4
votes
0answers
225 views

Is it Possible to Extend WP Customize JS Methods?

I’m wondering if it’s possible to extend the methods of the anonymous api object in wp-admin/js/customize-control.js. I need to overwrite one of these methods with my own custom logic but I suspect ...
0
votes
0answers
34 views

Customizer - extending wp_customize_panel for nesting panels

As the title suggests I'm tryng to nest panels inside panels, so far I've tried extending wp_customize_panel like this: $wp_customize->add_panel( new WP_Customize_Panel($wp_customize, ...
0
votes
0answers
24 views

Customizer API way function is_customize_preview() works only in main page?

Dear wordpress developer, Thanks for create incredible API like Customizer :) but I have little problem. In customizer preview view function: is_customize_preview() when I'm in home page return true ...
0
votes
1answer
43 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
1answer
54 views

Can't wrap my head around this function - any help would be appreciated

OK so I am working on a theme that utilizes the customizer a lot. When you change a color for example, the necessary css gets added to the header, but when you click default, the css with the default ...
0
votes
0answers
24 views

Theme Customiser not live previewing changes on pseudo elements

I've been working with the Theme Customiser API lately and found that pseudo elements are not live updating using the previewer. In my project I have an image containing a transparent overlay using ...
0
votes
2answers
152 views

How to get customizer to refresh when using radio buttons control

I have set up a set of radio buttons in the customizer to specify one of several different color schemes (aka style sheets) in my theme. When I select a new color for the theme the preview of the ...
0
votes
0answers
10 views

Using Customizer value outside WordPress

I'm working on a theme which uses a custom PHP script for contact form. The jQuery sends the form data to the script and the script sends the email. There are some parts of the scripts that should be ...
0
votes
0answers
23 views

Uploading Images to Theme Directory via Theme Customizer

I'd like to use the Theme Customizer to move an image into my themes /images directory and rename it to bg.jpg. I've seen this done on the Parallax theme from StudioPress, but I can't replicate it in ...
0
votes
0answers
33 views

wp_query - Modify $query to include duplicate content

I'm setting some featured content through the customizer (it's saved in theme_mod); Using the pre_get_posts hook, I'm retireving the feature pages in this way: ...
0
votes
0answers
28 views

Adding a Theme Customizer Control for Posts_Per_Page

I am trying to add a Theme Customizer Control to change the number of posts shown in my WP_Query posts_per_page, like so... <?php $posts_per_page_option = get_option( 'posts_per_page_option' ); ...
2
votes
0answers
56 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 ...
0
votes
4answers
861 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
0answers
40 views

TwentyFifteen color schemes with custom header default-image

I'm writing a child theme off twentyfifteen and customizing the color schemes. What I'd really like to do is change the default custom header image when the user changes the color scheme. This seems ...
1
vote
0answers
42 views

What is the correct approach to deal with css rules that the theme gets from a function

I am trying to change the color of entry-footer in my Twenty Fifteen theme. My modifications in the child theme is overridden because when the website is rendered in a browser, WordPress outputs ...
0
votes
1answer
61 views

Custom JS text area in customizer is being formatted wrong in document

I have created a wordpress theme, in the wordpress theme customizer I have added a couple of text areas where a user can input their own CSS or JS to be added to the head. The placement of the text ...
2
votes
1answer
455 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
0answers
41 views

removing value in a wp_customize color control?

I can add a setting and a control for the theme customizer using $wp_customizwer->add_setting() and $wp_customizwer->add_control($wp_customize->add_control(new ...
0
votes
1answer
1k views

“No Data Received” error in Chrome every time i try to update the theme functions file

Under Appearance --> Editor --> functions.php ( Theme functions ), whenever i try to modify a piece of code in it and click Update, i get this "No Data Received" error in Chrome. I never get this ...
1
vote
1answer
62 views

Skt full width basic slideshow problem

Background: I am making a photography website and thought that skt full width is a good theme for the landing page. It worked out all right. Then I started to get fancy. I wanted my client to be able ...
0
votes
1answer
17 views

Customizer: Update Preview instantly when typing into a number input field

Im working on some customizer settings for my theme. Im using chrome. I created a number input field: $wp_customize->add_setting( 'st_opacity', array( 'default' => '100', 'type' ...
0
votes
1answer
99 views

Widgets Section not displaying in theme customizer

When in the WP Theme Customizer, my widget management section isn't displaying (i.e. I can't add/change/remove widgets). I CAN, however, add widgets from the Appearance -> Widgets section, just not in ...