Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.38 KB

readme.md

File metadata and controls

38 lines (25 loc) · 1.38 KB

Sample extension for the Tailor page builder for WordPress

This sample extension is intended to be used an an example for developers.

Features

This extension:

  1. Registers a new custom content element.
  2. Registers a new custom wrapper element (including custom JavaScript view).
  3. Registers a new custom container element.
  4. Registers a new custom child element, for the custom container.
  5. Modifies default setting values for sections and buttons.
  6. Adds a custom control for button elements.
  7. Adds a visibility condition for an existing button control, based on the value of the new custom control.

If you have questions about how to extend Tailor or would like to see an example use case added to this extension, please get in touch in one of the following ways:

  1. Facebook
  2. Twitter
  3. The Help Center

Changelog

1.1.0

  • Added - Simple demonstrations of the element and setting JS APIs.
  • Improved - Element rendering functions (in line with Tailor 1.7.0+).

Note: Tailor version 1.7.0 (or newer) is required to use this sample extension.

1.0.1

  • Added - Filter to modify the rendered HTML of a given element.
  • Improved - The selector for element child containers can now be specified when registering the element.

1.0.0

  • Initial version