Git Product home page Git Product logo

acf-lite's Introduction

Advanced Custom Fields Lite

A lite version of the Advanced Custom Fields WordPress plugin for powerful theme development


Overview

Welcome to the lite version of Advanced Custom Fields. This repository holds the core functionality for ACF without any of the user friendly interfaces for creating fields.

The lite version allows you to easily integrate Advanced Custom Fields into your premium / free themes. All code relating to creating / saving / reading field groups from the database has been stripped out leaving you with a light wieght API to register field groups with code.

All the CSS, JS and API functions are the same as the full version. The only real difference is there is no menu for creating field groups.

Notes

Do not use this lite version with an active 'full' version of ACF running. You will recieve a white screen of death (PHP error) because both the acf plugin and the 'lite code' use the same classes / functions.

I suggest that you run 2 sites for dev:

  1. Blank WP + ACF plugin: for creating field groups and exporting to PHP
  2. Real WP + ACF lite: pasting in exported code and developing your theme

Getting Started

  1. Download this repository as a zip file

  2. Copy the acf folder to your theme

  3. View the functions.php example file

Distributing ACF lite in your themes

That's what this is for! Your are 100% allowed to include this lite version in your theme. You are also allowed to include your activation codes in the acf_settings hook (see functions.php example).

You are not required to puchase multiple activation codes. Just 1.

At the moment, activation codes are not hidden by any security measures. This may change in the future so please read any notices before "upgrading" or using a "newer" version of the lite ACF.

acf-lite's People

Contributors

elliotcondon avatar zslabs 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.