WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do I change comment link? (5 posts)

  1. Evan Mode
    Member
    Posted 1 year ago #

    Hi,
    I'm fairly new at this and English is not my first language so forgive me if I might sound amateur.
    Anyway, I have a blog that I'm pretty satisfied with. One thing that's been buggin' me though is that I have a really dull comment link. I only have a link (below the post title) that says "leave a reply". I was just wondering if there's a way to spice it up, do I need to install a plugin or switch theme completely to change it? I'll gladly take any tips
    This is my site http://www.evan-mode.com
    and I'm running on Twenty Twelve theme.
    Regards

  2. What you could do is style that link to be a bit different or look more like a button.

    If you use a plugin like http://wordpress.org/extend/plugins/my-custom-css/ or if you have jetpack installed, you may have custom CSS option, then you can just style it differently.

    If you look in the HTML source, you'll see that there's a class called "comments-link" which you can use to jazz it up.
    You can even use a tool like this button maker - http://css-tricks.com/examples/ButtonMaker/#

  3. alchymyth
    Forum Moderator
    Posted 1 year ago #

    if you want to change more than just the formatting, you should really start with creating a child theme to make the customisation with;

    http://codex.wordpress.org/Child_Themes

    then edit content.php and adjust the texts in this line:

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

    (if you are using post formats, you might also need to edit some of the other content-{???}.php files)

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

  4. Evan Mode
    Member
    Posted 1 year ago #

    Wow, that's alot to take in. Thanks both of you, I'll return if I stumble upon more problems.
    Regards

  5. Evan Mode
    Member
    Posted 1 year ago #

    Actually the issue is not resolved just yet. So I went to the button maker site and I got a long string of codes. Where do I paste it in?

Topic Closed

This topic has been closed to new replies.

About this Topic