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
vote
0answers
30 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: ...
0
votes
0answers
45 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
2answers
100 views

adding checkbox to theme customizer

I have been trying to add a checkbox into the theme customizer. I have a checkbox added using this code in my functions.php function theme_customizer_register_checkbox($wp_customize) { ...
0
votes
1answer
54 views

Theme Customizer - Nested Sections?

Is it possible to put sections within sections at all? It would be very helpful for me to be able to do so due to having several options per section and I don't want the user to be overloaded with ...
0
votes
1answer
27 views

disable lightbox in a plugin [closed]

i'm using the PHOTO ALBUM plugin for wordpress and I would like to disable the lighbox effects - meaning, i just want to show the thumbnails... is that even possible? Thank!
0
votes
1answer
45 views

laoding bloginfo url in function array?

I'm using wp customizer in a theme and I want to load a page using a link in admin bar. Link in admin bar is added, and link format is like this: ...
2
votes
1answer
54 views

Edit a different page in WP Customizer

I'm working with Customizer's incredible options, and so far so good, it's really powerful and does everything I want. However, I'd like to extend it, so instead of editing only the main page, I want ...
0
votes
1answer
65 views

How to enqueue javascript for WP Customize options sidebar?

I'm trying to add Chosen.jquery to the WP Customize options panel, so I can have an autocomplete box there. Is there any way I can do that? I tried with admin_init, admin_footer and ...
2
votes
1answer
473 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 ...
2
votes
0answers
95 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 ...
0
votes
0answers
23 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 ...
1
vote
0answers
56 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 ...
0
votes
0answers
479 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 ...
1
vote
0answers
39 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 ...
0
votes
1answer
63 views

Custom Post Types and Child Themes!

OK here is my question.... I have a professionally purchased theme that has a custom post type of "PortFolio" built into the theme. The post type is ideal for what i'm trying to achieve in the ...
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
152 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
2answers
108 views

How to make CSS load live based on options clicked in the theme customizer?

I have a problem. I am trying get the theme customizer load a different CSS file based on what radio input in clicked, live! It works so far right now that option is saved when I click "Save & ...
0
votes
0answers
31 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
1answer
196 views

Is it possible to get a theme customizer setting from wp.customize using jquery?

I am wondering if it is possible to directly interop with the wp.customize api to get a value of a theme customizer setting. The way I am doing it now is using ajax to get a response from a php ...
0
votes
0answers
58 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
1answer
194 views

WP 3.8 theme customizer error

I'm trying to make some customizer for my theme, but i've got JS error "Uncaught ReferenceError: wp is not defined " LOL. I wrote all code based on Codex, maybe it is just WP 3.8 bug? Or what i'm ...
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 ...
0
votes
0answers
104 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 ...
4
votes
1answer
102 views

Is having multiple theme customizers for different pages possible?

If you have a theme that for instance has a blog, front page and misc pages is it possible to have more than one theme customizer, so that you can provide a live preview when editing styles? My theme ...
0
votes
1answer
72 views

Need advice on theme customizer and child themes

I have been working on a theme, initially it only had one design and I made almost all of the front page elements customizable through the theme customizer. Now I would like to offer a few variations ...
0
votes
1answer
183 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
1answer
18 views

Unexpected output using theme customizer

I am setting up a textarea input for theme customizer. It seems to be working well apart from it outputting a line of text above the textarea label which I cannot find where it comes from and why. ...
0
votes
1answer
51 views

Does theme customizer need theme-customizer.js?

I am just getting into using the theme customizer in WordPress. I found a great answer on this site about adding a slider and I got it working just fine. I was reading in the codex about the ...
1
vote
0answers
102 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 ...
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
1answer
90 views

Theme customizer live preview JS- Trying to bind to an html image url without luck

I am having a little trouble binding the theme customizer live preview javascript to an HTML <img src>- more specifically it is my logo. Here how the html looks on the page(which is fine and ...
3
votes
1answer
92 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 ...
0
votes
0answers
92 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 ...
1
vote
1answer
86 views

Using an if statement in the theme customizer page

I am slowly but surely chipping away at my first wordpress theme. I tried to make all of the aesthetics have different options, but well categorized so it is not overwhelming. So in my theme ...
0
votes
1answer
102 views

Register theme customizer settings when theme activates [duplicate]

I've been following this great tutorial (http://wp.tutsplus.com/tutorials/theme-development/digging-into-the-theme-customizer-overview/) and now I have set the Theme customizer. As far as I ...
0
votes
0answers
46 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
1answer
102 views

Redirect after closing Theme Customizer when user does not have permission for theme page

I'm looking for a way to alter the href target for the "close" button from the theme customizer. Another question/answer came very close, but in my case the solution used which involved ...
2
votes
2answers
121 views

How do I conditionally enqueue stylesheets or scripts in theme customizer settings?

I'm developing a new WordPress theme and I'm at the point where I'm adding theme customizer options. Most of them have been surprisingly easy to implement, but I'm stumped on a couple of important ...
0
votes
1answer
163 views

Custom Stylesheet instead of Inline CSS for Wordpress Customizer API Overrides

I've looked at Wordpress Customizer API and it looks to be able to achieve what I'm looking for; allowing the developer to set aside as many dynamic styles which can later be configured by the ...
0
votes
1answer
21 views

Is it possible to rename a customizer control heading?

So far I couldn't figure out how to rename a customizer control. I can rename sections, but cannot find a way to controls. I would like to rename the default Tagline control to Site Description. Any ...
-4
votes
3answers
379 views

How to store the_post_thumbnail() value in a variable

As you know the result of the the_post_thumbnail() is an image tag. I need this image tag to store at a kind of collection or Array. I'm using the following code but it doesn't help me out. And I want ...
0
votes
0answers
46 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
441 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
2answers
599 views

Theme Customizer not displaying saved values in wp_head (CSS)

I've been learning hot to add theme customizer feature to a theme. Used few sources for the code and help, but chose the Codex in the end. I am using a snippet from the codex itself, slightly ...
3
votes
4answers
141 views

View category in the preview of Theme Customizer

I am building a theme which Theme customizer changes colors, sizes, etc. and has also the option to choose a category and style that category specifically. How can I display that category in the ...
0
votes
1answer
35 views

retrieve theme custom settings

I have modified twentythirteen template adding custom settings for my theme. All settings appear in theme customization section and I am able to save them. I am using WP 3.6. How to retrieve those ...
1
vote
2answers
90 views

How to customize submenus isn wordpress theme [closed]

I have a wordpress theme and in the header.php file it is displaying menus through this line : wp_nav_menu( 'theme_location=menu_2&menu_id=nav&container=&fallback_cb=menu_2_default'); ...
0
votes
2answers
382 views

Utilise WP_Customize_Image_Control to only show image picker

I would like to achieve the following (using a copy of twentytwelve): Turn off custom-header theme support to prevent users being able to upload their own images (achieved) Create own section in ...
1
vote
1answer
72 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( ...