gisela01 0 Report post Posted May 19, 2011 Hi. I just installed the "Related" plugin. They say: "To display the related posts, simply add: <?php echo $related->show(get_the_ID()); ?> to your template, inside the WordPress loop" I'm new at this and haven't found a way to do this... Any help please? Thanks Share this post Link to post Share on other sites
ricardo 0 Report post Posted May 19, 2011 Hi Gisela! First know what the loop is so you can recognize it in the template.postloop.php file. http://codex.wordpress.org/The_Loop Then copy that file from platformpro to platformbase and add that php code where ever you want *inside* the loop. Ricardo Share this post Link to post Share on other sites
gisela01 0 Report post Posted June 7, 2011 Hi Ricardo. Thanks for your answer. I recognized the loop and identified the Post and Page Content. I placed the line <?php echo $related->show(get_the_ID()); ?> but the single post page wont display what I expected. In fact, once I paste the code line, The right columns, the share icons, comments, etc. disappear Thanks again Share this post Link to post Share on other sites
cmunns 16 Report post Posted June 7, 2011 Do you have a link..you may be breaking the html of the page? Share this post Link to post Share on other sites
gisela01 0 Report post Posted June 8, 2011 Hi Adam, I had to edit the plugin code a bit. This is what we placed inside the loop (both posts lists and single post page) and it works great <?php the_excerpt(); global $related; echo $related->show(get_the_ID()); ?> Thanks! Share this post Link to post Share on other sites