secreci.com

Wordpress 'Now Reading' Plugin

Published: Tue, 07 Jul 2009 19:05:59 GMT

A quick note on amending the template files for the Wordpress 'Now Reading' plug-in to work with the LightWord theme. (Tested on version 2.8 only)
As per Rob's excellent documentation, the problem is in the following section of the default Now Reading templates:

<div class="content"> 
<div id="content" class="narrowcolumn primary now-reading">
<div class="post">

I followed his instructions and the problem was solved easily:

  1. Create a now-reading directory in your Lightword theme directory and copy the default templates into the new folder (\wp-content\themes\LightWord\now-reading\)
  2. Edit author.php, library.php, search.php, single.php and tag.php (sidebar.php already works) as follows:

Once in each file, in the first few lines, change:

 <div id="content" class="now-reading primary narrowcolumn">

To read:

<div id="content-body" class="now-reading primary narrowcolumn">

That's all there is to it.

Hopefully this will be of use to someone - if it is, leave me a comment to let me know!

Comments

lesault: I'm glad I managed to save you a few minutes of frustration. Thanks for leaving me a comment to let me know it helped!
Jaime: It was useful to me =D. I use now reading reloaded and I just edited the files in /wp-content/plugins/now-reading-reloaded/templates as specified in your post and it works now.

Originally published on my blog at www.planetmediocrity.com

Home Icon of a house with a precipitous roof Home