WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Related Posts
[resolved] Related Posts showing in Attachment Pages, Error Text Bug (5 posts)

  1. iansimpao
    Member
    Posted 1 year ago #

    Related Posts show up in the attachment page, when I believe they shouldn't because attachment pages aren't posts.

    Sample attachment page: http://raceyourself.ph/2011/03/21/downhill-mtb-madness/vca-2010-race-run/

    This is different from the actual image, which is not in a page but just shows up in the browser.

    Image media for the same attachment: http://raceyourself.ph/wp-content/uploads/2011/03/vca-2010-race-run.jpg

    As you'll also see at the top of the attachment page, there's some extra text showing up because of related posts. Not sure if this is being caused by a conflict with another plugin, or because I'm using Photon CDN in WordPress Jetpack. I believe that taking the related posts out of attachment pages should solve this problem.

    http://raceyourself.ph/2011/03/21/downhill-mtb-madness/vca-2010-race-run/

    This is the extra text that appears on the top of the page.

    Warning: array_fill() [function.array-fill]: Number of elements must be positive in /hermes/waloraweb027/b1800/moo.raceyourselfph/wp-content/plugins/wordpress-23-related-posts-plugin/recommendations.php on line 184
    
    Warning: implode() [function.implode]: Invalid arguments passed in /hermes/waloraweb027/b1800/moo.raceyourselfph/wp-content/plugins/wordpress-23-related-posts-plugin/recommendations.php on line 184
    
    Warning: array_fill() [function.array-fill]: Number of elements must be positive in /hermes/waloraweb027/b1800/moo.raceyourselfph/wp-content/plugins/wordpress-23-related-posts-plugin/recommendations.php on line 190
    
    Warning: implode() [function.implode]: Invalid arguments passed in /hermes/waloraweb027/b1800/moo.raceyourselfph/wp-content/plugins/wordpress-23-related-posts-plugin/recommendations.php on line 190

    http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/

  2. xdaseinx
    Member
    Plugin Author

    Posted 1 year ago #

    Hi!

    The new version should _only_ work on posts!
    http://downloads.wordpress.org/plugin/wordpress-23-related-posts-plugin.zip
    Here is the development version. The proper one should be out soon, too.

    Best,
    Rok

  3. iansimpao
    Member
    Posted 1 year ago #

    Hi xdaseinx! Thanks for sending me the latest development version. I tried and it seems it fixes the extra text bug I mentioned in the first post in this thread, but the related posts are still showing up on the attachment pages.

    Check it out here:

    http://raceyourself.ph/2011/03/21/downhill-mtb-madness/vca-2010-race-run/

  4. jureham
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    I uploaded version 2.1.1 to dev channel that should fix the problem with attachments.
    Download it from here:
    http://downloads.wordpress.org/plugin/wordpress-23-related-posts-plugin.zip

    Best, Jure

  5. iansimpao
    Member
    Posted 1 year ago #

    Installed the latest version and it looks like it's fixed already. Thanks jureham!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic