julielasalle
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Fixing WordPress
In reply to: Adding comments to a popup window.Even better. This is what you want.
<div id="pagecomments"> <?php comments_template(); ?> </div>
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <small class="date"><?php the_time('F jS, Y') ?></small> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> <small>Posted by <?php the_author() ?> <!----></small> <div class="entry"> <?php the_content('<br />Read the rest of this entry »'); ?> </div> <div id="pagecomments"> <?php comments_template(); ?> </div> <p class="postmetadata"><!--Posted in <?php the_category(', ') ?> |--> <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments', '1 Comment', '[%] Comments'); ?></p> </div> <?php endwhile; ?>
Forum: Fixing WordPress
In reply to: Adding comments to a popup window.Hello,
I may have the beginning of an answer.I have the same problem. When I click on the comments ling, it does not work. It just loads another page with no comments.
I started yesterday with WP and jumped right in designing my own templates. I am following the good advices of Tessa Blakeley Silver in WordPres Theme Design.
She suggests that we change the name of the single.php page. I read somewhere else in the forum that the problem might be coming from the single.php page. So I gave it it’s original name and Voila! the comments are now functionning. The template for it is not working properly but the comments form is available.
Hope this helps.
Julie
Viewing 2 replies - 1 through 2 (of 2 total)