WordPress.org

Support

Support » Themes and Templates » Add "See comments" link to the end of posts

Add "See comments" link to the end of posts

  • Hey
    My site is http://www.flymagpiefly.com and I would like to add a “See comments” link to the end of my posts. I know there’s a link to the comments in the header bar, but when you scroll to the end of a long post there’s no direction on where to go if you want to comment, unless you scroll all the way to the top. I just want to make a simple button that takes you to the comments for that post.
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • you want the link to be shown only in the single post ? simply add this in your single.php file , but make sure you find the suitable place fro it :

    <a href="/#respond" title="//">"See comments"</a>

    and style it anyway you want using CSS.

    Moderator Jan Dembowski

    @jdembowski

    You are not aware of it but please don’t put [Theme: Minamaze Pro] in the topic titles (now deleted). The forum will add that automatically if you post in the right place.

    But if you mean this theme

    Minimize Pro

    That’s not a theme that’s supported in these forums.

    Contact

    But don’t fret that for now: the link to the comments is generated by this code:

    http://codex.wordpress.org/Function_Reference/comments_link

    So in your theme file you could add this code where you want to

    <a href="<?php comments_link(); ?>">
        See comments
    </a>

    And that should do it. I suggest that you create and activate a child theme for that theme first and make your modifications in that child theme.

    http://codex.wordpress.org/Child_Themes

    Where to specifically add that code is something the theme author may be able to assist you with.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add "See comments" link to the end of posts’ is closed to new replies.