Support » Fixing WordPress » How To Move ‘Comment’ link to bottom of post

  • Resolved zuluboy005

    (@zuluboy005)


    Hi. I’m using WP version 2.8.1 and I have dfblog as my theme.
    How do I move the ‘Comments’ link to the bottom of each post?
    OR, how can I ADD a ‘leave a comment’ link to the bottom of every post?

    thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • //how can I ADD a ‘leave a comment’ link to the bottom of every post?//

    Is it not available in the theme?

    You can use this wherever you want it to appear:

    <?php comments_template(); ?>

    S.K

    sorry. I’m new to all this. so I went back to my blog and went to the HTML view of my recent post and scrolled to the bottom and pasted it in, but nothing has changed?

    No. That is not the way. I think you may need a detailed howto.
    I’ll try to have a look into the theme and come back.
    What is the URL (web address) of your blog?

    S.K

    I checked up the theme. You have the comment box at the end of posts in single page. what exactly is your requirement?

    S.K

    Go to your index.php and locate this line

    <?php df_get_postmetadata( array( “date”, “author”, “comment” ), ‘span’ ); ?>

    Delete the part that reads “comment” leaving it like this

    <?php df_get_postmetadata( array( “date”, “author”, ), ‘span’ ); ?>

    Now scrol down and locate the line that reads

    <?php df_get_postmetadata( array( “category”, “tag”, “edit”, ), ‘span’ ); ?>

    Add “comment” after the “edit” tag thus

    <?php df_get_postmetadata( array( “category”, “tag”, “edit”, “comment” ), ‘span’ ); ?>

    P.S: You will need to the same for the single.php for uniformity.

    You may remove the comma after the “author” in this row:

    <?php df_get_postmetadata( array( "date", "author", ), 'span' ); ?>

    S.K

    Thanks guys!

    Is there possibly a plugin that does this for us?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How To Move ‘Comment’ link to bottom of post’ is closed to new replies.