Craft CMS filter that replaces a token in your content with the site url
PHP
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
getinfofilter also replacing ascii versions of brackets May 26, 2017
.gitignore initial commit May 26, 2017
LICENSE Initial commit May 26, 2017
readme.md added readme May 26, 2017

readme.md

GetInfo Filter

Install

Place the getinfofilter folder in your craft/plugins folder and activate it.

Usage

In entry content use the token {getinfo:siteurl} and then in your templates add the getInfo filter to turn that token into the site url:

{{ entry.body | getInfo | raw }}