Variable Modifiers
In this video, we will explore ExpressionEngine’s native variable modifiers, and create our blog snippet loop.
What We Do
- Explore existing variable modifiers, and talk about uses
- Add in a variable modifier
Code Snippets
Adding a Character Limit
<p class="mt-3 text-base leading-6 text-gray-500">{blog_content:attr_safe limit="150"}</p>
Links
- ExpressionEngine Variable Modifiers: https://docs.expressionengine.com/latest/templates/variable-modifiers.html
- See all of the site build in action in the Learn EE git repository
Comments 0
Be the first to comment!