Skip to content

Enclavely/tailor-sample-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An example of how to extend Tailor using a WordPress theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published