Conditional statements
-
Is it possible to create something like this inside this widget…??
<ul> <li <?php if ('body.home') { ?>class="selected"<?php } ?>>home<li> <li <?php if ('body.about') { ?>class="selected"<?php } ?>>about<li> ... </ul>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Conditional statements’ is closed to new replies.