• Hi scribu

    First of all, thanks for this great plugin.

    I would like to use a different template for the Widget (the “default style” widget shows up with the correct content in it).

    In order to use a template, I followed your explanations on https://github.com/scribu/wp-posts-to-posts/wiki/Actions-and-filters.
    The template I created gets found by p2p but the widget shows up empty (the widget title shows up but the content (the connected posts) is empty). I even used the below markup you provide on github to test it, but still no luck.

    <div>
      <?php the_post_thumbnail(); ?>
      <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
    </div>

    Do you have any idea where the issue could be?

    Thanks for your help.

    http://wordpress.org/plugins/posts-to-posts/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Would you show the rest of the code you are using in the ‘different’ template?

    Ted

    Also not working wp 3.8.1 for a child theme

    Manijero.com, could you be a bit more specific than “not working”?

    In any event, are you saying that it does work for the parent, just not for the child?

    Ted

    I can not change the default style and behavior, neither in child or parent.

    Manijero.com

    1 = Would you show your code for registration of the connection? Is this in the parent or child?
    2 = Also show the code for the output/rendering in the template?

    Ted

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Templates for Widgets not working’ is closed to new replies.