Title: [Plugin: Yet Another Related Posts Plugin] Posts in Sidebar
Last modified: August 19, 2016

---

# [Plugin: Yet Another Related Posts Plugin] Posts in Sidebar

 *  [Dusibello](https://wordpress.org/support/users/dusibello/)
 * (@dusibello)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-posts-in-sidebar/)
 * WP 2.9
    Thesis 1.6 YARP 3.3 (same issue with 3.6)
 * Am using the list template.
 * Related posts appear nicely at end of post. Good.
 * Related posts also appear as a widget in sidebar. Not good. Don’t want.
 * How to stop them showing up in sidebar in post view is tonight’s challenge..
 * Many thanks for a terrific plugin!

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

 *  Thread Starter [Dusibello](https://wordpress.org/support/users/dusibello/)
 * (@dusibello)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-posts-in-sidebar/#post-1450871)
 * p.s. I did not add the widget to the sidebar – the related posts seem to be forcing
   themselves to appear there?
 * I have since tried adding/removing the widget with no luck…
 *  [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * (@mitchoyoshitaka)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-posts-in-sidebar/#post-1450891)
 * [@dusibello](https://wordpress.org/support/users/dusibello/) Unfortunately I’ve
   never used Thesis myself before, so I’m not sure how it deals with widgets. YARPP
   offers a widget but does nothing to force itself into the sidebar… normally it
   must be manually added in the sidebar preferences.
 * I’ll tag this as thesis… maybe someone else can help.
 *  Thread Starter [Dusibello](https://wordpress.org/support/users/dusibello/)
 * (@dusibello)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-posts-in-sidebar/#post-1450952)
 * [@mitchoyoshitaka](https://wordpress.org/support/users/mitchoyoshitaka/) Thanks
   for the reply. I thought to turn off the ‘automatic’ display and manually add
   the code to run the plugin when viewing single posts, but Thesis does not have
   an editable single.php – you have to add custom functions, hooks, and other rather
   advanced business to a ‘custom_function.php’ file that I have little experience
   with… So am trying to sort that out over at the Thesis support forum, but so 
   far no help forthcoming there!
 * Thanks again!
 *  [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * (@mitchoyoshitaka)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-posts-in-sidebar/#post-1450958)
 * No problem. Hope you figure it out.
 *  Thread Starter [Dusibello](https://wordpress.org/support/users/dusibello/)
 * (@dusibello)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-posts-in-sidebar/#post-1451086)
 * Still working the issue…
 * If you have time to look, [here’s what is happening.](http://spart7.info/techblog/archives/1065)
 * Again, I have not added the widget to the sidebar – something is forcing it there.
 * Since I will never (!) want to use related posts in the sidebar, I wonder if 
   killing it might work? In other words, could I edit one of the plugin files to
   remove all references to the widget?
 *  Thread Starter [Dusibello](https://wordpress.org/support/users/dusibello/)
 * (@dusibello)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-posts-in-sidebar/#post-1451093)
 * Got this to work by
 * 1. Disabling the automatic insertion option in the YARPP console
 * 2. Getting help at the Thesis support forum to correctly add the YARPP function
   and the single post condition to the Thesis theme’s custom_functions.php file…
 * If any hapless soul in a similar spot of bother is seeking the same solution,
   here’s what worked for me:
 *     ```
       function show_yarp() {
           if ( is_single() && function_exists('related_posts') ) {
               related_posts();
           }
       }
       add_action('thesis_hook_after_post', 'show_yarp');
       ```
   
 * Thanks just the same for your help Mitcho – great work on a terrific plugin….
 *  [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * (@mitchoyoshitaka)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-posts-in-sidebar/#post-1451099)
 * Thanks [@dusibello](https://wordpress.org/support/users/dusibello/). Glad you
   got this working. 🙂

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

The topic ‘[Plugin: Yet Another Related Posts Plugin] Posts in Sidebar’ is closed
to new replies.

## Tags

 * [Thesis](https://wordpress.org/support/topic-tag/thesis/)

 * 7 replies
 * 2 participants
 * Last reply from: [mitcho (Michael Yoshitaka Erlewine)](https://wordpress.org/support/users/mitchoyoshitaka/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-yet-another-related-posts-plugin-posts-in-sidebar/#post-1451099)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
