Forums
-
- Forum
- Posts
-
- Installation
- 28,255
- Troubleshooting
- 61,798
- Themes
- 10,301
- Plugins
- 15,221
- Requests & Feedback
- 14,830
- 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