Download the PHP package pixelstudio/wp-custy without Composer
On this page you can find all versions of the php package pixelstudio/wp-custy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pixelstudio/wp-custy
More information about pixelstudio/wp-custy
Files in pixelstudio/wp-custy
Package wp-custy
Short Description Add more variety of options such as Typography and Color Picker to WP Customizer.
License MIT
Homepage https://github.com/hrsetyono/wp-custy/
Informations about the package wp-custy
Custy - Advanced WordPress Customizer
This is a fork of Blocksy Customizer, with many added features like automatic CSS output and simpler parameters.
This plugin adds variety options such as Typography and Color Picker to WP Customizer.
It also comes with drag-n-drop builder for Header and Footer:
1. GETTING STARTED
Download this repo, put it in your /plugins
folder, install it, and activate this plugin.
If you use Composer to install plugin, this plugin is available with the name pixelstudio/wp-custy
.
Then go to Appearance > Customizer and you will see these default sections:
- General - Contains options for color palette, shadow, and site width.
- Text - Contains options for Body and Heading typography.
- Header - Contains drag-n-drop builder for Header.
- Footer - Contains drag-n-drop builder for Footer.
2. TERMINOLOGY
- Option - Each individual setting. For example (see 1st picture above): Root Typography, Small Font Size
- Section - The whole column of options. For example: General, Text
- Builder - Either Header or Footer drag-n-drop setting.
- Item - Set of options that can be placed in Header or Footer. For example (see 2nd picture above): Button, Logo
3. USING CSS OPTIONS
Across the options, you might notice this CSS toggle:
That means the value of that options is automatically outputted into :root
(by default) using that variable name.
Then implement that variable in your theme wherever it fits.
4. ADD NEW SECTION
Let's say we want to add a new section where we can toggle on and off various features. Use this filter below:
Then, define the default values of those new options:
Done!, Check out the Customizer and you will see a new section called "Features"
Check out the Wiki for complete information on Options type and other things.
5. USING NON-CSS OPTIONS
Use the function Custy::get_mod( $option_id )
like shown below:
To make it easy to remember what the option ID is, the label should be the same. For example: the label for
has_back_to_top
is "Has Back to Top?"
6. MORE INFO AT WIKI
I have prepared tons of information at Wiki including:
-
All available options type like Color Picker, Slider, and Radio
- List of default values for built-in Section, Header, and Footer
7. THEME BUILT WITH CUSTY
- Edje WP Theme - My own WP starter theme using Timber Library.
- Blocksy - The theme where this customizer originated. It is an amazing theme and I used it on my WPTips.dev Blog, but the customizer is hard to edit because it lacks filter.