WordPress.org

Support

Comments Box

Viewing 4 replies - 1 through 4 (of 4 total)
  • You could check if the comment script is called twice in the theme, maybe?

    fouldsy99

    @fouldsy99

    I have this on single.php, just was not sure what to take out.

    I have tried numerous ways but it gave me errors:

    <?php comments_template(); ?>
    
    							<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    								// Both Comments and Pings are open ?>
    								You can <a href="#respond">leave a response</a>, or <a>" rel="trackback">trackback</a> from your own site.
    
    							<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    								// Only Pings are Open ?>
    								Responses are currently closed, but you can <a> " rel="trackback">trackback</a> from your own site.
    
    								<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    								// Comments are open, Pings are not ?>
    								You can skip to the end and leave a response. Pinging is currently not allowed.
    
    							<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    								// Neither Comments, nor Pings are open ?>
    								Both comments and pings are currently closed.
    
    							<?php } edit_post_link('Edit this entry','','.'); ?>
    						</div><!--/post-<?php the_ID(); ?>-->
    
    				<?php comments_template(); ?>
    
    				<?php endwhile; ?>
    
    				<?php endif; ?>

    [please use the code button to mark any posted code – http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

    fouldsy99

    @fouldsy99

    Please delete this post, should have option to delete own posts.

    Was trying out the code option to post code.

    Michael

    @alchymyth

    Forum Moderator

    it is general forum policy not to delete posts or topics –

    http://codex.wordpress.org/Forum_Welcome#Deleting_.2F_Editing_Posts

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comments Box’ is closed to new replies.
Skip to toolbar