Title: [Plugin: Posts 2 Posts] Hide current post listing in single.php
Last modified: August 19, 2016

---

# [Plugin: Posts 2 Posts] Hide current post listing in single.php

 *  [ivosiliev](https://wordpress.org/support/users/ivosiliev/)
 * (@ivosiliev)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-hide-current-post-listing-in-singlephp/)
 * The plugin is awesome, but I have two problems when using it. I’ll be very glad
   if someone can help me with this.
 * I’m using this code in single.php:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * The problem is that I get a listing of all connected posts, but including the
   main post.

Viewing 1 replies (of 1 total)

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-hide-current-post-listing-in-singlephp/#post-1923693)
 * Maybe you have the post connected to itself somehow.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Posts 2 Posts] Hide current post listing in single.php’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-to-posts_7a8e9d.svg)
 * [Posts 2 Posts](https://wordpress.org/plugins/posts-to-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-to-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-to-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-to-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-to-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-to-posts/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [scribu](https://wordpress.org/support/users/scribu/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-hide-current-post-listing-in-singlephp/#post-1923693)
 * Status: not resolved