Support » Plugin: Yet Another Related Posts Plugin (YARPP) » [Plugin: Yet Another Related Posts Plugin] Related posts showing at end of post, but not on sidebar

Viewing 4 replies - 1 through 4 (of 4 total)
  • Most likely this is some interaction between the related posts widget and the “original investigations” widget you have. Is the issue fixed if you move related posts above that other widget?

    I will try. The Original Investigations widget is the ExecPHP widget.

    Wow. It worked. I wonder why. Could it be some of the PHP code I have in the widget?

    What made you suspect the PHP widget?

    🙂 Glad that was it.

    The widget clearly runs its own WP_Query. Most likely what YARPP was doing then was displaying related posts based not on the main post you’re displaying, but based on that last post displayed under Original Investigations.

    If you want to keep the original placement, you would need to rewrite the Original Investigations display to use something like get_posts or its own WP_Query instance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] Related posts showing at end of post, but not on sidebar’ is closed to new replies.