Skip to content

Commit 604ce51

Browse files
committed
v2.1.1
0 parents  commit 604ce51

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+21919
-0
lines changed

LICENSE.md

Lines changed: 339 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
[![Codestar Framework](http://s3.codestarthemes.com/codecanyon/23079100/github-banner.png)](http://codestarframework.com/)
2+
3+
# Codestar Framework
4+
A Simple and Lightweight WordPress Option Framework for Themes and Plugins. Built in Object Oriented Programming paradigm with high number of custom fields and tons of options. Allows you to bring custom admin, metabox, taxonomy and customize settings to all of your pages, posts and categories. It's highly modern and advanced framework.
5+
6+
## Contents
7+
- [Demo](#demo)
8+
- [Installation](#installation)
9+
- [Quick Start](#quick-start)
10+
- [Documentation](#documentation)
11+
- [Free vs Premium](#free-vs-premium)
12+
- [Whats news?](#whats-news-)
13+
- [Support](#support)
14+
- [Release Notes](#release-notes)
15+
- [Migrate v1.x to v2.x](#migrate)
16+
- [License](#license)
17+
18+
## Demo
19+
For usage and examples, have a look at :rocket: [online demo](http://codestarthemes.com/plugins/codestar-framework/wp-login.php?login=demo)
20+
21+
## Installation
22+
23+
1. Download the installable WordPress plugin zip.
24+
2. Upload and active plugin from `WordPress` → `Plugins` → `Add New`
25+
3. After activation, next step is to configure your settings. You can do it from here :gear: [configurations](http://codestarframework.com/documentation/#/configurations)
26+
27+
## Quick Start
28+
29+
Open your current theme **functions.php** file and paste this code.
30+
31+
```php
32+
// Check core class for avoid errors
33+
if( class_exists( 'CSF' ) ) {
34+
35+
// Set a unique slug-like ID
36+
$prefix = 'my_framework';
37+
38+
// Create options
39+
CSF::createOptions( $prefix, array(
40+
'menu_title' => 'My Framework',
41+
'menu_slug' => 'my-framework',
42+
) );
43+
44+
// Create a section
45+
CSF::createSection( $prefix, array(
46+
'title' => 'Tab Title 1',
47+
'fields' => array(
48+
49+
// A text field
50+
array(
51+
'id' => 'opt-text',
52+
'type' => 'text',
53+
'title' => 'Simple Text',
54+
),
55+
56+
)
57+
) );
58+
59+
// Create a section
60+
CSF::createSection( $prefix, array(
61+
'title' => 'Tab Title 2',
62+
'fields' => array(
63+
64+
// A textarea field
65+
array(
66+
'id' => 'opt-textarea',
67+
'type' => 'textarea',
68+
'title' => 'Simple Textarea',
69+
),
70+
71+
)
72+
) );
73+
74+
}
75+
```
76+
How to get option value ?
77+
```php
78+
$options = get_option( 'my_framework' ); // unique id of the framework
79+
80+
echo $options['opt-text']; // id of the field
81+
echo $options['opt-textarea']; // id of the field
82+
```
83+
84+
## Documentation
85+
Read the documentation for details :closed_book: [documentation](http://codestarframework.com/documentation/)
86+
87+
## Free vs Premium
88+
89+
| Features | Free Version | Premium Version
90+
|:-----------------------------|:------------------:|:-----------------:
91+
| Admin Option Framework | :heavy_check_mark: | :heavy_check_mark:
92+
| Customize Option Framework | :x: | :heavy_check_mark:
93+
| Metabox Option Framework | :x: | :heavy_check_mark:
94+
| Taxonomy Option Framework | :x: | :heavy_check_mark:
95+
| Shortcode Generate Framework | :x: | :heavy_check_mark:
96+
| Widget Option Framework | :x: | :heavy_check_mark:
97+
| All Option Fields | :x: | :heavy_check_mark:
98+
| Developer Packages | :x: | :heavy_check_mark:
99+
| Unminfy Library | :x: | :heavy_check_mark:
100+
| New Requests | :x: | :heavy_check_mark:
101+
| Autoremove Advertisements | :x: | :heavy_check_mark:
102+
| Life-time access/updates | :x: | :heavy_check_mark:
103+
| | | :star2: <a href="http://codestarframework.com/">Upgrade Premium Version</a>
104+
105+
## Whats news ?
106+
107+
#### General
108+
- Added: Multiple instances support
109+
- Added: New option fields
110+
- Added: Filters/Actions for change to configs
111+
- Added: Output css featue
112+
- Added: Auto enqueue/load for google web fonts
113+
- Added: Widget option framework
114+
- Added: Group and Repeater fields nested usage
115+
- Improved: Config array
116+
- Improved: Javascripts
117+
- Improved: PHP Functions/Classes
118+
- Improved: Load time performance
119+
120+
#### Admin Option Framework
121+
- Added: Framework header title change parameter
122+
- Added: Detailed typography field
123+
- Added: Ajax save options
124+
- Added: Contextual helps option
125+
- Added: Admin bar menu option
126+
- Added: Search options feature
127+
- Added: WPMU Network menu option
128+
- Added: Sticky header
129+
- Added: Save defaults
130+
- Added: Database save data types ( for eg: `option`, `theme_mod`, `transient`, `network` )
131+
132+
#### Metabox Option Framework
133+
- Added: Multiple post type support
134+
- Added: Database save data types ( for eg: `serialize`, `unserialize` )
135+
- Added: Exclude post types option
136+
- Added: Metabox display to specific page templates. ( for eg `default`, `sidebar-page.php`, `about-page.php` )
137+
- Added: Metabox display to specific post formats. ( for eg `standard`, `aside`, `gallery`, `video` )
138+
- Added: Restore metabox option button
139+
140+
#### Customize Option Framework
141+
- Added: Multiple post type support
142+
- Added: Database save data types ( for eg: `option`, `theme_mod` )
143+
- Added: Save defaults
144+
145+
#### Taxonomy Option Framework
146+
- Added: Multiple taxonomy type support
147+
- Added: Database save data types ( for eg: `serialize`, `unserialize` )
148+
149+
#### Shortcode Generate Framework
150+
- Added: Gutenberg support as simply
151+
152+
## Available Option Fields
153+
154+
| Accordion | Color | Icon | Select | Tabbed
155+
|:------------|:------------|:-------------|:---------|:---
156+
| Background | Color Group | Image Select | Slider | Text
157+
| Backup | Date | Link Color | Sortable | Textarea
158+
| Border | Dimensions | Media | Sorter | Typography
159+
| Button Set | Fieldset | Palette | Spacing | Upload
160+
| Checkbox | Gallery | Radio | Spinner | WP Editor
161+
| Code Editor | Group | Repeater | Switcher | Others
162+
163+
## Support
164+
165+
We are provide [support forum](http://support.codestarthemes.com/) for premium version users. You can join to support forum for submit any question after purchasing. Free version users support is limited on [github](https://github.com/Codestar/codestar-framework/issues).
166+
167+
## Release Notes
168+
Check out the [release notes](http://codestarframework.com/documentation/#/relnotes)
169+
170+
## Migrate
171+
Check out the [migrate v1.x to v2.x](http://codestarframework.com/documentation/#/faq?id=how-to-migrate-v1x-to-v2x-)
172+
173+
## License
174+
Codestar Framework have two different version. Free version has limited features and offers only admin option panel feature. Premium version offers all extensions and more of settings for the best experience and advanced features. You can bundle the framework ( both free and premium ) in the premium theme/plugin and sell them on your own website or in marketplaces like ThemeForest. This framework is licensed 100% GPL.

0 commit comments

Comments
 (0)