comicpress-theme-core/partials/nav.inc

10 lines
538 B
PHP
Raw Normal View History

<div class="nav">
<?php foreach (apply_filters('comicpress_nav_fields', array()) as $field => $link_text) { ?>
<?php if ($nav_comics['show_' . $field]) { ?>
<div class="nav-<?php echo $field ?>">
<a href="<?php echo (is_object($nav_comics[$field])) ? get_permalink($nav_comics[$field]->ID) : $nav_comics[$field] ?>"
title="<?php sprintf(__('Go to the %s comic', 'comicpress'), $field) ?>"><?php echo apply_filters('comicpress_nav', $link_text, $field) ?></a>
</div>
2009-07-29 02:38:20 +00:00
<?php } ?>
<?php } ?>
</div>