Created
June 27, 2011 10:34
-
-
Save mattboon/1048651 to your computer and use it in GitHub Desktop.
Nav of hell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<?php for ($i=6;$i<13;$i++): ?> | |
<li<?= $root_page_id==$i ? ' class="current"' : '' ?>> | |
<a href="<?= get_permalink($i); ?>"<?= $i==6 ? ' accesskey="0"' : '' ?>> | |
<?= get_the_title($i); ?> | |
</a> | |
</li> | |
<?php endfor; ?> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment