Fine-tuning the comment form. All about personal messages on YouTube Private message on YouTube: who can send

💖 Do you like it? Share the link with your friends

It's been a while since I wrote anything about WordPress. Therefore, today I will share with you how you can manually change the comment form in WordPress. I think that this knowledge can be useful to any novice blogger, because the commenting form is sometimes the only means of communication between visitors and the author. Don't pass by :)

Before we begin any manipulations with the code, I want to warn you in advance that we will be editing the files of WordPress itself, and not the theme files. Yes, it may seem dangerous to some, pointless to others, and simply won’t be liked by others :) But I did it exactly like that and I didn’t have any problems. I advise you to make a backup of the file you are editing before starting.
I warned you about safety, now I want to show the result I arrived at.


As we can see, the line “Your e-mail will not be published” has been removed. Required fields are marked *". There is no need to consider visitors as brainless idiots. They already understand what needs to be filled out and what not. I also hid the names of the fields inside the fields themselves. What are these bold notes for? Most visitors, even without field names, can “by eye” determine which one belongs to what. But internal hints must still be present. Well, the caption to the comment field has lost its unnecessary boldness. In my opinion, it has become much better and freer.

So let's change everything quickly! ;)
We go to the folder of our site and find the file wp-includes/comment-template.php in it. We are looking for line 1522 in it, yes, that’s exactly it. How I found it myself is a whole story, I’ll tell you about it a little later :)
So, open the file for editing and go to line 1522. Now it and the following (up to 1529) are approximately like this:

$fields = array("author" => "

" . "" . ($req ? " *" : "") . "

", "email" => " ", "url" => "

" . "

",);

How simple and clear everything is. It’s enough just to cut out all the excess and add a little. The parameter will be added

Placeholder="Help text" !}

This option allows you to display any text inside fields. We use it to display hints:

"

" "

" "

"

We will delete the lines:

"

" . "" . ($req ? " *" : "") "

"

They are responsible for displaying captions above the fields.
As a result of ALL these manipulations, we get the following:

$fields = array("author" => "

", "email" => "

", "url" => "

",);

All that remains is to remove the stupid hint “Your e-mail will not be published. Required fields are marked *". To do this, delete the line (approximately 1537):

"comment_notes_before" => "

" . __("Your email address will not be published.") . ($req ? $required_text: "") . "

",

That seems to be all, now our form has become a little more attractive. I hope this information is useful to someone :)

Subscribe, comment, I will be glad to receive any adequate comments. Maybe I don’t know something myself and it can be done differently, share your thoughts.

If you are interested in how to get views on YouTube and you are wondering “Why don’t subscribers watch my videos?”, then this article is for you. You can also go straight to watching the video.

As you probably already know (especially if you already have a YouTube channel), when you upload a new video to your channel, it doesn’t get very many views relative to the number of subscribers. Let's say you have 10 thousand subscribers, and the video gets 1000-1500 views in the first few days.

Why is this so?

This is due to the fact that not all subscribers watch your video. And this is a completely common situation. Absolutely all authors face this. YouTube channel ov. If your video gets 10-15% of views from the number of subscribers, this is a normal situation.

And there are several reasons for this.

First reason

Not all users watch all your videos. Personally, do you watch all the videos in the feed? For example, I subscribe to about 50 channels and, naturally, I cannot watch every video from each of them. There simply isn’t enough time for this. And not all topics are interesting to me.

Second reason

Busy at work, at college. Or family, friends. Naturally, YouTube is fading into the background. Subscribers cannot watch all your videos without missing a single one. This is a common situation. There is no need to worry about this.

Third reason

Not all videos are equally interesting for all your subscribers. For example, I have a video “How to make a watermark on a video?” I explain the technical points in the program. Of course, some users come to my channel from this video. All my videos are aimed at generally attracting subscribers and developing the channel. What should users do who have subscribed to this particular video and are not interested in other topics that I talk about? Naturally, either unsubscribe or simply don’t watch my other videos.

But what to do if you are not satisfied with 10-15% of views from the total number of subscribers? How can we increase this number? There are 4 tips here.

First step - Titles

You should pay attention to the names of the videos. You need to choose cool, intriguing names. So that the user just wants to click on it. This way you can attract more viewers and get more views on YouTube.

Second step - Topics

Stick to the main theme of your channel. You don't need to make a video about just anything. Because users, subscribing from one video, hope that the rest will be on the same topic.

If you created an educational channel, make educational videos. And make your personal blog, for example, a different channel. This will make your videos more useful and viewers will get used to it. They will watch your videos more often, and you will receive views on YouTube in much larger quantities.

Third step - New video release schedule

Decide how many videos per week or month you will upload. Share this information with your subscribers. Make a specific schedule.

Hello, dear readers of the site! In this article, I will show you how to remove the Website and Email field in the standard WordPress blog comment form. If you ask “Why?”, then you don’t really need it. And whoever is looking for an answer to the question from the title clearly understands that sometimes hiding these fields can be useful for website promotion. Along the way, since we will be editing the comment form, we will remove the line “You can use the following HTML tags and attributes,” which is found in some WordPress templates under the “Comment” field.

Why hide the URL and E-mail input fields and who needs it?

For what: fighting spam, reducing the number of outgoing links and simplifying commenting.

Who needs: owners of news and information projects, company websites and online stores. That is, for those whose visitors are far from website development, and sometimes from the Internet. The less data you need to fill out in the comment form, the more actively they will be left. Often even entering an E-mail will be superfluous, since people do not want to leave their data again.

Who doesn't need it: bloggers and webmasters, whose majority of visitors are owners of web projects. The opportunity to receive a backlink is an additional incentive to leave a comment. The benefits are here for both parties:

  • Blog owners receive free content, improved behavioral factors and, finally, communication with readers;
  • commentators - and transitions to their websites if they left a truly interesting review.

There is also a downside: increase in quantity external links, even in nofollow, interferes with the promotion of the site and is not liked by the PS, especially Google. Moreover, when there are several links to the commentator’s website with the same anchor from the same page, then it looks even more spammy to search engines.

Advice for commenters: If in the process of communication you have to leave several comments on one page, fill in the URL field only in the first of them. This way, the blog author will have fewer external links, and your backlink will receive as much weight as possible.

Removing the Website (URL) and E-mail fields in the WordPress comment form

We’ve kind of figured out why this is necessary, now we’ll find out how to do it. For example, let's take the Twenty Ten WordPress theme. The standard comment form looks like this:

Now, in order, we will disable the Website and E-mail fields and delete the extra text, as shown in the screenshot above.

Disable the Website field

There are two ways to hide the Website field or, in some templates, URL:

  1. using plugins (for beginners and the lazy);
  2. using PHP code.

Using WP plugins

You can use the plugins disable-hide-comment-url or Hide-n-Disable-comment-url-field. On at the moment both are working, but I recommend the second one, since the first one has not been updated for a long time.

Install any of the plugins in a standard way and activate, no settings required. The Site field will no longer disturb visitors.

Using PHP code

There are also two ways:

  1. editing the comment-template.php file from the WordPress wp-includes folder;
  2. changing the functions.php file of the current theme.

In the first case, you will have to perform a similar operation after each update of the WordPress engine. In the second, after each change or update of the template, which does not happen so often. Therefore, I believe that the second method is simpler and more convenient, which means that we will talk about it further.

Attention! Before making changes, do backup copy functions.php file.

Download the file from the hosting at the address /wp-content/themes/twentyten/functions.php and open in any text editor eg Notepad++. In your case, select the folder with your theme. You can edit directly from the blog admin panel, then go to the menu “ Appearance” – “Editor” and select the file functions.php on the right.

To remove the Website input field in the comment form, add to the end open file this code:

function remove_comment_fields($fields) ( unset ($fields [ "url" ]) ; return $fields ; ) add_filter("comment_form_default_fields" , "remove_comment_fields" ) ;

function remove_comment_fields($fields) ( unset($fields["url"]); return $fields; ) add_filter("comment_form_default_fields", "remove_comment_fields");

Save the changes and upload the replacement file back to the hosting. As a result, the Site field will be deleted.

Removing the Email field

We do the same thing, only we add the following line to the above code: unset($fields["email"]);

function remove_comment_fields($fields) ( unset ($fields [ "url" ] ) ; unset ($fields [ "email" ] ) ; return $fields ; ) add_filter( "comment_form_default_fields" , "remove_comment_fields" ) ;

function remove_comment_fields($fields) ( unset($fields["url"]); unset($fields["email"]); return $fields; ) add_filter("comment_form_default_fields", "remove_comment_fields");

Go to the admin panel (Settings – Discussion), uncheck the “ The author of the comment must indicate his name and e-mail" and save the changes.

Let's check - it works. However, a situation now arises where you can leave comments without entering a Name. Instead it will be written Anonymous. If this doesn't bother you, then you can stop there.

To make it mandatory to fill in the Name, even if the corresponding checkbox is disabled, add another piece of code:

function custom_validate_comment_author() ( if(empty($_POST["author"]) || (!preg_match("/[^\s]/", $_POST["author"]))) wp_die(__("Error! Please fill in the Name field")); ) add_action("pre_comment_on_post", "custom_validate_comment_author");

Now, when you try to leave an anonymous comment, a warning will be displayed:

Remove the line “You can use the following HTML tags and attributes...”

This text is not present in all WordPress themes, but if you have it, it is better to remove it. Why, because this way visitors can leave links, quotes, codes in comments, highlight keywords bold, etc.? Do you need it? In addition, this block of text is not aesthetically pleasing and is duplicated on all pages of the site (not just yours), reducing their uniqueness. Therefore, we can safely delete it by writing the following code in functions.php:

function mytheme_init() ( add_filter("comment_form_defaults" , "mytheme_comments_form_defaults") ; ) add_action("after_setup_theme" , "mytheme_init" ) ; function mytheme_comments_form_defaults($default ) ( unset ($default [ "comment_notes_after" ] ) ; return $default ; )

function mytheme_init() ( add_filter("comment_form_defaults","mytheme_comments_form_defaults"); ) add_action("after_setup_theme","mytheme_init"); function mytheme_comments_form_defaults($default) ( unset($default["comment_notes_after"]); return $default; )

After all our work we get this form of comments on the blog:

If you deleted the E-mail field, then do not forget to remove the inscriptions associated with it. For example, " Your email will not be published", as in the picture above. To do this, in the root of the site in the wp-includes folder in the comment-template.php file, find the text “ Your email address will not be published" and delete it. In the case of the twentyten theme, this works. In other templates you may have to do it differently. Just remember to make copies of the files you edit, just in case.

Now in the functions.php file all changes will look like this:

I advise you to remove the Website field in the form WordPress comments immediately when creating a blog. If, of course, you need it. Otherwise, there will be no more new links, and the old ones will not go anywhere and will still have to be deleted. But more about this some other time.

Since these procedures sometimes have to be repeated when changing a template or creating a new site, I decided to make myself such a cheat sheet. I hope it will be useful to you too. You can save the page to Bookmarks (Ctrl+D).

A unique, trouble-free method for attracting subscribers to a YouTube channel, increasing likes and views without investing your own money! Everything works 100%! The video course is recorded in HD quality, everything is to the point and without unnecessary fluff! With this method you will forget about cheating services forever!

This method can also be used to promote other social networks!!! This is not spam or mutual subscription! Everything is much easier than you think!

1.Method of a constant influx of targeted subscribers to your YouTube channel (this is not spam or mutual subscription)

3. Constant growth of your channel statistics and increased income (the more targeted subscribers on your channel, the more views. Consequently, the income from your channel will increase)

4.Automated and absolutely free way(this method is developed from free functionality that is available on any computer and you will no longer have to invest money in dubious cheating services and other PC applications. This method also works when the computer is turned off and does not require your precious time and attention)

THE MOST EFFECTIVE ATTRACTION OF SUBSCRIBERS TO YOUTUBE

or 3 simple steps to a continuous flow of subscribers to your YouTube channel

My name is Valentin, I am 30 years old.

I have been making money on YouTube for more than 4 years. And for this YouTube time became one of my main earnings on the Internet. Yes, yes, precisely by earning money. And it’s not even bad at all!

You all know very well that it is very difficult to boost your channel. And I, like many of you, tried my luck on “gray” channels. Yes, a pretty penny dropped, but it didn’t last long. The “gray” canals have one road and this road is to BAN! But this did not stop me, the desire to make money on YouTube did not leave me for a second and I decided to create my own channel. I chose a topic and recorded about 20 videos. This was of little use, the channel was not popular, you could count the subscribers on one hand, and there weren’t many views either...

The question arose: “Where can I get targeted subscribers for my channel?!”

Started wandering around to different services for getting subscribers, etc. (you're familiar with this). On such services, you first need to work yourself in order to get something, or invest your own money to get a certain number of subscribers. I spent a lot of money, but it didn’t give the results I expected. The subscribers were not targeted and after a few days they began to unsubscribe. The channel has started to “die” again!

After reading a bunch of information on the Internet, watching many different video courses, I realized that all this is nonsense and I need to come up with something of my own. And I did it!

From my considerable experience, I have identified some very important criteria by which you can force an ordinary YouTube user to subscribe to my channel. And based on all this, I developed my own method for attracting subscribers, which today gives excellent results and income from my channel.

I wish the same for you with all my heart!

We have repeatedly emphasized that every year YouTube is getting closer to social networks. In fact, the service is called that behind the scenes, although in official circles it is positioned as a video hosting………..

This is not surprising, because here you can communicate with other users, create entire communities, publish various news and materials, give them ratings, etc.

→ One of the most useful functions, of course, are considered “Private Messages”.

It is not difficult to guess that this section is intended for the exchange of information between users of the service.

Below we will talk about such routine questions: ↓↓↓

  • go to the message section;
  • enable function;
  • how to send a personal message on YouTube and more.

Private message on YouTube: who can send

Thanks to this function, each user can send text information and other files to system participants. The only condition is that your name must be verified.

This means you need to link your account to Google Plus and make some adjustments.

If the account was created after 2014, then, as a rule, all this takes place in automatic mode, and if earlier, you should configure it manually: ↓

  • go to your YouTube account, then click on the channel icon and settings;
  • Now you need to select “Link your account to Google+”;
  • now select one of the items to configure the name and avatar of the channel;
  • We were now able to enable YouTube messages.

Sending mail and verification: all methods

Let's start with the simplest thing, how to view private messages on YouTube. ↓↓↓

1. Firstly, you can receive notifications not only from users, but also channel subscribers.

In the latter case, you need to go to the channel and click “ Discussions«.

This is where you find public messages from your viewers. In the future, you can give answers directly in this form or switch to personal messages.

2. Secondly, if you want to check personal messages from system users, you should follow the link

Or go to “Creative Studio” - “Community”, and then to “Messages”.

Attention!

Users can set up notifications about new messages by email - to do this, they need to make changes in the “Notifications” section.

→ Now let’s move on directly to how to send a message to a user on YouTube: ⇓⇓⇓

Method 1. From another user's page

First of all, you need to go to the recipient's channel

To do this, click on the channel name under the video or, if you are already subscribed, select the desired account in the “Subscriptions” section.

On the right you should find the tab “ About the channel“, after which a button for sending messages will appear.

Now the matter remains small— just fill out the form, attach a video if necessary and send the data.

Method 2. From your mail

→ To write a message on YouTube using this method, you need to go to the “ Creative studio " then in " Community" and select the appropriate item...

Now on the screen at the top of it, you can see the create button. Click on it and enter your username.

Now you can safely send your message.

Method 3. Send via reply form

This method is relevant if you have already entered into a dialogue with the user. By analogy with previous methods, you need to go to the section with personal messages.

Now you need to open the folder " Inbox" and open the latest notification from the user you want to reply to. After that, click on “ Answer» and write the required text. After that you can send.

Thus, in this article we have covered the main issues related to sending messages.

Now you can easily communicate with other participants in the system: agree on cooperation, exchange interesting videos and much more.

Tell friends