• Resolved Amy

    (@ontherye)


    Currently, the “comments” link appears above the post’s content. I would like it to display BELOW the posts’ content (above the tags/categories line). Could you please show me which lines of code need to be moved (and in which PHP file) to move the “comments” link down to the bottom of a post? Thanks for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • content.php is the file. mine is so modified at this point i can’t even tell you where to look in yours but look for these lines.

    <div class="below-title-meta">
    		<div class="adt">
    		<?php _e('By','themonic'); ?>
            <span class="author">
             <?php echo the_author_posts_link(); ?>
            </span>
             <span class="meta-sep">|</span>
             <?php echo get_the_date(); ?>
             </div>
    		 <div class="adt-comment">
    		 <a class="link-comments" href="<?php  comments_link(); ?>"><?php comments_number(__('0 Comment','themonic'),__('1 Comment'),__('% Comments')); ?></a>
             </div>
         </div>

    move that down so it’s right before <footer class="entry-meta">

    what you probably are wanting to do is ONLY have the comments below. in that case use only this part (and remove it from the earlier section):

    <div class="below-title-meta">
    		 <div class="adt-comment">
    		 <a class="link-comments" href="<?php  comments_link(); ?>"><?php comments_number(__('0 Comment','themonic'),__('1 Comment'),__('% Comments')); ?></a>
             </div>
         </div>
    Thread Starter Amy

    (@ontherye)

    @bmos – Thank you! thank you so much for your help! The second code is exactly what i’m looking for! =)

    Thread Starter Amy

    (@ontherye)

    I will mark this as resolved. Thx again for your help!

    I moved the code below from its original position in an attempt to move comment link. I was trying to follow steps given by member bmos-3 wks ago from 8/4/2014 The attempt failed and as a result all I have left is the header of the of my the theme and my menu below my title. I would like to put it back in its original position but I did make a memo of that position can anyone help me get theme back? Appreciate the feed back Thanks.

    In response to my last question I found the answer simply reading my original question and by placing that string of code back under the end of the header string of code Thanks anyway guys I guess I will just have to live with the comment link at the top of my pages and post

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Move "comments" link to bottom of post’ is closed to new replies.