Support » Themes and Templates » [Resolved] comment link at bottom of post

[Resolved] comment link at bottom of post

  • When reading posts on the home page, I see that there is a comment count at the top of a post (if there are comments). However, I want my readers to be able to click a link at the end of the post to leave a comment without having to scroll back to the top. Can you tell me how to do this? I’m using the disqus comment system.

    Thanks for this theme!

Viewing 13 replies - 1 through 13 (of 13 total)
  • To make a comment they don’t have to scroll to the top, they only have to scroll a bit to the bottom, where the comment form is located 😉

    Unless you put a bunch of additional content there… a live example would be a good way to understand what is the problem.

    Sorry, I guess I’m not making myself clear. The comment form isn’t shown unless the individual post is opened. However, to open the post, you have to scroll all the way back to the top. So, is there a way to add a “leave a comment” link at the end of a post to provide an easy way to access the individual post and comment form?

    Ok, so I just guess that you use older version of the theme, because in newer ones, that link next to the post title “leave a comment” is hidden if there are no comments. So you see, if there are no comments even scrolling to the top would not help 🙂

    I would suggest to not encourage readers read articles on the index wall or category listing. In the edit screen of the post you could place your cursor where you want to cut the post and click MORE button. This way your index page would not be overloaded with long content and users would read articles where they should do this. Plus in the individual post view font is larger, so it is easier to read.

    Would you like to try it?

    See my site: mtomas.com for an example.

    I don’t have a “leave a comment” link at the top. It only shows comment count after a comment is there.

    I understand the option of adding a “read more” link to cut the article short. However, just based on personal preference, I don’t like when blogs make me click to read more. Is there a simple way to access the comment form from the end of a post?

    You would have to edit function tinyforge_entry_meta located in functions.php and insert there something like:

    <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'tinyforge' ) . '</span>', __( '1 Comment', 'tinyforge' ), __( '% Comments', 'tinyforge' ) ); ?>

    This way comments count would be in the same area with cats, tags, etc. I’m not sure if it is an easy way though… probably not.

    Or maybe easier would be to edit content.php file and insert:

    <?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
    					<span class="meta-separator">•</span> <?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'tinyforge' ) . '</span>', __( '1 Comment', 'tinyforge' ), __( '% Comments', 'tinyforge' ) ); ?>
    				<?php endif; // have comments ?>

    In the <footer class="entry-meta"> right after <?php tinyforge_entry_meta(); ?>

    Awesome! It worked. Thank you for the very specific instructions.

    One last question… When an individual post is open, and has no comments, it says “leave a reply” at the top of a post, but when clicked, the link doesn’t take you to the bottom. Any ideas? It doesn’t show up on the home page, only when the individual post is opened.

    Perhaps article is very short? Then it scrolls only until page end. On my site it works as intended.

    No, it doesn’t scroll down at all (the article was quite long). Maybe it’s just not working together with disqus. The link there is http://www.mysite.com/?p=48#respond whereas the other comment links go to http://www.mysite.com/?p=48#disqus_thread

    So that’s the issue with the plugin. You have to ask developer of that plugin how you should alter code I provided, so it would point to comments.

    Ok, thanks again for your help.

    Hi, I’m having the same trouble with moving my comments to the bottom of the page. And I’m afraid that I don’t have any knowledge of code, and my site is simply one of the Free wordpress ones, and all my comments are at the top of each post, so by the time you get to the bottom of them, there is no place to comment (or you have to scroll allll the way to the top to do so, which I think is deterring people)

    Do you have any ideas about how to fix this in a way that an HTML illiterate person could understand? I’ve had hundreds of clicks on my site and after like, 1500 on a particular post, I realized that I should be getting more comments, but was not. I think this is the reason.


Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Resolved] comment link at bottom of post’ is closed to new replies.