GithubHelp home page GithubHelp logo

3dhead / codestar-framework Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codestar/codestar-framework

0.0 0.0 0.0 3.12 MB

A Simple and Lightweight WordPress Option Framework for Themes and Plugins

Home Page: http://codestarframework.com/

License: GNU General Public License v2.0

PHP 100.00%

codestar-framework's Introduction

Codestar Framework

Codestar Framework

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.

Contents

Demo

For usage and examples, have a look at ๐Ÿš€ online demo

Installation

  1. Download the installable WordPress plugin zip.
  2. Upload and active plugin from WordPress โ†’ Plugins โ†’ Add New
  3. After activation, next step is to configure your settings. You can do it from here โš™๏ธ configurations

Quick Start

Open your current theme functions.php file and paste this code.

// Check core class for avoid errors
if( class_exists( 'CSF' ) ) {

  // Set a unique slug-like ID
  $prefix = 'my_framework';

  // Create options
  CSF::createOptions( $prefix, array(
    'menu_title' => 'My Framework',
    'menu_slug'  => 'my-framework',
  ) );

  // Create a section
  CSF::createSection( $prefix, array(
    'title'  => 'Tab Title 1',
    'fields' => array(

      // A text field
      array(
        'id'    => 'opt-text',
        'type'  => 'text',
        'title' => 'Simple Text',
      ),

    )
  ) );

  // Create a section
  CSF::createSection( $prefix, array(
    'title'  => 'Tab Title 2',
    'fields' => array(

      // A textarea field
      array(
        'id'    => 'opt-textarea',
        'type'  => 'textarea',
        'title' => 'Simple Textarea',
      ),

    )
  ) );

}

How to get option value ?

$options = get_option( 'my_framework' ); // unique id of the framework

echo $options['opt-text']; // id of the field
echo $options['opt-textarea']; // id of the field

Documentation

Read the documentation for details ๐Ÿ“• documentation

Free vs Premium

Features Free Version Premium Version
Admin Option Framework โœ”๏ธ โœ”๏ธ
Customize Option Framework โŒ โœ”๏ธ
Metabox Option Framework โŒ โœ”๏ธ
Nav Menu Option Framework โŒ โœ”๏ธ
Taxonomy Option Framework โŒ โœ”๏ธ
Profile Option Framework โŒ โœ”๏ธ
Comment Option Framework โŒ โœ”๏ธ
Widget Option Framework โŒ โœ”๏ธ
Shortcode Option Framework โŒ โœ”๏ธ
All Option Fields โŒ โœ”๏ธ
Developer Packages โŒ โœ”๏ธ
Unminfy Library โŒ โœ”๏ธ
New Requests โŒ โœ”๏ธ
Autoremove Advertisements โŒ โœ”๏ธ
Life-time access/updates โŒ โœ”๏ธ
๐ŸŒŸ Upgrade Premium Version

Available Option Fields

Accordion Color Icon Select Tabbed
Background Color Group Image Select Slider Text
Backup Date Link Color Sortable Textarea
Border Dimensions Media Sorter Typography
Button Set Fieldset Palette Spacing Upload
Checkbox Gallery Radio Spinner WP Editor
Code Editor Group Repeater Switcher Others

Support

We are provide support forum for premium version users. You can join to support forum for submit any question after purchasing. Free version users support is limited on github.

Release Notes

Check out the release notes

License

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 your free theme/plugin that you publish inside WordPress.org theme/plugin directory or in premium theme/plugin that you sell on your own website or in marketplaces like ThemeForest. This framework is licensed 100% GPL.

codestar-framework's People

Contributors

codestar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.