• Resolved cwmills

    (@cwmills)


    Hello I would like to know how to move the “Leave a reply” link from the top of my posts to the bottom of the posts. Also I would like to have less space between the title of the post and the actual post, as well as little space between the bottom of the post and the “Leave a reply” link, I’m also going to consider changing “Leave a reply” to “Leave a comment”.

    My website is http://www.cryptorushnews.com, I have a child header and css file already setup, thanks for any help in advance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter cwmills

    (@cwmills)

    Placing the “Leave a reply” link at the bottom of the posts rather than at the top was pretty easy, I found this snippet on another forum. So I added the below to my child CSS sheet and it worked.

    #content .post {
        position: relative;
    }
    
    #content .comments-link {
        position: absolute;
        bottom: 1em;
    }
    
    #content .post {
        padding-bottom: 3em;
    }

    As for changing the text “Leave a reply” with “Leave a Comment”, I found on another topic the following code that replaces,

    <?php comment_form(); ?>

    In a child comments.php file with,

    <?php comment_form(array(
       'title_reply' => 'Leave a Comment',
    )); ?>

    Which worked for others but has not worked for me, any advice from the pros?

    Leave a reply is at the bottom of each post now.
    In Chrome use developer tools to find out what css controls what you want to change. Copy that, paste it into your child css and make the changes.

    Thread Starter cwmills

    (@cwmills)

    Thanks kmessinger,

    I was able to find some CSS from a post on another forum that moved the link to the bottom of the post and it worked. I also found some code I applied to the comments.php child file that was supposed to change the link to read “Leave a Comment” but that did not work.

    I’m not familiar with Chrom developer tools and I’m fairly new to html and css, but I will definitely check it out. Thanks again!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Thread Starter cwmills

    (@cwmills)

    Wow that magnifying glass tool is awesome, I’m still a little confused and overwhelmed on it all but I’ve only skimmed the article that Andrew posted.

    How can I use the dev tools to figure out how to change “Leave a reply” to “Leave a comment”? I believe what I changed in my comments.php child file should be working but its not.

    On a side note (off topic), is there a way I can tag moderators or other members in my posts? For example can I somehow tag Andrew above so that he knows this comment is in reply to him? Thanks!

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    The modlook tag should only be used for posts that need moderation, not for notifications. We use it so that people can point out spam and such, and it sends notifications to all the moderators. Please don’t use it in this way, it should only be used to point out forum problems.

    If you reply to somebody, and they have notifications enabled, they will get an email about it. You don’t need to do anything special.

    Thread Starter cwmills

    (@cwmills)

    Ok, I must have misread what the modlook tag is for. My apologies. Thanks!

    Thread Starter cwmills

    (@cwmills)

    I was able to move the “Leave a reply” link to the bottom of my posts. For some reason it still reads “Leave a reply” instead of “Leave a Comment”, does anyone know what I’m doing wrong?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Twenty Twelve theme, how do I place "leave a reply" at the bottom of the post?’ is closed to new replies.