dekodeinteraktiv/hogan-embed

oEmbed Module for Hogan

Installs: 10 579

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 11

Forks: 0

Open Issues: 2

Type:wordpress-plugin

1.2.1 2018-09-20 12:49 UTC

This package is auto-updated.

Last update: 2024-04-25 23:06:02 UTC


README

Installation

Install the module using Composer composer require dekodeinteraktiv/hogan-embed or simply by downloading this repository and placing it in wp-content/plugins

Available filters

  • hogan/module/embed/template for overriding the default template file.
  • hogan/module/embed/wrapper_tag for outer HTML wrapper tag, default <section>
  • hogan/module/embed/wrapper_classes for outer HTML wrapper CSS classes.
  • hogan/module/embed/inner_wrapper_classes for inner HTML <figure> wrapper classes.

Content field

  • hogan/module/embed/content/allowed_html for allowed oEmbed HTML.

Caption field

  • hogan/module/embed/caption/enabled for enabling caption field, default true.
  • hogan/module/embed/caption/tabs for TinyMCE editor tabs, default all.
  • hogan/module/embed/caption/allow_media_upload for allowing TinyMCE editor media upload, default 0.
  • hogan/module/embed/caption/toolbar for TinyMCE editor toolbar, default hogan.