sage icon indicating copy to clipboard operation
sage copied to clipboard

WordPress Theme Customizer for Bootstrap variables

Open hixen opened this issue 13 years ago • 3 comments

Feature request.

Sorry if this has been posted before, but for the last days I have been playing around with the theme customizer, new feature since 3.4, and I do like it. I understand it's not for everyone, but maybe it could work.

On the Bootstrap page there is a customizer, so my idea is simply put this customizer inside the WordPress Theme Customizer, maybe not all features, but I think you can get a long way.

Here is the customizer I'm talking about: http://twitter.github.com/bootstrap/customize.html#variables

And here is the link from the codex: https://codex.wordpress.org/Theme_Customization_API

If this is even remotely interesting, I'm willing to help out the best I can.

hixen avatar Feb 05 '13 23:02 hixen

we need to recommend devs to edit the bootstrap LESS files directly. i think that implementing the customizer is fine for certain instances, but it's not something i'd like to include as a default in roots.

the shoestrap fork implements it pretty well AFAIK:

http://shoestrap.org/downloads/shoestrap/#customizer https://github.com/aristath/shoestrap https://github.com/aristath/shoestrap/tree/master/lib/customizer

retlehs avatar Feb 05 '13 23:02 retlehs

@hixen In the Shoestrap fork as Ben mentioned there is a pretty extended customizer. In fact there are 2 customizer modes (you can change that from an admin page):

  • In normal mode, the changes are echoed in the <head> of your document
  • In * advanced* mode, the changes you make are actually written in the variables.less file and then the css file is recompiled. You just have to make sure that the variables.less as well as the app.css files are writable by your webserver.

aristath avatar Feb 06 '13 09:02 aristath

Hi Hixen, I agree with you and i can help about that, i aldready build many templates with "theme customizer" if you have time, we can discuss about that by skype (ilanfreoua)

ilanfreoua avatar Nov 28 '13 15:11 ilanfreoua