예제 #1
0
<div id="main-col">
<?php 
suffusion_before_begin_content();
?>
	<div id="content">
<?php 
suffusion_after_begin_content();
?>
		<article <?php 
post_class('post nr-post');
?>
>
			<header class="post-header">
				<h1 class="posttitle"><?php 
echo the_book_author(false);
?>
</h1>
			</header>

			<div class="bookdata fix">
<?php 
if (can_now_reading_admin()) {
    ?>
				<div class="manage">
					<span class="icon">&nbsp;</span>
					<a href="<?php 
    manage_library_url();
    ?>
"><?php 
    _e('Manage Books', 'suffusion');
예제 #2
0
			
		<?php 
}
?>
		
		<?php 
library_search_form();
?>
		
		<p><a href="<?php 
library_url();
?>
">&larr; Back to library</a></p>
		
		<h2>Books by <?php 
the_book_author();
?>
</h2>
		
		<?php 
if (have_books("author={$GLOBALS['nr_author']}&num=-1")) {
    ?>
			
			<ul>
			
			<?php 
    while (have_books("author={$GLOBALS['nr_author']}&num=-1")) {
        the_book();
        ?>
				
				<li>
예제 #3
0
 * Author 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"><?php echo the_book_author(false); ?></h1>

			<div class="bookdata fix">
<?php
if( can_now_reading_admin() ) {
?>
				<div class="manage">
					<span class="icon">&nbsp;</span>
					<a href="<?php manage_library_url(); ?>"><?php _e('Manage Books', 'suffusion');?></a>
				</div>
<?php
}
?>
			</div>
			<div class="booklisting">
<?php
예제 #4
0
	
	<div id="content" class="now-reading primary narrowcolumn">
	
	<div class="post">
		
		<?php if( can_now_reading_admin() ) : ?>
			
			<p>Admin: &raquo; <a href="<?php manage_library_url() ?>">Manage Books</a></p>
			
		<?php endif; ?>
		
		<?php library_search_form() ?>
		
		<p><a href="<?php library_url() ?>">&larr; Back to library</a></p>
		
		<h2>Books by <?php the_book_author() ?></h2>
		
		<?php if( have_books("author={$GLOBALS['nr_author']}&num=-1") ) : ?>
			
			<ul>
			
			<?php while( have_books("author={$GLOBALS['nr_author']}&num=-1") ) : the_book(); ?>
				
				<li>
					<p><a href="<?php book_permalink() ?>"><img src="<?php book_image() ?>" alt="<?php book_title() ?>" /></a></p>
					<p><?php book_title() ?></p>
				</li>
				
			<?php endwhile; ?>
			
			</ul>