Title: [Plugin: phpbb_recent_topics] editing sidebar.php
Last modified: August 19, 2016

---

# [Plugin: phpbb_recent_topics] editing sidebar.php

 *  [shivamaster](https://wordpress.org/support/users/shivamaster/)
 * (@shivamaster)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-phpbb_recent_topics-editing-sidebarphp/)
 * hi !
 * Thank you for this plugin ! I need help for editing sidebar.php from suffusion
   style.
 * I cant’ find exactly the way to paste the code, could you help me for editing
   it ?
 *     ```
       <?php
       /**
        * Widget template for the Now Reading plugin.
        *
        * @package Suffusion
        * @subpackage NowReading
        */
   
       global $nr_book_query, $suffusion_unified_options;
       foreach ($suffusion_unified_options as $id => $value) {
       	$$id = $value;
       }
   
       $lib_order = suf_get_entity_order($suf_nr_wid_order, 'nr');
       $lib_order = explode(',', $lib_order);
   
       ?>
       <div class="now-reading">
       <?php
       if ($suf_nr_wid_search_show == 'top') {
       	library_search_form();
       }
       foreach ($lib_order as $entity) {
       	if ($entity == 'current' && $suf_nr_wid_curr_show == 'show') {
       ?>
   
       	<h4><?php echo stripslashes($suf_nr_wid_curr_title);?></h4>
       <?php
       		if( have_books('status=reading') ) {
       			while(have_books('status=reading')) {
       				the_book();
       ?>
       	<a href="<?php book_permalink() ?>"><img src="<?php book_image() ?>" alt="<?php echo esc_attr(book_title(false)); ?>" title="<?php echo esc_attr(book_title(false)); ?> by <?php echo esc_attr(book_author(false)); ?>"/></a>
       <?php
       			}
       		}
       		else {
       ?>
       				<p><?php echo stripslashes($suf_nr_no_books_text);?></p>
       <?php
       		}
       	}
       	else if ($entity == 'unread' && $suf_nr_wid_unread_show == 'show') {
       ?>
       	<h4><?php echo stripslashes($suf_nr_wid_unread_title);?></h4>
       <?php
       		if( have_books('status=unread') ) {
       			while(have_books('status=unread')) {
       				the_book();
       ?>
   
       	<a href="<?php book_permalink() ?>"><img src="<?php book_image() ?>" alt="<?php echo esc_attr(book_title(false)); ?>" title="<?php echo esc_attr(book_title(false)); ?> by <?php echo esc_attr(book_author(false)); ?>"/></a>
       <?php
       			}
       		}
       		else {
       ?>
       				<p><?php echo stripslashes($suf_nr_no_books_text);?></p>
       <?php
       		}
       	}
       	else if ($entity == 'completed' && $suf_nr_wid_completed_show == 'show') {
       ?>
       	<h4><?php echo stripslashes($suf_nr_wid_completed_title);?></h4>
       <?php
       		if(have_books('status=read&orderby=finished&order=desc')) {
       			while(have_books('status=read&orderby=finished&order=desc')) {
       				the_book();
       ?>
       	<a href="<?php book_permalink() ?>"><img src="<?php book_image() ?>" alt="<?php echo esc_attr(book_title(false)); ?>" title="<?php echo esc_attr(book_title(false)); ?> by <?php echo esc_attr(book_author(false)); ?>"/></a>
       <?php
       			}
       		}
       		else {
       ?>
       				<p><?php echo stripslashes($suf_nr_no_books_text);?></p>
       <?php
       		}
       	}
       }
       if ($suf_nr_wid_search_show == 'bottom') {
       	library_search_form();
       }
       ?>
       	<p><a href="<?php library_url() ?>">View full Library</a></p>
   
       </div>
       ```
   
 * I can’t find `<div id="sidebar">` please help me !
 * Thank you so much !
 * [http://wordpress.org/extend/plugins/phpbb-recent-topics/](http://wordpress.org/extend/plugins/phpbb-recent-topics/)

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

 *  [bsflarva](https://wordpress.org/support/users/bsflarva/)
 * (@bsflarva)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-phpbb_recent_topics-editing-sidebarphp/#post-1887605)
 * I have the same question. Is this not the best place to ask?
 *  Thread Starter [shivamaster](https://wordpress.org/support/users/shivamaster/)
 * (@shivamaster)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-phpbb_recent_topics-editing-sidebarphp/#post-1887606)
 * Like you see i never had any answers…
 *  Plugin Author [linickx](https://wordpress.org/support/users/linickx/)
 * (@linickx)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-phpbb_recent_topics-editing-sidebarphp/#post-1887607)
 * Hello,
 * There’s not a lot of detail to what your problem is, i.e. paste what code?, what
   are you trying to do?
 * Have you tried contacting the suffusion style developer?
 * Cheers,
    Nick

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

The topic ‘[Plugin: phpbb_recent_topics] editing sidebar.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/phpbb-recent-topics_867975.svg)
 * [phpbb_recent_topics](https://wordpress.org/plugins/phpbb-recent-topics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/phpbb-recent-topics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/phpbb-recent-topics/)
 * [Active Topics](https://wordpress.org/support/plugin/phpbb-recent-topics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/phpbb-recent-topics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/phpbb-recent-topics/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [linickx](https://wordpress.org/support/users/linickx/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-phpbb_recent_topics-editing-sidebarphp/#post-1887607)
 * Status: not resolved