WordPress / gutenberg-starter-theme

A simple theme for testing Gutenberg.
GNU General Public License v2.0
683 stars 163 forks source link

Move theme options into the customizer #93

Closed kjellr closed 2 years ago

kjellr commented 5 years ago

In order to align to TRT guidelines, we should move the Gutenberg Starter theme options out of a custom admin page and into the Customizer. This PR migrates these settings over.

Testing Instructions

  1. Install the PR version of this theme on a test site, do not change any settings yet.
  2. Ensure that the options above are all active by default:
    • You should see wide and full alignment options available in the editor.
    • You should see the custom theme color palette available in the editor.
    • You should see light mode active, not dark mode.
    • You should see default block styles applied on the frontend. (A quick way to check is to verify that the quote block appears with a left border).
    • On the front end, the body should have a wp-embed-responsive class.
  3. Check and uncheck the new and verify that they toggle the options as expected.

Screenshots

Before:

Screen Shot 2019-07-26 at 12 03 08 PM

After:

Screen Shot 2019-07-26 at 12 02 34 PM
kjellr commented 2 years ago

Closing due to inactivity. 🕐