Automattic / Picard

A prototype theme that uses React and WP-API
628 stars 110 forks source link

Add customizer preview support #54

Open westonruter opened 7 years ago

westonruter commented 7 years ago

WordPress 4.7 has specific improvements to the customizer to make the preview compatible with JS-driven themes. I was originally thinking I would submit a PR to Picard to add support, but the theme fatal errored for me and so I found another theme to add support to. I did so for Anadama, see https://github.com/ryelle/Anadama-React/pull/5

If Picard gets freshened up to be compatible with WordPress 4.7 and the REST API committed to core, I'd like to help work out integration with the customizer.

westonruter commented 7 years ago

I wasn't aware that Picard depends on v1 of the API, so that's probably why I got fatals.

kwight commented 7 years ago

No, Picard hasn't seen any active development for quite some time – awesome that you added it to Anadama! Thanks for noting.