WordPress.org

Support

Support » Plugins and Hacks » Now Reading Plugin

Now Reading Plugin

  • I installed the Now Reading plugin today and am in love with it, but I can’t figure out how to add another library page with a list of all the books I’ve read. For instance, if you go to my library right now, I have it set to randomly show 25 books. But I also want the option for people to see all the books I’ve read in list form, like Viitoria has done underneath her “Recently Completed Reads” section here.

    Any ideas for how to do this? If you know please share!

Viewing 1 replies (of 1 total)
  • Maybe you’ve already solved it but what the heck…! 😉

    Make sure you can run php in posts and pages and create a page with this in it:

    (this particular one gives you all books and ordered by author)

    <?php if( have_books('orderby=author&num=-1') ) : ?>
    
    		<ul class="library">
    
    			<?php while( have_books('orderby=author&num=-1') ) : the_book(); ?>
    
    				<li class="library">
     <a href="<?php book_permalink() ?>"><strong><?php book_title() ?></strong></a><br />av <a href="<?php book_author_permalink() ?>"><?php book_author() ?></a>
    				</li>
    
    			<?php endwhile; ?>
    
    			</ul>
    
    		<?php else : ?>
    
    			<p>Inget</p>
    
    		    <?php endif; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Now Reading Plugin’ is closed to new replies.
Skip to toolbar