elbee-elgee / now-reading / tag.php

The default branch has multiple heads

<?php get_header(); ?>

<div class="content">
	<div id="content" class="narrowcolumn primary now-reading">
	<div class="post">
	<?php if( can_now_reading_admin() ) : ?>
		<p>Admin: &raquo; <a href="<?php manage_library_url() ?>">Manage Books</a></p>
	<?php endif; ?>
	<p><a href="<?php library_url() ?>">&larr; Back to library</a></p>
	<?php library_search_form() ?>
	<p>Viewing books tagged with &ldquo;<?php the_tag(); ?>&rdquo;:</p>
	<?php if( have_books("tag={$GLOBALS['nr_tag']}") ) : ?>
		<?php while( have_books("tag={$GLOBALS['nr_tag']}") ) : 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; ?>
	<?php else : ?>
		<p>Sorry, but there were no search results for your query.</p>
	<?php endif; ?>
	<?php do_action('nr_footer'); ?>

<?php get_sidebar() ?>

<?php get_footer() ?>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.