# Codestar Framework
A Lightweight and easy-to-use WordPress Options Framework. It is a free framework for building theme options. Save your time!
## Screenshot
[![Codestar Framework Screenshot](http://codestarframework.com/assets/images/framework/screenshot.png)](http://codestarframework.com/assets/images/framework/screenshot-1.png)
## [Documentation](http://codestarframework.com/documentation/)
Read the documentation for details [documentation](http://codestarframework.com/documentation/)
## Installation
##### A) Usage as Theme
* Download zip file from github repository
* Extract download zip on `themename/cs-framework` folder under your theme directory
* Add framework include code on your theme `themename/functions.php` file
```php
require_once dirname( __FILE__ ) .'/cs-framework/cs-framework.php';
// -(or)-
require_once get_template_directory() .'/cs-framework/cs-framework.php';
```
* Yay! Right now you are ready to configure framework, metaboxes, taxonomies, wp customize, shortcoder
* Take a look for config files from `themename/cs-framework/config` folder
* Read for more from [documentation](http://codestarframework.com/documentation/)
##### B) Usage as Plugin
* Download zip file from github repository
* **Way1** Extract download zip on `wp-content/plugins/cs-framework` folder under your plugin directory
* **Way2** Upload zip file from `wordpess plugins panel -> add new -> upload plugin`
* Active Codestar Framework plugin from wordpress plugins panel
* Yay! Right now you are ready to configure framework, metaboxes, taxonomies, wp customize, shortcoder
* Take a look for config files from `wp-content/plugins/cs-framework/config` folder also you can manage config files from theme directory. see overriding files method.
* Read for more from [documentation](http://codestarframework.com/documentation/)
## Enable - Disable Mods
Add define code on your `themename/functions.php` directly.
```php
define( 'CS_ACTIVE_FRAMEWORK', true ); // default true
define( 'CS_ACTIVE_METABOX', false ); // default true
define( 'CS_ACTIVE_TAXONOMY', false ); // default true
define( 'CS_ACTIVE_SHORTCODE', false ); // default true
define( 'CS_ACTIVE_CUSTOMIZE', false ); // default true
```
or take a look for change define base code from `/cs-framework/cs-framework.php` directly.
## Overriding Files
You can override an existing file without change `themename/cs-framework` folder. just create one `themename/cs-framework-override` folder on your theme directory. for eg:
```php
themename/cs-framework-override/config/framework.config.php
themename/cs-framework-override/functions/constants.php
themename/cs-framework-override/fields/text/text.php
```
## Features
- Options Framework
- Metabox Framework
- Taxonomy Framework
- WP Customize Framework
- Shortcode Generator
- Supports Child Themes
- Validate Fields
- Sanitize Fields
- Localization
- Fields Dependencies
- Supports Multilangual Fields
- Reset/Restore/Export/Import Options
- and so much more...
## Options Fields
- Text
- Textarea
- Checkbox
- Radio
- Select
- Number
- Icons
- Group
- Image
- Upload
- Gallery
- Sorter
- Wysiwyg
- Switcher
- Background
- Color Picker
- Multi Checkbox
- Checkbox Image Select
- Radio Image Select
- Typography
- Backup
- Heading
- Sub Heading
- Fieldset
- Notice
- and **extendable** fields
## Donate to the Development
You Guys! If you want to see more functions and features for this framework, you can buy me a coffee. I need a lot of it when I am creating new stuff for you. Thank you in advance.
[![Donate](https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=56MAQNCNELP8J)
## License
Codestar Framework is **free** to use both personal and commercial. If you used commercial, **please credit**.
Read more about GNU [license.txt](http://www.gnu.org/licenses/gpl-2.0.txt)
## Credits
Thanks for guys! Please read [credits](http://codestarframework.com/credits/). If you would like to contribute please fork the project and [report bugs](https://github.com/Codestar/codestar-framework/issues) or submit [pull requests](https://github.com/Codestar/codestar-framework/pulls)</a>.
## The Latest Updates
#### 1.0.1
- Added: Taxonomy options framework
- Added: Taxonomy css styles and rtl support
- Added: Framework title option in framework config file
- Added: Show/Hide option for `Reset All Options` button in framework config file
- Added: Helper function for get $_POST/$_GET variables
- Added: Metaboxes array support for post_type. see [#99](https://github.com/Codestar/codestar-framework/issues/99)
- Added: Fieldset new feature `un_array` option for children element getting by unique id. see [#235](https://github.com/Codestar/codestar-framework/issues/235)
- Added: An action `cs_validate_save` for save framework options fields
- Added: Background size option for background field
- Added: Debug light option for showing element id
- Added: Fallback file for avoid missing core functions
- Fixed: Background field custom titles (button, dialog etc) issue
- Updated: Framework documentation for taxonomy framework and fields
- Updated: Font Awesome 4.5.0 icons package
- Changed: Menu type names in framework config file. for eg. from `add_menu_page` to `menu`
- Improved: Theme Check plugin compatibility
- Improved: Dependency script for multiple checkboxes values
See [changelog](CHANGELOG.md)
---
##### Using Codestar Framework Themes
[![Route Responsive Multi-Purpose WordPress Theme](http://s3.codestarlive.com/route/userbox/route-preview-promo.png)](http://themeforest.net/item/route-responsive-multipurpose-wordpress-theme/8815770?ref=Codestar)
没有合适的资源?快使用搜索试试~ 我知道了~
WordPress主题黑镜主题Blackmirror2.0
共208个文件
php:95个
js:34个
png:20个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 156 浏览量
2022-07-05
10:06:44
上传
评论
收藏 1MB ZIP 举报
温馨提示
黑镜特色优化交互响应式布局,不断打磨细节,完美匹配电脑、平板、和移动端。专业的定位国内唯一一个精准定位于设计师和创意工作者的建站主题不一样的创新两种内容类型显示模式:作品卡片式和教程文章个性化图标由创造狮草莓图标库驱动,未来增加更多特色图标,丰富你的自定义强大的管理即有wordpress后台,也有黑镜个性化后台菜单!极客的精神纯手工原生代码。未集成任何第三方插件
资源详情
资源评论
资源推荐
收起资源包目录
WordPress主题黑镜主题Blackmirror2.0 (208个子文件)
style.css 79KB
cs-framework.css 41KB
cs-framework.min.css 34KB
strawberry.css 14KB
prism.css 5KB
share_popup.css 5KB
share_style2_24.css 4KB
share_style0_16.css 4KB
cs-framework-rtl.css 4KB
share_style0_32.css 4KB
login.css 3KB
cs-framework-rtl.min.css 3KB
owl.carousel.min.css 3KB
select_share.css 3KB
editor-style.css 2KB
weixin_popup.css 912B
share.css 0B
.DS_Store 6KB
.editorconfig 198B
strawberryicon.eot 60KB
strawberryicon.eot 54KB
pop_c.gif 465B
.gitignore 30B
favicon.ico 4KB
wechat-bg.jpg 39KB
login_bg.jpg 34KB
tangram.js 107KB
cs-plugins.js 80KB
chosen.jquery.js 43KB
cs-framework.js 40KB
cs-plugins.min.js 40KB
owl.carousel.min.js 39KB
prism.js 29KB
jquery.tooltip.js 17KB
jquery.interdependencies.js 17KB
share.js 17KB
cs-framework.min.js 17KB
shCore.js 16KB
qrcode.js 13KB
app.js 12KB
zh-cn-tw.js 11KB
tinymce.js 7KB
select_view.js 4KB
image_view.js 4KB
trans_weixin.js 3KB
jquery.actual.js 3KB
partners.js 2KB
pop_popup.js 2KB
pop_dialog.js 2KB
shBrushJScript.js 2KB
view_base.js 2KB
api_base.js 1KB
pop_base.js 1KB
share_view.js 1KB
anticheat.js 957B
share_api.js 636B
login.js 483B
image_api.js 453B
select_api.js 359B
logger.js 0B
google-fonts.json 298KB
01-font-awesome.json 4KB
README.md 6KB
CHANGELOG.md 1KB
bn_BD.mo 4KB
fa_IR.mo 4KB
ar.mo 3KB
ro_RO.mo 3KB
pt_BR.mo 3KB
tr_TR.mo 3KB
framework.config.php 26KB
custom.php 16KB
framework.class.php 14KB
shortcode.config.php 11KB
cs-framework-path.php 10KB
single.php 10KB
options.class.php 9KB
customize.config.php 9KB
feature.php 9KB
widget-hotpost.php 8KB
category-image.php 8KB
metabox.class.php 7KB
index.php 7KB
functions.php 7KB
seo.php 7KB
page-submit.php 6KB
taxonomy.class.php 6KB
helpers.php 6KB
shortcode.class.php 5KB
metabox.config.php 5KB
header.php 5KB
background.php 5KB
widget-comment.php 4KB
customize.class.php 4KB
typography.php 4KB
cs-framework.php 4KB
widget-tagcloud.php 4KB
group.php 3KB
carousel.php 3KB
category.php 3KB
共 208 条
- 1
- 2
- 3
智慧浩海
- 粉丝: 1w+
- 资源: 5431
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0