开发者 |
RapidDev
Leszek Pomianowski |
---|---|
更新时间 | 2017年12月11日 04:38 |
捐献地址: | 去捐款 |
PHP版本: | 4.5.0 及以上 |
WordPress版本: | 4.8.1 |
版权: | MIT |
版权网址: | 版权信息 |
spectrum()
function, you have access to both modified and not yet edited options.
You can add the spectrum as an element of your WordPress Theme and dramatically speed up your work.
Spectrum Engine ready for theme is available at https://github.com/rapiddtc
Note, the plugin includes an optional option, which is Google Fonts.
If you do not remove this option, you must accept Google's terms and privacy policy.
https://www.google.com/policies/privacy/
https://developers.google.com/terms/
spectrum_engine
folder to the /wp-content/plugins/
directoryOptions and menu layout are in spectrum_engine/_options.php
file
You need to add an option to the matching section, as shown below: $options = [ ['section_id'] => [ ['option_id', 'default_value', 'type', 'label', 'description', 'additional options'] ] ];
You need to create a menu according to the scheme below: $customization = [ ['section_id'] => [ 'Title', 'Description' ], ['panel_id'] => 'Title', 'Description', [ ['section_id', 'label', 'description'] ] ];
spectrum()
function stores settings, works in personalization, and does not require so many database connectionscc("option_id")
functions as storing settingsglobal $cc;
as a variable storing settings