Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Hassle Free Excerpts/Extracts For ExpressionEngine 3 and 4 πŸŽ‰πŸ’»

License

Notifications You must be signed in to change notification settings

adamisntdead/Excerpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

8 Commits

Repository files navigation

An excerpt creation plugin for Expression Engine 3 & 4 πŸŽ‰

This is a rebuild of the hacksaw plugin and bbd_chopper - compatible with EE 3 & 4.

It allows you to create small excerpts of any html content with ease.

It can strip HTML content, append something (like ...) to the end, and let you cutoff by words, characters or a cutoff point.

Installation

  • Download as a zip.
  • Unzip to a folder, such as excerpt.
  • Move folder to system/user/addons or your setup's equivilent.
  • Install via control panel.

Usage

To use Excerpt, just wrap your content with the {exp:excerpt} tag:

{exp:excerpt}
<h1>Some</h1> Amazing
<strong>Content!</strong>
{exp:excerpt}

Which will be turned into Some Amazing Content!.

To use the other options, the following parameters are supported:

{exp:excerpt
 chars = "" // Limit number of characters
 words = "" // Limit number of words
 cutoff = "" // Cutoff at a given string
 append = "" // Add something to the end (eg. append="...")
 allow = "" // Allow certain HTML tags (eg. allow="<p>")
}

License

MIT - Copyright (c) 2018 Adam Kelly

About

Hassle Free Excerpts/Extracts For ExpressionEngine 3 and 4 πŸŽ‰πŸ’»

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /