Title: [Plugin: Now Reading Reloaded] single.php
Last modified: August 19, 2016

---

# [Plugin: Now Reading Reloaded] single.php

 *  [rolfissler](https://wordpress.org/support/users/rolfissler/)
 * (@rolfissler)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-now-reading-reloaded-singlephp/)
 * With the most recent upgrade of the plugin, I’m having problems getting the single.
   php file to behave correctly. The page content and images aren’t being displayed
   on the page.
 * See [http://www.rolfissler.com/blog/?now_reading_author=seth-godin&now_reading_title=tribes](http://www.rolfissler.com/blog/?now_reading_author=seth-godin&now_reading_title=tribes)
 * The only thing that I’ve changed is the div tags so that it will work with my
   theme. Other than that no code has been changed.
 * Any ideas?
 * Here’s what I have:
 *     ```
       <?php get_header(); ?>
   
       <div id="content">
   
       <?php include(TEMPLATEPATH."/breadcrumb.php");?>
   
       <?php sidebar_alt(); ?>
   
       	<?php sp_content_div(); ?>
   
       		<?php if( have_books(intval($nr_id)) ) : ?>
       			<?php while ( have_books(intval(nr_id)) ) : the_book(); ?>
   
                                                       <?php if( can_now_reading_admin() ) : ?>
       			<?php endif; ?>
   
       			<div class="post">
       			<h2><?php book_title() ?></h2>
       			By <a href="<?php book_author_permalink() ?>"><?php book_author() ?></a>
   
       			<p><a href="<?php book_permalink() ?>"><img src="<?php book_image() ?>" alt="<?php book_title() ?>" align="left" /></a></p>
   
       			<h3>Review</h3>
   
       				<p><strong>Rating:</strong> <?php book_rating() ?></p>
   
       				<?php book_review() ?>
       			<?php if( !is_custom_book() ): ?>
       				<p>You can buy this book at <a href="<?php book_url() ?>">Amazon</a>. (Affiliate Link)</p>
       			<?php endif; ?>
   
       			<?php if( book_has_post() ): ?>
       				<p>This book is linked with the post <a href="<?php book_post_url() ?>">&ldquo;<?php book_post_title() ?>&rdquo;</a>.</p>
       			<?php endif; ?>
   
       			<p>Tags: <?php print_book_tags(1) ?></p>
   
       			<?php endwhile; ?>
   
       		<?php else : ?>
   
       			<p>That book doesn't exist!</p>
   
       		<?php endif; ?>	
   
       		</div>
       		<?php do_action('nr_footer'); ?>
   
           </div>
   
       <?php include(TEMPLATEPATH."/sidebar.php");?>
   
       </div>
   
       <?php get_footer(); ?>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [bgunnink](https://wordpress.org/support/users/bgunnink/)
 * (@bgunnink)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-now-reading-reloaded-singlephp/#post-1329832)
 * Try changing your first line to `<?php get_header(); global $nr_id; ?>`
 * Did you accidentally remove the `global $nr_id;` part when you were editing?
 *  Thread Starter [rolfissler](https://wordpress.org/support/users/rolfissler/)
 * (@rolfissler)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-now-reading-reloaded-singlephp/#post-1329849)
 * Thanks. That fixed it.
    Must have inadvertently edited that out.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Now Reading Reloaded] single.php’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [rolfissler](https://wordpress.org/support/users/rolfissler/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/plugin-now-reading-reloaded-singlephp/#post-1329849)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
