* Tag template for the Now Reading plugin. * * @package Suffusion * @subpackage NowReading */ global $nr_book_query; get_header(); ?> <div id="main-col"> <?php suffusion_before_begin_content(); ?> <div id="content"> <?php suffusion_after_begin_content(); ?> <div class="post fix nr-post"> <h1 class="posttitle">Books tagged with <?php the_tag(); ?></h1> <div class="bookdata fix"> <?php if( can_now_reading_admin() ) { ?> <div class="manage"> <span class="icon"> </span> <a href="<?php manage_library_url(); ?>"><?php _e('Manage Books', 'suffusion');?></a> </div> <?php } ?> </div> <div class="booklisting">
<div id="content" class="narrowcolumn primary now-reading"> <div class="post"> <?php if( can_now_reading_admin() ) : ?> <p>Admin: » <a href="<?php manage_library_url() ?>">Manage Books</a></p> <?php endif; ?> <p><a href="<?php library_url() ?>">← Back to library</a></p> <?php library_search_form() ?> <p>Viewing books tagged with “<?php the_tag(); ?>”:</p> <?php if( have_books("tag={$GLOBALS['nr_tag']}&num=-1") ) : ?> <ul> <?php while( have_books("tag={$GLOBALS['nr_tag']}&num=-1") ) : the_book(); ?> <li><a href="<?php book_permalink() ?>"><?php book_title() ?></a> by <a href="<?php book_author_permalink() ?>"><?php book_author() ?></a></li> <?php endwhile; ?> </ul> <?php else : ?>
<?php } ?> <p><a href="<?php library_url(); ?> ">← Back to library</a></p> <?php library_search_form(); ?> <p>Viewing books tagged with “<?php the_tag(); ?> ”:</p> <?php if (have_books("tag={$GLOBALS['nr_tag']}&num=-1")) { ?> <ul> <?php while (have_books("tag={$GLOBALS['nr_tag']}&num=-1")) { the_book(); ?> <li><a href="<?php