2017 © Pedro Peláez
 

wordpress-plugin woodlets

Create WordPress Widgets using Twig Templates

image

neochic/woodlets

Create WordPress Widgets using Twig Templates

  • Sunday, January 28, 2018
  • by christoph
  • Repository
  • 3 Watchers
  • 8 Stars
  • 51 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 43 Versions
  • 2 % Grown

The README.md

Woodlets

Build Status Join the chat at https://gitter.im/Woodlets/Lobby, (*1)

Woodlets is beta. We think it's stable enough be used it in productive environments and we do so.
However you should copy the default templates directory from views/defaultTemplates into the woodlets directory of your theme. This helps to prevent incompatibilities with future Woodlets versions.
, (*2)

Feedback and feature requests are welcome!, (*3)

Woodlets is a WordPress plugin that makes theme development more productive and fun.
The main features are: * Heavily Twig based theme development * Create widgets with a single Twig-Template file * Multi column page layouts * Custom page template fields with data inheritance * Simple way to add controls to the theme customizer * Compatible with native WordPress widgets, (*4)

Installation

Installation via TGM Plugin Activation is recommended. With TGMPA Plugin Activation you can define Woodlets as a required dependency for your theme.
But there is also a bundled version that can be installed manually., (*5)

Install via TGM Plugin Activation

  1. Install TGM Plugin Activation as they explain in their installation manual.
  2. Include and configure the TGM Plugin Activation library to load Woodlets:, (*6)

    <?php
    require_once dirname( __FILE__ ) . '/class-tgm-plugin-activation.php';
    
    add_action( 'tgmpa_register', function() {
        $plugins = array(
            array(
                'name'               => 'Woodlets',
                'slug'               => 'woodlets',
                'source'             => 'https://github.com/Neochic/Woodlets/releases/download/v0.6.13/woodlets-v0.6.13-bundled.zip',
                'required'           => true,
                'force_activation'   => true,
                'force_deactivation' => true
            )
        );
        tgmpa( $plugins );
    });
    

Check "Woodlets Seed"-Theme Tgm.php for a working example., (*7)

Install manually

  1. Go to releases page and download the latest bundled release.
  2. Extract the zip archive to your WordPress plugins directory (usually "wp-content/plugins/").
  3. Activate the plugin on the plugins page of your WordPress installation.

Getting started

For the creation of new Woodlets themes we recommend to use "Woodlets-CLI" instead of starting from scratch. It might also be a good idea to take a look at the "Woodlets Example"-Theme., (*8)

Create a theme manually

  1. Be sure the Woodlets plugin is installed and activated.
  2. Create a new theme (as the WordPress documentation says it should at least contain style.css and index.php)
  3. Put the following lines into your index.php:, (*9)

    <?php
    do_action('neochic_woodlets_render_template');
    

    The action neochic_woodlets_render_template initializes the template rendering., (*10)

  4. Activate your new theme.
  5. Create your first page template with at least one column. Learn how to create your own page templates.
  6. Create your first Woodlets widget. Learn how to create custom widgets.
  7. Add your new widget to the allowed widgets configuration of your page template column.
  8. Create or edit a page and use your new page layout to test your widget in backend and frontend.

Further Reading:

The Versions

28/01 2018

dev-master

9999999-dev

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

13/11 2017

v0.6.9

0.6.9.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

08/11 2017

v0.6.8

0.6.8.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

29/09 2017

v0.6.7

0.6.7.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

20/09 2017

v0.6.6

0.6.6.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

04/09 2017

v0.6.5

0.6.5.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

04/09 2017

v0.6.4

0.6.4.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

18/08 2017

v0.6.3

0.6.3.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

29/06 2017

v0.6.2

0.6.2.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

29/06 2017

v0.6.1

0.6.1.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

11/05 2017

v0.6.0

0.6.0.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

24/04 2017

v0.5.8

0.5.8.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

14/04 2017

v0.5.7

0.5.7.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

07/04 2017

v0.5.6

0.5.6.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

07/04 2017

v0.5.5

0.5.5.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

06/04 2017

v0.5.4

0.5.4.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

04/04 2017

v0.5.3

0.5.3.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

30/03 2017

v0.5.2

0.5.2.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

30/03 2017

v0.5.1

0.5.1.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

29/03 2017

v0.5.0

0.5.0.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

26/02 2017

v0.2.6

0.2.6.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

04/11 2016

v0.2.5

0.2.5.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

28/09 2016

v0.2.4

0.2.4.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

26/09 2016

v0.2.3

0.2.3.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

14/09 2016

v0.2.2

0.2.2.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

27/07 2016

v0.2.1

0.2.1.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

27/07 2016

v0.2.0

0.2.0.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

17/06 2016

v0.1.9

0.1.9.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

17/06 2016

v0.1.8

0.1.8.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

15/06 2016

v0.1.7

0.1.7.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

15/06 2016

v0.1.6

0.1.6.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

07/06 2016

v0.1.5

0.1.5.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

07/06 2016

v0.1.4

0.1.4.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

07/06 2016

v0.1.3

0.1.3.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

03/06 2016

v0.1.2

0.1.2.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

27/05 2016

v0.1.1

0.1.1.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

25/05 2016

v0.1.0

0.1.0.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

21/12 2015

v0.0.6

0.0.6.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

21/12 2015

v0.0.5

0.0.5.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

26/08 2015

v0.0.4

0.0.4.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

26/08 2015

v0.0.3

0.0.3.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

26/08 2015

v0.0.2

0.0.2.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget

26/08 2015

v0.0.1

0.0.1.0

Create WordPress Widgets using Twig Templates

  Sources   Download

MIT

The Requires

 

wordpress twig widget