• Resolved niya

    (@niya)


    Hi, I’m using the Wheat-lite theme and I’ve been able to customize pretty much everything without any problems, but there are 2 parts that I just can’t find.

    1. When I’m on the index page and I click the comment link in my post, I see this part under the post, but above the comments and comment form, that I want to get rid of but don’t know how. It’s below:

    Posted in Site Updates | Edit

    This entry was posted on Friday, November 13th, 2009 at 7:25 pm and is filed under Site Updates. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.
    ?Twilight Saga: New Moon – Trailer 1

    2. Also the title format has changed and is now linked. I don’t want that either.

    Any help would be appreciated. Thanks!!!

    You can view the page here

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi niya,

    Is there a comments.php in your theme?

    “Posted in Site Updates” are the post-metadata

    and the rest is in the div with the class ping-track

    you have to take these lines out of the template that generates them, probably comments.php or maybe singe.php

    Thread Starter niya

    (@niya)

    Hiya! I checked in the single post and was able to get rid of the hyperlink. Thanks for that! ??

    Yes, I do have a comments.php page. There was this section that I thought might be the pingback line, but when I removed it, all the comments went away. Do I need to change the coding a bit, you think? Code is below!

    <div id="comments" class="post-1">
    <?php if ($comments) : ?>
    			<?php /* Count the totals */
    				$numPingBacks = 0;
    				$numComments  = 0;
    				foreach ($comments as $comment) {
    					if (get_comment_type() != "comment") {
    						$numPingBacks++;
    					} else {
    						$numComments++;
    					}
    				}
    			?>
    
    			<?php if ($numComments != 0) : ?>
    Thread Starter niya

    (@niya)

    Oh wait! I think I found it. Is this it?

    <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit'); ?></p>
    			</div>
    
    					<div class="ping-track clear">
    						This entry was posted
    						on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    						and is filed under <?php the_category(', ') ?>.
    						You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.
    
    						<?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 href="<?php trackback_url(); ?>" 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 href="<?php trackback_url(); ?> " 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 } ?>
    					</div>

    The only problem is that I don’t know what the delete and what not to. I’m still playing around with it.

    Thread Starter niya

    (@niya)

    I got it!!!

    Thanks so much, henkholland! ??

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