Forums

Posts 2 Posts
[resolved] Typo on main example (2 posts)

  1. Michael Dance
    Member
    Posted 1 year ago #

    There's a typo in the code example on 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();

  2. scribu
    Member
    Posted 1 year ago #

    Thanks for the heads-up!

    Corrected version should appear in about 15 minutes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic