EE 1
EE 2
nth
Developer
3rd Party (Free)
1 downloads (last 90 days)
Compatibility
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Better Workflow
- Matrix
Requirements
- jQuery for the Control Panel
Categories
Plugin
Tags
nth allows you to dynamically assign a class name to nth elements in an EE weblog.
The following example will add the class “last_one” to every 4th entry in the “some-content” weblog.
{exp:nth class=“last_one” interval=“4”}
<ul>
{exp:weblog:entries weblog=“some-content”}
<li class=”{nth}”>{title}</li>
{/exp:weblog:entries}
</ul>
{/exp:nth}
Download nth
| EE Version | Downloads | Add-On Version | Release Date |
|---|---|---|---|
| 1.x | Download |
nth Links
This entry was created July 29, 2010, 11:54 am.
This entry was last updated July 29, 2010, 4:57 am.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
1 Review:
Derek Hogue 01.13.11
Simple and essential for floated items in a grid. Beats using unwieldily {switch} arguments.