Title: [Plugin: Posts 2 Posts] Typo on main example
Last modified: August 19, 2016

---

# [Plugin: Posts 2 Posts] Typo on main example

 *  Resolved [Michael Dance](https://wordpress.org/support/users/seventhsteel/)
 * (@seventhsteel)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-typo-on-main-example/)
 * There’s a typo in the code example on [http://wordpress.org/extend/plugins/posts-to-posts/](http://wordpress.org/extend/plugins/posts-to-posts/).
   It’s small but it will break your page if you just copy/paste.
 * `while( $connected->have_posts() ) $connected->the_post();`
 * should read
 * `while( $connected->have_posts() ) : $connected->the_post();`

Viewing 1 replies (of 1 total)

 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-typo-on-main-example/#post-2010973)
 * Thanks for the heads-up!
 * Corrected version should appear in about 15 minutes.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Posts 2 Posts] Typo on main example’ 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, 2 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-typo-on-main-example/#post-2010973)
 * Status: resolved