Forums
-
- Forum
- Posts
-
- Installation
- 28,255
- Troubleshooting
- 61,821
- Themes
- 10,310
- Plugins
- 15,225
- Requests & Feedback
- 14,831
- Showcase
- 3,252
-
A lazy short circuit solution which makes the first displayed entry in a loop appear different:
$special="specialClass normalClass";
for {
echo ... class="$special" ...
$special="normalClass";
}
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS