The Wayback Machine - https://web.archive.org/web/20241003061205/https://www.geeksforgeeks.org/wordpress-add-comments/
Open In App

WordPress Add Comments

Last Updated : 23 May, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

WordPress is a powerful platform for building websites, and one of its best features is the ability to add comments. Allowing comments on your WordPress site can greatly increase user engagement and interaction. This article will show you how to easily add comments in WordPress, helping you to build a more interactive and lively community. By learning how to enable WordPress comments and manage them effectively, you can create a more dynamic and engaging user experience.

How to Add Comments to WordPress Posts or Pages

WordPress allows users and visitors to add comments to their website posts and pages. Through comments, visitors can discuss with you or discuss with other visitors and authors.

Let’s see the steps to Add Comments to WordPress Posts or Pages Easily and Quickly:

Step 1: First go to the WordPress login panel and try to login into the WordPress Dashboard by providing the username and password. To access the login panel You can add ‘/wp-login.php’ at the end of your website URL.

WordPress Add Comments

WordPress Login Panel

After login into your own WordPress, you will be able to see a dashboard in a similar way to this:

WordPress Add Comments

WordPress Dashboard

Step 2: We have to search and open the Add Pages section under Pages. For that,

From the menu option on the left side of the WordPress page. Go to the Pages >> Add Pages.

WordPress Add Comments

Opening the Add Pages Section

After clicking on Add Pages section under Pages, you will see a similar Page like this as shown in the screenshot:

WordPress Add Comments

Page Section

Step 3: Now you have to choose the page to which you want to add the comments.

On each page, there is a “three-dot icon” button, click on that button for the page you want to add the comments then click on ‘Edit’ to add the comment to the Pages. Or you can directly click on the page you want to add a comment. 

WordPress Add Comments

After you select the page and open it for edit, you will see a similar screen as shown in the following screenshot:

WordPress Add Comments

Step 4: Now on the right side of the menu option, search for Discussion under the Page/ Block section.  Open the Discussion dropdown, there you find Allow Comment checkbox. Check the Allow Comment checkbox to allow the page to add the comments to them.

WordPress Add Comments

Discussion menu 1

WordPress Add Comments

Discussion menu 2

Step 5: After you select the Allow Comment checkbox, do not forget to click on the Update button on the pages to update the changes.

WordPress Add Comments

Step 6: After you make changes and click on the update button, you will receive a Page updated message with a View page link on the page. Click on the View page link to view the page and to add the comments. 

WordPress Add Comments

Scroll down to the bottom of the page where you find the similar ‘Leave a Reply‘ section as shown in the screenshot. This section contains the box where you can enter the comments.  

WordPress Add Comments

Provide the comments in this section and click on the Post Comment button.

WordPress Add Comments

After you click on the Post Comment button a posted comment will be appear above the ‘Leave a Reply‘ section as shown below.

WordPress Add Comments

That’s it, you have now successfully learned how to add comments in WordPress posts or pages on your WordPress website.

Conclusion

In conclusion, adding comments to your WordPress site is a great way to boost user engagement and create a lively community. By following the steps outlined in this article, you can easily enable comments in WordPress and manage them effectively. This not only makes your site more dynamic but also provides valuable feedback and insights from your audience. With WordPress comments enabled, you can enhance the overall user experience and build a stronger connection with your visitors.

WordPress Add Comments – FAQs

How do I add comments in WordPress?

To add comments in WordPress, go to your dashboard and navigate to Settings > Discussion. Check the box that says “Allow people to post comments on new articles” and save the changes. Now, comments will be enabled on your posts and pages.

What is a dynamic request parameter?

A dynamic request parameter is a variable value included in a URL or API call that changes based on user input or other factors. It allows for more flexible and customized data retrieval or interactions. For example, a user ID in a URL that fetches specific user information would be a dynamic request parameter.

How do I enable comments in WordPress?

To enable comments in WordPress, go to your WordPress dashboard, click on Settings and then Discussion. Check the box that says “Allow people to post comments on new articles” and save your changes. This will enable comments on all new posts and pages.

How do I enable comments in custom post type in WordPress?

To enable comments in a custom post type in WordPress, add 'supports' => array('comments') to the custom post type’s registration array in your theme’s functions.php file. Then, ensure that the comment settings are enabled in the post type’s editing screen under “Discussion.” This will allow comments on your custom post type.

How do I enable comment moderation in WordPress?

To enable comment moderation in WordPress, go to your WordPress dashboard, click on Settings, then Discussion. Under Discussion Settings, check the box next to “Comment must be manually approved”. This will ensure that all comments need your approval before appearing on your site.



Previous Article
Next Article

Similar Reads

WordPress Delete Comments
WordPress is a tool and an open-source Content Management System that is totally based on PHP and MySql which is used to create a dynamic website. WordPress was written in PHP language by Matt Mullenweg. It is one of the most popular interfaces that allow users to customize and manage the website from its back-end content management system. To orga
2 min read
WordPress Moderate Comments
WordPress is a tool and an open-source Content Management System that is totally based on PHP and MySql which is used to create a dynamic website. WordPress was written in PHP language by Matt Mullenweg. It is one of the most popular interfaces that allow users to customize and manage the website from its back-end content management system. To orga
3 min read
WordPress Spam Comments
WordPress is an open-source Content Management System. It is basically based on PHP and MySql and it is used to create a dynamic website. WordPress was written in PHP language by Matt Mullenweg in 2003. Currently, it is one of the most popular interfaces that allow users to customize and manage the website from its back-end content management syste
2 min read
How to Delete All Comments on WordPress?
Comments are an integral part of a WordPress site, fostering interaction and engagement. However, there are moments when you might need to delete all comments, whether it's to start fresh, remove spam, or streamline your site's content. This article outlines several methods to accomplish this task, ensuring that you can take the path that best fits
3 min read
WordPress Edit Comments
WordPress is a popular platform for creating and managing websites, and it offers powerful tools for managing comments. Being able to edit comments in WordPress is crucial for maintaining the quality and relevance of discussions on your site. This article will guide you on how to easily edit comments in WordPress, ensuring your site remains profess
4 min read
How to approve comments automatically in WordPress ?
WordPress is a powerful tool for managing websites and blogs, and handling comments efficiently can greatly enhance user engagement. If you're tired of manually approving every comment, learning how to auto-approve comments in WordPress can save you time and streamline your workflow. This article will guide you through simple steps to set up automa
4 min read
How to Disable Comments in WordPress ?
WordPress is a powerful platform that allows you to create and manage a website with ease. While comments can be a great way to engage with your audience, there are times when you might want to disable them. Whether you're looking to prevent spam, keep your site professional, or simply maintain control over the conversation, disabling comments is s
3 min read
How to Use WordPress: Complete Guide to Make a Website Using WordPress
Have you ever wondered how to bring your ideas, your passion, or your business to life on the vast world of the internet?  Perhaps you’ve dreamt of creating your very own website but felt overwhelmed by the technical jargon and the seemingly endless options out there. Creating a website using WordPress is a relatively straightforward process.  Word
12 min read
What are the Differences Between WordPress.org and WordPress.com ?
When it comes to building a website, WordPress is one of the most popular content management systems (CMS) globally. WordPress has become common with website creation, empowering millions of users globally to bring their ideas and businesses online. Many high-traffic and notable websites use WordPress, including major news outlets, celebrities, and
5 min read
How to auto like all the comments on a facebook post using JavaScript ?
In this article, we are going to learn how to like all the comments on a Facebook post automatically. Many times we want to like all the comments of friends on our post or on any other's post, so this script helps us to save time and effort by automatically liking all the comments on the post. Approach: Make variable comments that points to an arra
2 min read
How to block comments in YAML ?
YAML is a human-friendly data serialization standard for all programming languages. It is commonly used for configuration files and in applications where data is being stored or transmitted. The Normal Way for commenting in YAML is Inline commenting with the "#" symbol, however, if you want to comment blocks then we have a list of ways in which it
2 min read
How to write comments in HTML ?
In this article, we have to pass a comment for an HTML by using <!-- Comment --> tag. In html, we can add single-line comments and multi-line comments. These are used to insert comments in the HTML code. It is helpful to understand complex code. The comment tag is useful during the debugging of the codes. Syntax: Single line comment <!-- C
1 min read
YAML Comments
Comments are used to prevent the execution of statements. Comments are ignored while the compiler executes the code. Comments are user-friendly as user can get explanations of code using comments. Since you are alright with the sentence structure and fundamentals of YAML, let us continue further into its details. In this part, we will perceive how
3 min read
Integrating Facebook Comments Plugin in Django Project
Django is a Python-based web framework that allows you to quickly create efficient web applications. It is also called batteries included framework because Django provides built-in features for everything including Django Admin Interface, default database – SQLlite3, etc. In this article, we will learn to integrate the Facebook comment plugin in Dj
2 min read
Documentation Comments in JSDoc
In JSDoc we need to include documentation comments in the code through which JSDoc will generate an HTML documentation website. Let's see how to create documentation comments for different types of code. String, Numbers & Arrays: C/C++ Code /** * Site Name * @type {string} */ const siteName = "GeeksForGeeks"; /** * Number * @type {num
4 min read
How to write comments in ReactJS ?
To write comments in React JS we use the javascript comments and JSX object. It helps in adding useful information about the code and comment-out and ignore the extra code in the program. Writing comments in React is done in these ways. Table of Content Using JavaScript commentsUsing JSX objectSteps to create React ApplicationStep 1: Create a React
3 min read
How to include Comments in CSS Code ?
In CSS, Comments can be added to provide explanations, notes, or annotations within the code. Comments are helpful for code documentation and collaboration, providing insights into the purpose or usage of certain styles. Note: Comments are ignored by the browser and do not affect the rendering of the webpage. There are two ways to include comments:
1 min read
Comments in Pug View Engine
Pug is a template engine for NodeJS and browsers to render dynamic reusable content. At compile time, the template engine compiles our Pug template code to HTML. Pug has many powerful features like conditions, loops, includes, etc. using which we can render HTML code based on user input or reference data. Pug also supports JavaScript natively, henc
3 min read
JavaScript Comments
JavaScript comments help explain code, making it easier to understand. You can also use them to temporarily disable parts of your code. The JavaScript compiler ignores comments when running the code. 1. Single Line CommentsA single-line comment in JavaScript is denoted by two forward slashes (//), Syntax: // your comment hereExample 1: This example
3 min read
Design a Nested Chat Comments using HTML CSS and JavaScript
In this article, we will learn how to create Nested Comments using JavaScript. We must have seen it on social media like Facebook, Instagram, Youtube, Twitter, etc. We have seen the use of the nested comment in the comment section of these social sites. Approach: Create a folder nested-comments on your local machine and go to that folder.Create 3 f
2 min read
HTML Comments
HTML comments are very important for developers, providing a way to annotate code without affecting the rendered webpage. HTML Comments enhance code readability, facilitate collaboration, and can be used to temporarily disable code segments. Enclosed within <!-- and -->, HTML comments serve as invisible notes within the code. What are HTML Co
3 min read
Implement Comments Section in MERN Blogs and News Website
In the digital age, the way we consume news and stories has drastically changed. Blogs and news websites have become the go-to sources for information, offering readers a vast array of content at their fingertips. However, what truly sets these platforms apart from traditional media is the ability for readers to engage directly with the content thr
10 min read
CSS Comments
CSS comments are used to add notes or explanations to your code, helping you and others understand it better. They start with /* and end with */ and can be used for both single-line and multi-line comments. Comments are ignored by browsers, so they won’t affect how your webpage looks or works. Syntax/* content */Comments can be added anywhere in th
2 min read
SASS Comments
Comments in SASS (Syntactically Awesome Style Sheets) are similar to comments in other programming languages, but there is a key difference in how they are handled during the compilation process. Depending on the type of comment, it may or may not be included in the final compiled CSS file. Let's explore the two types of comments in SASS—silent com
2 min read
WordPress Add Users
WordPress is an open-source Content Management System that is totally based on PHP and MySql which is used to create a dynamic website. Matt Mullenweg developed WordPress and Written in PHP language. WordPress is one of the most popular interfaces that allow users to customize and manage the website from its back-end content management system. It i
3 min read
How to add a video in WordPress Posts or Pages ?
WordPress is an open-source Content Management System and an interface that is totally based on PHP and MySql which is used to create a dynamic website. Matt Mullenweg developed WordPress and Written in PHP language. WordPress is one of the most popular interfaces that allow users to customize and manage the website from its back-end content manage
3 min read
How to Add a Featured Content Slider in WordPress ?
Might you want to make a picture slider with custom post types? Sometimes you could need to add sliders for a different substance like Events groupings, and posts and that is only the start. In this instructional exercise, we will share how to make a substance slider in WordPress. WordPress, you really want a module like a Soliloquy to make the sli
4 min read
How to Add Featured Image in WordPress
Featured images enhance the visual appeal of your blog posts and make them more engaging. They also play a crucial role in SEO and social media visibility. Feature images are the primary images of your post and appear just after the main heading of your post and make your post more attractive and user-friendly. It makes your post more engaging and
2 min read
How to Add an Author Bio to WordPress Posts?
An author bio in WordPress posts is a brief section at the end of a blog post that provides information about the author of the post. It typically includes the author's name, a short description or bio, and sometimes a profile picture or avatar. The author's bio helps readers learn more about the person behind the post and can establish credibility
2 min read
How to Add MP3 Audio Files to Your WordPress Website ?
Add audio to WordPress and make your website more lively. Audio files are mostly used for websites that give the podcast show in the form of audio on their website, sometimes audio gives a great user experience and the user can easily listen to their favorite content in the form of the audio files.  Fortunately, WordPress makes it easy to incorpora
5 min read