Adding comments to a popup window.
-
I’ve successfully implemented WP into my current site and thanks to the following code have it displaying the top three posts. I’m wondering how I go about getting the comments section to work in a pop up window? Currently if someone clicks on comments when I add:
<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
then it just reloads the page with a slightly different extenstion:
https://tylerparrott.com/blog/?p=9#respond instead of https://tylerparrott.com/blogAny help would be appreciated. I’d like the ability to have people click on the comment link, have a pop-up come that allows them to see all comments and add to that list if they wish to (the addition should be in the same window).
<!-- Get the last 3 posts. --> <?php query_posts('showposts=3'); ?> <?php while (have_posts()) : the_post(); ?> <strong> <?php the_title(); ?> </strong> <?php the_date(); ?> <?php the_content(); ?> <div id="line"></div> <?php endwhile;?>
Thanks,
Tyler
- The topic ‘Adding comments to a popup window.’ is closed to new replies.