2017 © Pedro Peláez
 

craft-plugin dewidow

A Twig filter for Craft CMS 3 to remove text widows

image

peteheaney/dewidow

A Twig filter for Craft CMS 3 to remove text widows

  • Wednesday, January 24, 2018
  • by peteheaney
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 10 % Grown

The README.md

DeWidow plugin for Craft 3

A Twig filter for Craft 3 to remove text widows., (*1)

By replacing the space between the last two words in a string with  , this filter will prevent widows on any field containing text., (*2)

Requirements

This plugin requires Craft 3., (*3)

Installation

To install the plugin:, (*4)

  1. open your terminal and go to your Craft project:, (*5)

    cd /path/to/project, (*6)

  2. tell Composer to load the plugin:, (*7)

    composer require peteheaney/dewidow
    
  3. In the Control Panel, go to Settings → Plugins and click the "Install" button for DeWidow., (*8)

Using DeWidow

Simply add the dewidow filter to any field containing text and it will remove widows from the text., (*9)

{{ myTextField | dewidow | raw }}

The Versions

24/01 2018

dev-master

9999999-dev

A Twig filter for Craft CMS 3 to remove text widows

  Sources   Download

MIT

The Requires

 

cms craftcms craft-plugin craft dewidow widow

24/01 2018

1.0.0

1.0.0.0

A Twig filter for Craft CMS 3 to remove text widows

  Sources   Download

MIT

The Requires

 

cms craftcms craft-plugin craft dewidow widow