This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
Omphaloskepsis/sidebar.php

27 lines
1.1 KiB
PHP
Raw Normal View History

2018-03-21 18:19:20 +00:00
<?php
/**
2021-01-09 11:13:06 +00:00
* The template for the sidebar.
*
* @package WordPress
* @subpackage Omphaloskepsis
* @since Omphaloskepsis 1.0
*/
2018-03-21 18:19:20 +00:00
?>
<nav class="col-2" id="sidebar">
<ul id="sidebar-list">
2021-01-09 11:13:06 +00:00
<li <?php echo $wp->request == 'blog' ? 'class="current"' : ''; ?>>
2018-03-21 18:19:20 +00:00
<a href="/blog">Blog</a>
<a href="/feed"><i class="fa fa-rss"></i></a>
2021-01-09 11:13:06 +00:00
</li>
<li><p>~</p></li>
<li <?php echo $wp->request == 'website' ? 'class="current"' : ''; ?>><a href="/website">Websites</a></li>
<li <?php echo $wp->request == 'program' ? 'class="current"' : ''; ?>><a href="/program">Programs</a></li>
<li <?php echo $wp->request == 'writing' ? 'class="current"' : ''; ?>><a href="/writing">Writings</a></li>
<li <?php echo $wp->request == 'video' ? 'class="current"' : ''; ?>><a href="/video">Videos</a></li>
<li <?php echo $wp->request == 'other' ? 'class="current"' : ''; ?>><a href="/other">Other</a></li>
<li><p>~</p></li>
<li <?php echo $wp->request == 'experience' ? 'class="current"' : ''; ?>><a href="/experience">Experience (by organisation)</a></li>
2018-03-21 18:19:20 +00:00
</ul>
</nav>