Coder Social home page Coder Social logo

digitalhydra / acf-page-builder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from owenr88/acf-page-builder

0.0 2.0 0.0 18 KB

A powerful and easy to use page builder, using the Advanced Custom Fields Flexible Content module.

License: GNU General Public License v2.0

PHP 98.05% CSS 1.68% JavaScript 0.27%

acf-page-builder's Introduction

Advanced Custom Fields Page Builder

Contributors: owenr88 Tags: advanced custom fields, custom fields, page builder, build pages Requires at least: 3.8 Tested up to: 4.4.2 Stable tag: 1.1.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

A powerful and easy to use page builder, using the Advanced Custom Fields Flexible Content module.

Description

PLEASE NOTE: The following plugins or add-ons are required for this to work:

The ACF Page Builder uses the Advanced Custom Fields Flexible Content field to create a bunch of completely customisable page elements. This plugin works best when used with Bootstrap, but it isn't essential. These elements include:

  • Banner images
  • Buttons
  • Bootstrap Content Grids
  • Image Gallery (with text and caption)
  • Raw HTML and JavaScript
  • Simple Contact Forms
  • WYSIWYG Content

Each element can be configured - see the screenshots for configuration options. Default options are background colours, wrapper classes and if the element needs to be contained (Bootstrap only!) Please get in touch or submit pull requests for any more page sections.

The ACF Page Builder was created and is managed by Big Lemon Creative.

Configuration

To configure which post types, page templates and specific post ID the page builder is displayed on, use the following filter in your functions.php file:

function support_acfpb( $support = array() ) {

    $support['post_type'] = array(
        'page',
        'post'
    );

    $support['page_template'] = array(
        'page-templates/page-sectioned.php'
    );

    $support['id'] = array(
        '21'
    );

    return $support;

}
add_filter('acfpb_set_locations', 'support_acfpb', 10, 1);

Usage

We designed the functions to match the ACF syntax of get_field() and the_field(). Use the functions below to get or directly echo the sections on the front end. The ID is optional.

the_sections( $id );

OR

echo get_sections( $id );

Installation

Install the plugin by following these steps:

  1. Upload the acf-page-builder folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Check out the settings page to create some fields and see how to include it in your theme

The plugin can also be searched for and installed directly in the WordPress Plugin manager.

Make sure that you have Advanced Custom Fields installed.

Frequently Asked Questions

Can I ask you a question?

Yes. Head over to the GitHub page with any questions or feature requests. You might also find your answer in the support tab. Feel free to contact us if you can't find an answer, or reach us on Twitter.

Screenshots

###1. All sections collapsed

All sections collapsed

###2. Banner section options

Banner section options

###3. Button section options

Button section options

###4. Content Grid section options

Content Grid section options

###5. Gallery section options

Gallery section options

###6. Raw HTML section options

Raw HTML section options

###7. Simple Contact Forms section options

Simple Contact Forms section options

###8. WYSIWYG section options

WYSIWYG section options

###9. Full Page of created sections

Full Page of created sections

Changelog

v1.1.1

  • The very first version! Includes the following sections: banners, buttons, content grid, galleries, raw HTML, normal WYSIWYG text and simple contact form integration

Upgrade Notice

Only the first version!

acf-page-builder's People

Contributors

owenr88 avatar

Watchers

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