Forums

[resolved] How To Move 'Comment' link to bottom of post (9 posts)

  1. zuluboy005
    Member
    Posted 3 months ago #

    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!

  2. kichu
    Member
    Posted 3 months ago #

    //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

  3. zuluboy005
    Member
    Posted 3 months ago #

    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?

  4. kichu
    Member
    Posted 3 months ago #

    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

  5. kichu
    Member
    Posted 3 months ago #

    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

  6. ZGani
    Member
    Posted 3 months ago #

    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' ); ?>

  7. ZGani
    Member
    Posted 3 months ago #

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

  8. kichu
    Member
    Posted 3 months ago #

    You may remove the comma after the "author" in this row:

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

    S.K

  9. zuluboy005
    Member
    Posted 3 months ago #

    Thanks guys!

Reply

You must log in to post.

About this Topic