Codestar Framework

[國外]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/

  1. /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 了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章