GithubHelp home page GithubHelp logo

bpwpdev / awesome-beaver-builder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lukecav/awesome-beaver-builder

0.0 1.0 0.0 35 KB

Awesome extensions for the Beaver Builder page builder plugin for WordPress.

awesome-beaver-builder's Introduction

Awesome Beaver Builder Extensions

Extensions for the awesome Beaver Builder page builder plugin for WordPress.

Table Of Contents

Modules

Modules to add to your theme or plugin

Custom Field Types

These are additional settings field types to use in your custom modules.

Add-On Plugins & Libraries

Layouts

Have you designed a layout you'd like to share? Shoot me a link!

Beaver Builder friendly Themes

Know of a free or premium theme with great Beaver Builder support? Send me the link!

Beaver Builder Child Themes

Beaver Builder Reference

Common Snippets

How to check if a page is using a builder layout:

<?php
// Include this function in functions.php of your theme.
function is_builder_layout() {
  if (class_exists( 'FLBuilderModel' ) && FLBuilderModel::is_builder_enabled()) return true;
  return false;
}

// Inside page.php, single.php, or singular.php use is_builder_layout() to determine what kind of layout to display.
if (is_builder_layout()) {
  // big wide open edge-to-edge space for builder to use.
} else {
  // default page layout, two column w/ sidebar maybe? Go nuts.
}
?>

How to default new pages to use Beaver Builder instead of the WordPress Editor.

function make_beaver_builder_default_editor( $post_ID, $post, $update ) {

  // Enable BB Editor by default?
  $enabled = true;

  // On the first insert (not an update), set BB enabled to true.
  if (!$update) {
    update_post_meta( $post_ID, '_fl_builder_enabled', $enabled );
  }
}
add_action('wp_insert_post', 'make_beaver_builder_default_editor', 10, 3 );

There is also a nice collection of CSS Snippets for the BB Plugin and CSS Snippets for the BB Theme on the knowledge base

Hope this was helpful.

For any missing resources, please add them as issues. https://github.com/lukecav/awesome-beaver-builder/issues

awesome-beaver-builder's People

Contributors

brentjett avatar lukecav avatar

Watchers

 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.