Templates for Widgets not working
-
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.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Templates for Widgets not working’ is closed to new replies.