定制 folivoro/layotter 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

folivoro/layotter

最新稳定版本:v1.5.30

Composer 安装命令:

composer require folivoro/layotter

包简介

Add and arrange your content freely with an intuitive drag and drop interface!

README 文档

README

Build fully customizable and easy to use Wordpress websites – with Layotter, the drag-and-drop page builder for developers!

As a professional Wordpress developer, you've probably got your own theme boilerplate, a favorite grid system, project structure, … you name it. So why should your page builder dictate its own HTML or CSS structure? Why should it come with a ton of predesigned modules that won't fit your client's design anyway? We believe it shouldn't. So Layotter doesn't.

If you like ACF, you'll love Layotter

Layotter is based on Advanced Custom Fields (ACF), a very popular Wordpress plugin that lets you create wildly complex forms without having to write any code. Thanks to ACF, building a simple Layotter element takes as little as 15 lines of code:

class Text_Element extends Layotter_Element {
    protected function attributes() {
        $this->title       = 'Text';
        $this->description = 'A very simple text element.';
        $this->icon        = 'font'; // pick an icon from Font Awesome
        $this->field_group = 'group_abc1337'; // your ACF field group
    }
    protected function frontend_view($fields) {
        echo $fields['content']; // what visitors will see
    }
    protected function backend_view($fields) {
        echo $fields['content']; // what editors will see
    }
}
Layotter::register_element('text', 'Text_Element');

Read the introduction or the installation instructions to get started, or head directly to the tutorial on how to create an element type.

Some more features you'll enjoy

  • Super clean, object oriented API
  • Full HTML and CSS customization
  • Settings filters for programmatic configuration
  • Integrates so nicely, your clients will think it's a part of Wordpress
  • Works with the Pro and regular versions of ACF
  • Open source and free to include even in commercial themes

By the way, Layotter 2 is in the making…

Check out the (terribly named) modular branch to learn more about the the upcoming release.

统计信息

  • 总下载量: 457
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2023-05-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固