MY DESERT LOVE
All Things Inspired By Desert Living & Loving ~ Big Bend Country, Far West Texas ~ Graphic Designs

My WordPress World: Moving the Comment Box to the Top of the Comment List


“Dear WordPress Diary . . .

Moving the Comment Box to the Top - My WordPress Diary _ MyDesertLove.com
Finally figured out how to move the comment box above the comments!”

Warning: just a little bit of css coding . . . and quite a bit of amateur winging it.

I have been making changes – flying on the seat of my pants. Or however the phrase goes.
* Disclosure: I am always wrong with idioms. Just warning you as you follow my train of thought. *
No formal training OR budget in my court, so when something irks me about my theme or when I encounter something intriguing on another’s, I go in search for tips online.
** Another disclosure: I have crashed my site once with cut and paste nonsense. And I had to start over a second time when I clicked “update” and my css edits all went bye-bye. This is where I suspect that “do it to your child theme” lesson comes to play. Still a little murky there. **
All the time I spent searching and getting frustrated – then those a-ha moments! — I should definitely keep track of those already! Maybe to help anyone else out there on the same mind-boggling journey or to keep track of things for my own brain’s sake.
A little bit of the former, with a ton of weight on the latter.

Getting feedback via comments has been so much fun – as long as they’re real, meaning not from spammers. Every time I use that “spam” or “spammers” – I feel so bad for that luncheon meat. Just sayin’.
Back to the ever so lovely comment . . . I post my eager reply and all is warm and rosy in my WordPress World. Then wackily enough I get a few more. Life is good. My posts are my little projects – and it always jolts me a little when I get a reply and realize “Whoa – someone other than me is actually reading what I put together!” Then I have to revisit my baby, my little post, with fresh eyes. I scroll down and there are the lovely and generous comments and my silly replies.

You keep scrolling and when you get a few comments and replies lined up, “Whoa [again] – that’s way down there!”
Why is the “Post a Reply” box after the comments?

I have posted comments plenty of times – just spur of the moment when I encounter a post that I am so grateful for, but I am a mommy-entrepreneur with very limited time on my hands. I very rarely read the comments that are already posted. Maybe for DIY projects – if there is a question that I need clarified or if I’m looking for feedback to make up my mind whether to try something or not. For the most part, I am spurred to respond or inquire and would just overlook all the prior comments. And as a blogger – I like responding to individual comments/feedback and do not keep a running comment log of each of my posts when I encounter one. So, I approach each one anew.
Again, why is my “Leave a Reply” located at the very . . .

very . . .

bottom?

I googled this for the longest time. Read SO many, many WordPress forum discussions that lead me to nothing but confusion and frustration.
“Such a simple thing! Dude, what is going on?!”
It would be time to take a breather. Close all my browsers and avoid the question for a few days. I had new blogs to read and quite a few of them had their “Reply Here” where I wanted mine to be, but I didn’t want Disqus or any other comment plug-in, because I tried those downloads before and had a hard time getting my comment and reply archive to transfer.
Trading in a seemingly simple problem for yet a slew of more complicated ones – pass!
One night I was in a calm state of mind, sitting on my new futon, I decided to type in “WordPress moving comment box to the top” and one of the top forum discussion links gave me the answer that I had been hoping against all hope for!!
*** My full disclosure: I am an amateur at this. This is primarily my diary of my a-ha moments, so follow my path with eyes wide open. I would suggest doing a search for “wordpress making changes to child theme”. This part of the curve is still murky to me. I need to jump in and do this one day soon, but my brain is a little too flummoxed at the moment to take it in.

My Steps to Moving the Comment Entry Box to the Top of the Comment List
1. Go to Appearance –> Editor –> comments.php
2. Locate the code for the comment entry box and cut and paste above the comment list.
If you scroll through the css here you will notice that the “comment list” aka “comment-list” in css speak is listed nearly at the top of the coding, which makes sense since that is where it appears. Here’s what the code for the comment entry box looks like:

<div id=”comments” class=”comments-area”>

<?php // You can start editing here — including this comment! ?>

<?php if ( have_comments() ) : ?>
<h2 class=”comments-title”>
<?php
printf( _nx( ‘One thought on &ldquo;%2$s”’, ‘%1$s thoughts on &ldquo;%2$s”’, get_comments_number(), ‘comments title’, ‘blogghiamo’ ),
number_format_i18n( get_comments_number() ), ‘<span>’ . get_the_title() . ‘</span>’ );
?>
</h2>

I just highlighted to cut and paste (Control-X, Control-P) above “<ol class=”comment-list>” — and clicked on “Update File”. Believe you-me, I always cringe when I do this. Then open my site to see what the damage is and thankfully my WordPress World is still up and running and the change I made came through!

There’s my a-ha moment.

Inside I did a little happy dance.

My little graphic designer brother is cursing me right now, shaking his head at all my shenanigans, but this is my diary and I can work it the way I want. I blame it on Nike.

Tell me I’m crazy. I can’t afford therapy, so it would be a public service.

Here’s a sneak peak at my Desert Wish List for when I’ve got a little budget for a little book larnin’:

@ 2017 Vi Dotter/My Desert Love Designs & Blog All Rights Reserved.

Ending image for other Blog Posts You May Enjoy on MyDesertLove.com
and as always Sharing is Caring . . .

10 Comments

  1. Nicole Escat
    March 13, 2016    

    Worth reading this, feels so dizzy because of the codes lol just kidding! I will sab\ve this. Thanks!

  2. Rosey
    March 13, 2016    

    I’m glad you found your answer. Sometimes walking away does help you refresh and then you find what you need. 🙂

  3. Laci
    March 13, 2016    

    Yes !!! Finally wow live this post and the how to thanks I’m on it !

  4. March 13, 2016    

    I have another website that uses WordPress. I haven’t done much with that website lately.

  5. March 13, 2016    

    It’s great that you decided to take the leap and learn how to change something on your site yourself. Not a lot of people are confident enough to wing it, but when you do, awesome things can happen. Good for you!
    Holly @ Woman Tribune recently posted…Are You Sleep Deprived? 5 Tips for Consistent Restful SleepMy Profile

  6. Lawrence
    March 12, 2016    

    I really need to try that. Just to see if it works. I will probably end up screwing this up too. You’re not alone.

  7. Lexie Lane
    March 12, 2016    

    Worth reading this, thank you for sharing! I will save this.

  8. March 12, 2016    

    Brilliant. Good for you for figuring it out. I find some of the wordpress coding very complicated.

  9. March 12, 2016    

    Thanks for sharing such useful WordPress suggestions! I’ll also check these books out! Love how you modified the famous Nike quote, Just do it-and do it again! So true!
    Eugenia recently posted…Best way to communicate joy!My Profile

  10. March 12, 2016    

    This is great. I hate scrolling ALL THE WAY down to add my comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge

Hello from Big Bend Texas on MyDesertLove.com

Follow

My Desert Ramblings topic header on MyDesertLove
My Topics Uniquely Big Bend at MyDesertLove.com
My Topics Desert Inspirations on MyDesertLove.com
My Topics Desert News on MyDesertLove.com
My Topics Desert Flora and Fauna on MyDesertLove.com
My Topics Desert Fashion Inspiration on MyDesertLove.com
home 02
My Topics Crafts in my desert inspirations on MyDesertLove.com
home 04
flourish on My Desert Love Blog

♥ ♥ ♥ SUBSCRIBE ♥ ♥ ♥

Arrow
Arrow
PlayPause
ArrowArrow
Slider

flourish on My Desert Love Blog Shop Soft Surroundings Now!flourish on My Desert Love Blog

flourish on My Desert Love Blog

flourish on My Desert Love Blog entirelypets flourish on My Desert Love Blog CLICK HERE flourish on My Desert Love Blog
Shutterfly 50 Free Prints 300x250
flourish on My Desert Love Blog
All Natural Vitamin C Serum
flourish on My Desert Love Blog

 

In the desert, let's just go with the flows . . . ... See MoreSee Less

View on Facebook

So relaxing - but oops *warning: creepy crawlers aplenty . . . ... See MoreSee Less

View on Facebook