How to remove comments from all nodes

I want to remove the comment section from all my articles. Can this be done with an sql query or something so I don’t have to do it manually by setting comments to disabled ?

I will supply UK backlinks through blog comments for $5

I will supply UK backlinks through blog comments


I will provide.UK locations backlinks through blog comments with good attributes

so please don’t hesitate to Order this exclusive service for backlinks for your site URL..

Order Now!

(Note: we does not accept Adult/dating/porn/gambling/illegal pharma sites)


how to add url to youtube comments


YouTube doesn’t permit you to insert a URL in the comments meadow, so here’s an simple trick to orientation a video in the comments section.
1. Open the video you want to reference
2. Copy the 11-digit alphanumeric code after the = sign.
3. Paste that code
4. If you see an 11-digit code you want to watch, just open any video and paste it over the existing 11-digit code. Or paste this code, followed by the 11-digit code:


8 – Option to set comments to Hidden on an individual piece of content (node), even when it has no comments

Drupal 8 and Drupal 9 comment fields provide three settings for the default, as configured at for example /admin/structure/types/manage/article/fields/node.article.comment:

The default value for this field, used when creating new content.


Open Users with the “Post comments” permission can post comments.

Closed Users cannot post comments, but existing comments will be displayed.

Hidden Comments are hidden from view.

But when creating or editing a node, the only options for comments are “Open” or “Closed”.

Oh. Oh. Ok.

If there are comments on a given node, only then is the hidden option shown when editing that node.

Unfortunately, ‘Hidden’ also hides the “Comments” title, but ‘Closed’ does not— they do not have identical effect on content without comments.

OK so 99% of the time setting comments to ‘Hidden’ by default going to work great (neither ‘Closed’ nor ‘Open’ radio button are selected in the node’s Comment settings), but then someone will hit the radio button to mark comments as ‘Closed’ for that content type, and then the heading “Comments” will appear, and there is no way to fix this through the UI.

The programmatic problems caused by this were addressed in Removal of “Hidden” option in comment settings form may break programmatic form submissions (#1181750) |

The fact that having both hidden and closed on the default field form sets an incorrect expectation for the individual piece of content settings form was at least mentioned in Make comment settings form more usable (#989452) |

But the fact that different options can and do behave differently when, even when there are no comments, has not been brought up.

Before i create or update an issue on, am i missing something? Is there a way to ensure that ‘hidden’ and ‘closed’ truly do work exactly the same when there are no comments yet?

Comments: How to add “Reply to [Original Commenter’s Name]” with link

I’m using the standard WordPress comments, with the Subscribe to Comments Reloaded plugin. The top of my comments currently look like this:

[Avatar] Commenter’s Name

I’d like to add some hook to my comments, to make this:

[Avatar] Commenter’s Name – replying to [Original Commenter’s Name]

I can code but, of course, I don’t want to edit the Comments template unless I have to. I also don’t want to create my own walker class. Any ideas? I’ve found nothing in the docs so far.

I will do 80 nofollow niche relevant blog comments for $5

I will do 80 nofollow niche relevant blog comments

Quality is always better than Quantity . Only live links will be counted at the time of delivery.

Hello I am jahanghir55,

Are you thinking of getting comments backlink for your blog, page or web site in a manual way?

Are you looking for Niche relevant nofollow high quality blog comment backlinks? If so, please stop here:

Niche relevant blog comments is one of the prettiest ways of getting huge organic traffic and ranking targeted keywords. It will also help enrich your site’s links juice to google link profile

Benefits of ordering my service:

  • Niche Relevant Commenting.
  • Links are NO-Follow.
  • Google Index Guaranteed.
  • No Spamming.
  • 100% Manual Work.
  • Genuine Traffic.
  • Deliver Work on time.
  • Satisfaction Or Guaranteed.

Note: ADULT, PORN, GAMBLING, CASINO, DATING, DRUGS, or any other illegal ACTIVITY NICHE ARE NOT ACCEPTED. (otherwise, we will not refund, and you will not get any report).
If you have any questions Ping me.


1000 Blog Comments Backlinks Increase Your Ranking for $1

1000 Blog Comments Backlinks Increase Your Ranking

Blogs commenting is still the nice source of backlinks but the scenario is changed. The power of com-ments is still the same but you have to use it with the buffer or use the moderate amount of blog comment links to avoid any problem.

Why I need blog comments?

They can help in the indexing of Web 2.0, Guest Posts or any high quality links

They can increase the metrics of any website

They can help as diversity links for sites already getting links from other sources.

They can help in the indexing of any website but with a moderate amount of clean com-ments.

They can help in ranking your social media profiles

They can help to stabilize and equalize your anchor ratio

Features of Service:

All Links Will Be Placed on Most of No-follow, dofollow (Mix)

100% Submission Backlinks With Date & Time.

Both Keywords and Brand Anchors Acceptable

Authority Unique Domains Only

Complete Live Links Report

24×7 Support

Service is Suitable for:



Blog Post

Youtube Video

Product Link

All Type of Business and Live URL

The cheapest Blog Comments and backlinking serviceyou will ever find!

Boost your social bookmarks now with our guaranteed high quality social

bookmark service!


How to change the comments form title and have it different for posts and a custom post type

You can use the comment_form_defaults filter to change your text based on custom post type. Just check the post type in your filter function.

For example:

add_filter( 'comment_form_defaults', 'my_comment_form_defaults' );
function my_comment_form_defaults( $defaults ) {

     if ( 'my_cool_custom_post_type' == get_post_type() ) {

          $defaults('title_reply') == 'My Custom Post Type Comment Title';
     return $defaults;

If you need to change various elements of the defaults, see where $defaults is defined just before the filter hook is applied in the source here:

Manually Create 999 High Quality Dofollow Blog Comments High Authority for $20

Manually Create 999 High Quality Dofollow Blog Comments High Authority

*** Special Offer Buy 3 Get 1 FREE ***
TazinZaman Manually Create 999 High-Quality Dofollow Blog Comments High Authority.

Do You Want To Skyrocket Your Website Rankings, Increase Traffic, And Boost Page Rank?

With my Dofollow Blog Commenting Service, that is exactly what you get.

With manual work, you receive high authority backlinks. In the eyes of the search engines, these links boost authority and instantly add credibility, increasing your rankings and traffic.

Ready to increase rankings and traffic? Order this service and receive quality backlinks from high DA PA.

Have questions? Contact me anytime.

Why My Services should be your first choice for High-Quality Blog Commenting Service?

  • 1st I AM THE BEST.!!! LOL (Seriously No Joke)
  • Updated Pages Fast. (No Old Spammed Pages)
  • Unlimited URLs
  • Unlimited Keywords
  • 100% Manual Blog Submission
  • 100% Do-Follow Attribute.
  • Use Always High DA-PA Links.
  • All Live And Approved Backlinks.
  • 100% Satisfaction Guaranteed
  • Delivery Always On Time. Plus 24/7 Support.
  • Detailed Excel Report.

Adult, Dating And Illegal Site Not Allowed

Add Extra Services to make your package more powerful.

Best Regards



Comments Indexing with Search API

I’m having the issue generating the indexing for comments with Search API.
While configuring, I used the datasource comments and added following fields for indexing. comment_body, cid, comment_type, created, entity_type.

and this is the error I get.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /batch?id=8926&op=do_nojs&op=do
StatusText: parsererror
ResponseText: Error: Call to a member function toArray() on null in rdf_comment_storage_load() (line 239 of /home/recordin/public_html/core/modules/rdf/rdf.module).

While further investigation, I found that the line # 239 has the following code.

$comment->rdf_data('date') = rdf_rdfa_attributes($created_mapping, $comment->get('created')->first()->toArray());

Where, $comment->get('created')->first() returns NULL, $comment->get('created') is the object of type FieldItemList which has the empty list that we can see with $comment->get('created')->view()

I dont know if I’m doing something wrong with configuration (prety much this is the case) or there is the issue with code, as I’m new to this CMS. I realy appreciate your help in this regard.

Thanks in advance.