[國外]github https://github.com/Codestar/codestar-framework
[國內]gitee https://gitee.com/doswhy/codestar-framework
快速使用方法:
以模板開發codestarframework自帶的demo爲例
1.在 /wp-content/themes/theme-name/ 創建 inc 文件夾
2.下載Codestar Framework並解壓到 /wp-content/themes/theme-name/inc/
- /wp-content/themes/theme-name/ functions.php 添加
require_once get_stylesheet_directory() . ‘/inc/codestar-framework/codestar-framework.php’;
4. /wp-content/themes/theme-name/inc/codestar-framework/codestar-framework.php 在最後一行添加
require_once plugin_dir_path( FILE ) .’samples/options.samples.php’;
5.然後就可可以在菜單欄看見CFS Demo 了