Whale-Agency / headless-horseman

A base Wordpress theme for running headless using Frontity.org
Apache License 2.0
0 stars 0 forks source link

Customizer endpoint #21

Open brynzovskii opened 2 years ago

brynzovskii commented 2 years ago

Need an endpoint to get all available options from customizer.

DonKoko commented 2 years ago

Okey, so I checked it and I have some feedback. I think we basically have to figure out, which options are relevant for the front-end and only expose those. I think currently we should have:

  1. custom_css_post_id - this is good, but cant we just get the css directly?
  2. hh_color_palette - this is good. Can we make so that they keys are slugs instead of with underscores? text_black > text-black
  3. hh_reusable_blocks - nice
DonKoko commented 2 years ago

1 more thing. In a few of the elemnts you are exposing an ID. It should be number instead of a string.