Posts 2 Posts
Nothing happening when I use the Post 2 Post Widget (2 posts)

  1. Alicia St Rose
    Posted 2 years ago #

    Don't know what I'm missing, but I'm dragging the widget into the sidebar and I get nothing. I can see all my connections in the dropdown and I've chosen the one I want to display. Do I need to do something in the functions.php to make this work?



  2. tedinoz
    Posted 2 years ago #

    Sounds like you have registered a connection type, otherwise you wouldn't be able to see your connections.

    Have you put any code in your template to show the connections? In the documentation there is a section called "Displaying connected pages/posts". I think you need to play around with this.

    FWIW, I have some code at the bottom of my template to show posts that are part of a multi-part article.
    The code looks like this..

    $multipart = do_shortcode('[p2p_connected type="Multipart Article"]');
     echo "<h3>Related articles</h3>";
     echo $multipart;


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Posts 2 Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic