Skip to content

Custom shortcodes for SilverStripe Shortcodable module

License

Notifications You must be signed in to change notification settings

fractaslabs/silverstripe-shortcodable-codes

SilverStripe Shortodable codes 4.0

Latest Stable Version Latest Unstable Version Total Downloads License

Overview

Couple of Rich-media content embeds based on Shortcodable module.

Available Shortcodes:

  • Facebook (posts, video)
  • Iframe
  • Instagram (posts, video)
  • Twitter (posts, video)
  • Vimeo
  • YouTube

Requirements

  • SilverStripe CMS & Framework 4+
  • SilverStripe Shortcodable 4

Installation

  • Install via Composer
composer require fractas/shortcodable-codes "2.x-dev"
  • Choose and add which Shortcodes you wanna enable via YAML configuration:
---
Name: shortcodable-codes
---
Shortcodable:
  shortcodable_classes:
    - Fractas\ShortcodableCodes\FacebookShortcode
    - Fractas\ShortcodableCodes\IframeShortcode
    - Fractas\ShortcodableCodes\InstagramShortcode
    - Fractas\ShortcodableCodes\TwitterShortcode
    - Fractas\ShortcodableCodes\VimeoShortcode
    - Fractas\ShortcodableCodes\YoutubeShortcode
  • Run dev/build with ?flush=1

CMS user usage

See Docs

Bugtracker

Bugs are tracked on github.com

Licence

See Licence