<?php
if(isset($_GET["p"])) /* We check if the ID of the post exists */
{
/* We write the link to pop-up comments */
print("Clic here for see comments");
}
?>
If you get any kind of errors, just post again.
De nada 😉
(Traslation: You are welcome)
I’ll try to do and test a code you can use for show pop-up comments in your Permalink page.
Stay tuned.
[Hint: si(existe variable p)
{
escribir “sitio/wp-comments-popup.php?p=”.variable p.”
}]
Yes, WordPress uses the same template for the post page, but when you use any class of Perma-link, “the loop” will show just one post.
The loop is the bit of code that use WordPress for show the posts (and their comments, if you request a permalink), and the search’s results
You put the include after <?php trackback_rdf(); ?> and before <?php endforeach; else: ?>.
And the include is…:
<?php include(ABSPATH . 'wp-comments.php'); ?>
That’s all.
(If you need more help, just ask =))