Skip to content

Commit 4a628e2

Browse files
committed
initial release
0 parents  commit 4a628e2

File tree

105 files changed

+29920
-0
lines changed

Some content is hidden

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

105 files changed

+29920
-0
lines changed

LICENSE.md

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

README.md

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