FREELessons: 17Length: 2.3 hours

Next lesson playing in 5 seconds

  • Overview
  • Transcript

3.4 Managing WordPress Comments

You are now at the halfway point in this WordPress for beginners course, so big thanks for sticking around! I hope you've found all the information so far useful.

Now, let’s talk about managing WordPress comments. Originally, WordPress was released as a blogging platform. As we all know, a blog is basically a collection of posts. A visitor reads those posts and can then attach a message to a specific post. These messages are called comments. And even though WordPress has grown to be so much more than just a blogging platform, a comment system is still available.

So in this lesson you’ll learn what comments are all about and also how to manage WordPress comments. Let’s begin.

3.4 Managing WordPress Comments

Welcome to lesson number eight; you are now at the halfway point in this course. So big thanks for sticking around so far and I hope all the information that you got so far is useful to you. Now, let's talk about comments, originally Wordpress came out as a Blogging platform. And as we all know, a Blog is basically a collection of posts. Users can read those posts, and can leave a message to each one. Those messages are called comments. Now even though WordPress has evolved in all this time, and it's now so much more than just a blogging platform, a comment system is still available. So in this lesson you learn what comments are all about, and also how to manage these inside WordPress. Let's begin. Let's start by opening our front end. And going to a post, for example, Hello world! Right here, in this metadata section, we see that we have one comment. And to get to the comments, we can either scroll down until we find them right here. Or we can simply click this link and it's gonna take us to the comments section. So a comment, as I was saying earlier, is a message attached to a specific post. And that message can be added by the author of the post or by any other person. In here, this is the author and this is the date and time at which that message was added. And by the way, this is a message that already came with WordPress by default. This is the body of the comment. And for each one, we have the option to edit. Clicking on Edit will take us to the backend, where we can edit the name, the email, the URL, and also the body of that comment. Or since we're on the front end, we can also reply to a comment. So click in Reply, we can add our own comment, our own message, in reply to that comment. So we're gonna post that. And right now we have a new comment made by admin, which is us, this is the date and time. This was just posted and our comment body. And we can go even further and we can reply to this again and again and again. Now what you see here is called a gravata. And a gravatar display an avatar that's added based on our email address. So I'm registered on the Gravatar website with my email address and with this avatar. So this is what shows up here. This commenter has this avatar. And actually a very nice piece of information here is that on this comments section right here on the top, we can see the avatars of the people who commented and also the number of comments. And we can also find that piece of information right here at the top. Now, if you want to add another comment which is not a reply to any of the existing comments, we can simply use this section right here where it says leave a comment. So let's leave another comment, post. And now we have a third comment, made by us that's displayed right here. Now, the way comments are being added is slightly different depending on whether or not you are logged in. So currently I'm logged in as Admin. So all my information like Email address and name are already saved. But what if it was someone who is not yet registered with WordPress or with this website like a regular visitor. Well, let's say how that would look like for him. So I'm going to copy this, and I'm gonna open an incognito window or a private window, And I'm gonna paste that in. Now notice, we have a couple of differences here. First of all, we don't have that blackboard top. That's because we're not logged in. Second, we don't have the options to edit the comments right here, or the page itself. The admin usually has those options. See, when I'm logged in, I have the option to edit this page and also edit these comments. Well here, for a regular visitor, those options are not available. The regular visitor just sees those comments as they are. And also a bigger difference is how a visitor leaves a comment. So, of course we have the comment box but also we need to give him a name and an email address and optionally, a website. So let's go ahead and do that right now. Let's give it a name on the email. Let's just do a random email address and website, my We have the option to tell WordPress to save our name, email and website in this browser. That's gonna create a cookie. So we don't have to fill this in every time we want to leave a comment. So post a comment, okay? And it tells us look, we have the, the name, our name here Adi. For the avatar, we just have this placeholder because for that email address that we entered, there isn't a gravatar associated. And it tells us that your comment is awaiting moderation. So that means that when I go back to my dashboard, under comments, as an admin of course, we can see that we have a new comment made by Adi with this website and with this email address, and of course the comment itself. We can see to which post this comment was applied to, and also the date of submission. And from here as an admin, I have the option to approve it and that's gonna be displayed on the website. I have the option to reply, I have the option to edit that comment, but also mark it as Spam or send it to Trash. So if I approve the comment, and I go back here and I do a refresh, you'll see that this comment is now public and can viewed by anyone. If at some point I decide, okay, I want to delete that comment or simply unapprove it, I can go come back to my comments area, and I can click on Approve. And now that comment, If we do a refresh, oops, Is again marked for moderation. And is not, visible to the general public. And that's it for working with comments really. It's very, very simple. These work just as well for pages if a page has the comments approved, okay? So let's go back to pages, on our sample page, right here on the right side, under discussion, we can check allow comments update. Now I can open up my page, and right at the bottom, we have our comments. I'm gonna say, yellow or Hello, Post comment. And now we have a comment that's attached to a page instead of a post. And that's it for comments. Now, one of the key features in WordPress is represented by sidebars and widgets. So, in the next lesson you'll learn what's side bars and widgets are all about and also how to add and remove widgets from your website. See you there.

Back to the top