Netscape/Opera Navigation Bar support
-
Hi,
I have a small suggestion for changing the default template (index.php). Opera und Netscape implemented this nice Navigation Bar feature (for more information look at scriptygoddess and at the W3C spec).
By adding the following lines to index.php in the HEAD block the navigation bar will come alive:
<link rel="contents" href="<?php echo $siteurl; ?>/wp-archives.php" />
<link rel="home" href="<?php echo $siteurl; ?>" />
<?php if ($p || $m || $author || $s) { ?>
<link rel="up" href="<?php echo $siteurl; ?>" />
<?php } ?>
Now “Home”, and “Contents” will always be active and “Up” will be active after a user selected a date, a month, a person, an entry or searched for something. If a separate search page would be included in the wp page it could be linked as well.
Oh, the “Contents” entry wp-archives.php is a hack which can be found in the hacks section.
- The topic ‘Netscape/Opera Navigation Bar support’ is closed to new replies.