Twenty Sixteen child theme that demonstrate my WordPress customizer add-ons
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
css
js
languages
pure-css-toggle-buttons
svg
.codeclimate.yml
.eslintignore
.eslintrc
.gitattributes
LICENSE
README.md
functions.php
screenshot.png
style.css
svg.json

README.md

A Customizer Demo Theme

This Twenty Sixteen child theme demonstrate the following proof of concepts:

  1. How to use the customizer postmessage transport and a preview script to toggle complex theme elements on or off. (learn more)
  2. How to select and add an SVG logo using Customizer SVG Picker Option
  3. Replaced WordPress customizer checkbox control with my Customizer Toggle Control
  4. Toggle visibility
  5. Replace the range control with a range & value control.
  6. Validate WCAG Color Contrast for Customizer Color Control
  7. Change the config of the Customizer Color Control

Prerequisite

This demo is implemented as a child theme to Twenty Sixteen, so Twenty Sixteen must be installed.

Installation

You know the drill, download, install and activate the theme.

Use

Toggle complex theme elements on or off

SVG logo Custom Customizer Component

Toggle visibility

Range & Value Control

Validate WCAG Color Contrast for Customizer Color Control

Change the config of the Customizer Color Control

Copyright and License

2016-customizer-demo is copyright 2016 Per Soderlind

2016-customizer-demo is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

2016-customizer-demo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the Extension. If not, see http://www.gnu.org/licenses/.