Skip to content

milkyway-multimedia/ss-mwm-shortcodes

Repository files navigation

Shortcodes (Milkyway Multimedia)

There are some new shortcodes that have been registered (once shortcodes are controlled by YAML config, these can be disabled via that...). These are automatically plugged in to the awesome shortcodes module by sheadawson

  • [setting field=Title] : Display a field from Site Settings
  • [user field=Name default=Guest] : Display a field from the current logged in member
  • [google_fixurl] : Render the Google Fix URL javascript (good for 404 pages)
  • [current_page field=Title] : Display a field from the current page
  • [icon]mwm[/icon] : Use an icon (defaults to the font awesome set)

Install

Add the following to your composer.json file


    "require"          : {
		"milkyway-multimedia/ss-mwm-shortcodes": "~0.3"
	}

License

  • MIT

Version

  • Version 0.3 (Alpha)

Contact

Mellisa Hankins

About

Some additional shortcodes and related utilities for Silverstripe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published