E-mail will not be published required fields. How to read messages without the other person knowing about it. Remove URL field from Wordpress comment form

The website moneymail.ml offers to take part in the Happy E-mail promotion, where they give away $5,000. The event is organized by the Worldwide E-Mail Alliance, an international postal consortium. Everything here is supposedly arranged to reward users on the Internet.

Let's see how much money we can get.

Promotion Happy E-Mail

The prize promotion is not random. Participants are supposedly selected by email. Many of our readers were sent an invitation, making it clear that this was the only way to receive a prize. However, we freely access the moneymail.ml website using a link without an invitation.

We are greeted with a sign of congratulations and informed that we have been selected to participate by email. However, a check showed that this is not true, and they don’t even know our email here.

The international consortium Worldwide E-Mail Alliance is an unknown name. Such a company does not exist at all, which becomes clear after searching Google and Yandex. Despite the company’s solid operating time since 1994, indicated on the service, the site was created a few days ago. After so many years and with such profitable shares, information would have already penetrated the network, but it hasn’t.

Our confidence in the dubiousness of the site was strengthened after reading the disclaimer. The website promises a tidy sum, but the agreement states that there is no income here, and the prizes are just an assumption of the creators of the promotion.

Our employees have excellent memory, so we remember how many promotions with a lucky email turned out to be scams. The design of the Happy E-Mail service is also reminiscent of tired sites where people have been deceived for years.

The page lists the email address as if it were a support service, but this will not provide any benefits. Real employees of real companies would not remain silent in response to messages, but [email protected] The letters are not even opened. There is no point in checking strange designations (Classifier 4PA-TEP, permitting documentation G6-12, with additions dated April 12, 2018). This is an attempt to seem like a serious company by writing meaningless words.

Checking the prizes!

The $5,000 raffle has begun. The website moneymail.ml provided several of the most stupid questions, which were answered without looking, by checking the boxes. The job took 40 seconds. We had no doubt that we would win a lot of money in the Happy E-Mail promotion.

The Worldwide E-mail Alliance is giving us $2,498. Before the sum was announced, I had to lose about two minutes, either answering questions or spinning the drum. This is all an imitation of a real prank. It’s easy to check that the prize amount is the same for everyone by logging in with different devices to the page.

In the promotion, everyone will be a winner, which does not happen in real quizzes. However, there was no need to rejoice for long. They asked for 200 rubles to convert dollars into rubles. Real services, where you can receive money, gradually increasing it, are strikingly different from fraudulent ones. See for yourself!

The Happy E-Mail promotion is a SCAM. If it weren't, the site wouldn't have so many clones, and the idea of ​​paying thousands of dollars to have email is absurd! No one will profit from such an action, so there is no point in organizing it. There are no systems in the world that charge a fee for currency conversion, since when transferring money this happens automatically.

All foreign exchange transactions are already subject to a commission, only it is charged from the available amount. Only scammers ask to pay above these funds. Be careful and don’t forget to read our updates to know more about making money on the Internet. Subscribe to LookFreedom website news!

Greetings, dear reader and friend! My post will be short - WordPress comments - remove everything unnecessary. Today I won’t keep you long, I’ll just show you how to remove unnecessary and unnecessary lines and fields in the comments in WordPress, namely - How to remove the site field in WordPress comments and the line/inscription under the comment form " The following HTML tags and attributes can be used". In general, let's simplify appearance wordpress comments.

Remove input field URL addresses site from the comment form - this is to protect your blog from dishonest commentators/webmasters who will put an active link to your site, write a meaningless, useless comment and that’s it. They just want to get noticed and increase the link mass to their site, and this is not good and not fair. Let's drive them away from our blog.

Site field in WordPress comments

This is very easy to do 😎 . Go to: Appearance - Editor and open the Theme Functions file (functions.php), scroll to the bottom of the page and before the closing ?> tag paste this little code:

Attention: if you insert the code into the theme functions incorrectly, the site will stop working (make a copy of the functions file), but this is not fatal. How to fix it, read.

Add_filter("comment_form_default_fields", "wp_url_remove"); function wp_url_remove($fields) ( if(isset($fields["url"])) unset($fields["url"]); return $fields; )

It should look like this:

Theme functions, how to insert code

The site field is missing in WP comments

There is no field to enter a URL. Now, commentators will stop leaving useless comments with an active link to the site. Go ahead.

How to remove a caption You can use the following HTML tags and attributes

The following HTML tags and attributes can be used

Many WP themes continue to display this message at the bottom of the comment form - "You may use these HTML tags and attributes:", some people like it, and some want to get rid of it. In my opinion, this line is not needed at all, you can simply replace it text editor for comments, for example, or install a comment system.

Once I was asked how to remove such an inscription, and naturally, in order to answer and help the commentator solve this problem, I rushed to look in the theme files for the function responsible for displaying the inscription. And what? She's just not there required file It turned out to be located in the wp-includes folder with the following name: comment-template.php. Need to open this file on the hosting, find and delete the code:

"comment_notes_after" => "

" . sprintf(__("You may use these HTML tags and attributes: %s"), " " . allowed_tags().

wp-includes folder

Unfortunately, I can’t show a screenshot of the required code in the open file, since I don’t have it. Well, my friends, as I promised not to detain you for long, I am fulfilling it. Until next time. Good luck.

(function(w, d, n, s, t) ( w[n] = w[n] || ; w[n].push(function() ( Ya.Context.AdvManager.render(( blockId: "R-A -292864-4", renderTo: "yandex_rtb_R-A-292864-4", async: true )); )); t = d.getElementsByTagName("script"); s = d.createElement("script"); s .type = "text/javascript"; s.src = "//an.yandex.ru/system/context.js"; s.async = true; t.parentNode.insertBefore(s, t); ))(this , this.document, "yandexContextAsyncCallbacks");

Every website owner wants to have a contact form for sending messages from users and receiving them in their email. This is the so-called feedback form. That is, a visitor can send his letter to the webmaster directly from the site without opening his mailbox. The best plugin to implement this feature is Contact Form 7, which does not send emails. My article describes the correct Setting up the Contact Form 7 plugin so that everything works correctly.

How the Contact Form 7 plugin works

This form can be located on any page of your website (you just need to copy the line and paste it in the right place). The site visitor fills out the required fields (for example, his name, e-mail, message), and the plugin through one mailbox (let's call it "sender") sends a letter to another mailbox ( "recipient").

That is, you must register 2 mailboxes - sender and recipient. It is better to create the sender in Yandex mail, and the recipient is the official mailbox of your website.

For some time now, the Contact Form 7 plugin stopped working - it didn’t send emails, but just kept loading. I found a way out - installed another free plugin, WPForms Lite. It’s very easy to set up and doesn’t require installing additional plugins to set up sending messages, but I noticed that it doesn’t work with every email. I didn’t receive any letters on one, but on the other they are sent.

Setting up the Contact Form 7 plugin. Instructions

1) We register the sender mailbox on Yandex mail (any mailbox, no matter what, its name is not important for the plugin to work and will not be visible to visitors). It will serve as a transit point for letters.

2) Setting up the contact form of the Contact Form 7 plugin. Click "Change" and onwards "Form Template". Here is an example of how it should look with the required fields: username, email, message and the “send” button:

Your name (required)

Your email (required)

Message

3) Tab "Letter" is responsible for the appearance of the emails you receive.

To whom– recipient mailbox address

From whom – <адрес ящика отправитель>

Subject

Body of the letter

So, you receive a letter containing all the completed fields of the form feedback. This completes the configuration of the Contact Form 7 plugin..

Attention! In order for the Contact Form 7 plugin to send emails, you need to install another WP-Mail-SMTP plugin. It is he who will connect two email addresses, the sender and the recipient, and perform system functions for sending letters.

Setting up the WP-Mail-SMTP plugin. Instructions

From Email– sender mailbox address

From Name– for example, the name of your organization or your name

Mailer– function of sending letters. Select “Send all WordPress emails via SMTP”

SMTP Host– for Yandex mail smtp.yandex.ru

SMTP Port– for Yandex mail 465

Encryption– Use SSL encryption

Authentication– Yes: Use SMTP authentication

Username– login on your email sender

Password– password on your email sender

The setup is complete. Save your changes.

How to place a Contact Form 7 feedback form on a page

In settings contact form pay attention to the line at the top:

It needs to be copied and pasted on any page. All is ready.

Does not create any difficulties, especially according to my instructions. Everything works fine and emails are sent. I also suggest that you read the article about the best ones for WordPress. There you will find a lot of interesting things.

Writing a comment on the site means expressing your opinion on the material presented on the site and sending it for public viewing.

A published comment can be read by anyone who visits the site - an adult, a teenager, a child. Thus, comments are written not only for the author (authors) of the article (blog, video, audio, etc.), but also for those who will read or view (listen to) the published material.

As written on Wikipedia, a commentary (from the Latin commentarius - notes, notes; interpretation) - explanations to the text, reasoning, remarks about something or remarks - to a post (message).

The word “comment” is sometimes abbreviated – “comment” with the emphasis on the first syllable (komment) or “koment” with the emphasis on the second syllable (comment), so the word becomes pronunciated similar to the English word “comment”, meaning the same thing. And the word “comment” is shortened to “comment” or “comment” - thanks to the features and capabilities of the grammar of the Russian language. Youth slang includes the words “kament”, “kamentit”.

It is correct to write “comment” and “comment” in the texts. However, the abbreviations “comment” and “comment” are acceptable.

Options with “comment”, “kament” and “komentit”, “komentit” - this is a different world, a world of slang, with its own language and rules of communication. I think that the use of such slang does not eliminate the need. And the latter always makes me happy.

Some rules for writing commentary text

It is advisable to write comments without errors, observing syntax, spelling, semantics and other aspects of the Russian language. Slang, abbreviations, omissions, etc. are difficult to perceive by site readers who are interested in comments. It’s better to leave “jokes” for other places where like-minded people who understand each other at a glance or half a hint gather live.

Comments written in poor language, without periods or commas, capital letters and so on - reveal the illiteracy of the author of the comment, even if he had to write the comment on a gadget where it is difficult to comply with all the rules of the Russian language. Accordingly, the attitude of readers towards a published illiterate commentary will be perceived through the prism of illiteracy. Many people do not read such “opuses” at all, because it happens that it is even difficult to read such things. The time when it was “fashionable” to write incorrectly is gradually becoming a thing of the past.

Those authors of comments who do not have a Russian keyboard layout often write comments on Russian-language sites in transliteration, using Russian words, but typing them in Latin letters. Such comments are also often not read - this is difficult, since we read in words and phrases, and do not parse the text letter by letter, this is how the human brain works. Here we can advise you to translate the Latin alphabet into the Cyrillic alphabet using special programs, which are available in abundance on the Internet. And only after converting the Latin alphabet to Cyrillic alphabet does it make sense to post a comment on websites, blogs, video blogs. This is the key to success: the comment will be read.

Comments must be written within the meaning of the published article, video, audio, etc. What is written must relate to the article or some part of it. There is little point in writing your comment about completely different problems that may concern the author of the comment. It is unlikely that such a message will be heard by anyone.

If the topic of the comment still does not relate to the topic of the article being commented on, then the author of the comment needs to explain, at least at the beginning of his text, why and why he publishes his message here, which otherwise will be perceived by readers and the author of the article as a comment “about nothing” "

There is no particular point in “spamming” - this is when in the comments to an article you give some kind of advertisement for your product, services, or intrusively suggest some topic of your own, which the author of the comment considers much more important than everything else.

Typically, comments are checked to one degree or another, moderated by the site administration (this is described below), and will not be missed or published. What's the point of wasting time getting a negative result? Of course, spam comments are often sent automatically, without human intervention; this is done by a robot program. But questions automatic mailings We will not consider comments here, this is a separate topic.

What is the main difference between a comment and an email?

A letter is usually written to one person or several people, so a strictly limited, predetermined narrow circle of people can read the email.

A comment on a website (on a blog, on a video blog, under a post on social networks, etc.) can be read by any visitor to the site - and this could be a child, a pensioner, a teenager, an adult, a man or a woman, and each of the comment readers has its own principles, beliefs, rules, habits, views, restrictions. The number of people who read a particular comment may not be limited.

In relation, you can use concepts such as privacy, limited access to reading the content. In relation to comments, completely different terms apply - publicity, platform, unlimited access to view the message.

It turns out that comments have an incomparably greater audience reach than email. On the Internet, the number of people who can read a comment is practically unlimited by nothing except time (the longer a comment is stored, the more people can read it) and traffic to the resource where the comment was left (there are resources on the Internet with over a million visits per day) .

Where can I leave comments?

Not all sites allow you to leave comments. The place where already written comments are posted, and where you can write (leave) your comment, at the end of a text article, below under the video or audio window, in general, below the text or window where the information of the author of the site, blog, video blog, etc. .P.

To understand whether it is possible to write a comment on the site, you need to open any publication. Then scroll to the bottom and see if there is a comment form there. For example, a comment form might look like the one shown in Figure. 1:

Rice. 1. Form for commenting on the site

How to fill in the fields when writing a comment

Number 1 in Fig. 1– field for entering a comment. It is advisable to express your opinion strictly based on the materials of the published article and in a restrained form, even if the article or its author is somehow disliked by the reader, even if the presented materials differ from the opinion of the author of the comment.

It is strictly forbidden to write insults, obscene expressions, inappropriate calls and other things, especially those prohibited by law. Also, you should not write arguments that are off-topic, that is, that have nothing to do with the publication of the author of the material - such a comment will not make much sense, because the comments will only be read by those who are interested in the article, and not by the thoughts of the author of the comment, which are not related to issues under consideration.

2 in Fig. 1– field for entering your name. Usually you can indicate your name or any other name, for example, (some sonorous, made-up name), a fictitious pseudonym, etc. Some sites do not have a field to enter a name.

3 in Fig. 1– field for entering . If you are interested in receiving a response to your comment, you should indicate your real e-mail, without errors.

If you do not need a response to your message, then you can specify an arbitrary, non-existent email address, for example, [email protected]. You cannot omit your email address at all, otherwise your comment will not be posted on the site.

When writing even a non-existent email address, you must follow the rules for naming addresses. For example, in the address [email protected] there is a name (321), the obligatory “@” sign, again the name (mail), dot “.”, and the abbreviation “ru” or “com”, “net”, etc.

Number 4 in Fig. 1– if you click on the small black triangle, a menu with a choice will appear (Fig. 2):

Rice. 2. Selecting an option to receive replies to comments

By default, if you do not change anything, the option will be used: “Responses to my comments” (Fig. 2). In this case, it is important to indicate the correct e-mail to receive a response.

However, you can select the “Don’t subscribe” option (Fig. 2). Then you will NOT receive a response to your message (if there is one). Selecting the "All" option means that you will receive all comments from all readers left on this article.

Different sites may have different options for subscribing to answers, or may not have them at all. Then you can view replies to your comments and read comments from other Internet users only by re-entering the site and re-scrolling through the article on which the comment was left, to the place where the comments were posted.

On some sites, before posting a comment, you must enter captcha to prevent spam distributed by bots - automatic programs.

The word captcha comes from the abbreviation CAPTCHA. Completely Automated Public Turing test to tell Computers and Humans Apart. Translated, it is the "Fully Automated Public Turing Test for Distinguishing Computers from Humans" - a computer test used to determine whether the user of a system is a human or a computer.

Automatic programs unable to correctly enter the proposed captcha values, for this the programs would have to have an intelligence comparable to that of a person. Fortunately, this does not exist yet, otherwise robots would definitely defeat us in the Internet space...

Captcha can be different - you need to check a box, or enter numbers, letters from a picture, etc. If you make a mistake and enter the captcha incorrectly, the comment will NOT be sent to the site, it will simply disappear without the possibility of recovery.

Therefore, in order not to lose the text of the comment in case of failure at the time of sending it, if you have a long, large important comment, then it is recommended to first write it, for example, in Notepad or Word. Then you will have a copy of the comment at hand, and you can send it to the site again by entering the captcha correctly.

Once the submit button is clicked, the comment will either

  • immediately published on the website - the most pleasant moment for the author of the comment,
  • or it will be sent for moderation - the author of the comment will have to wait until the site administration checks the comment and allows its publication,
  • for some reason it may end up in spam on the site - here, depending on your luck, the comment may eventually be published, or it may not be published, but deleted along with a lot of other spam comments.

What does it mean “your comment has been sent for moderation”

Let's say that you filled out all the fields on the site (Fig. 1) and wrote a comment, clicked on the “Submit” button (the name of the button may be different). And in response, a message pops up that your comment has been sent for moderation. At the same time, you see that the comment has disappeared somewhere, as if it never existed.

Moderating a comment means that the site administrator wants to review your message to decide whether to publish it. He checks when he has the opportunity. This can be either instant or long lasting. There are no exact time limits for moderation. Just as there are no legal deadlines, there are no mandatory deadlines for checking comments before publishing them.

As a result of moderation, your comment may be published or deleted without explanation. You will be able to see the published comment on the site after some time. If the comment is deleted, it will not appear on the site, and you will not receive any notifications.

It would seem unfair to delete comments like this without notice and not publish comments. However, almost every site has its own Policy - a set of rules, including commenting rules. If the user has violated the rules, then his comment is not allowed to be published.

The rules can be published openly; they can then be read on the website. The rules may not be published, unfortunately. Again, there are no unambiguous requirements or rules whether to publicly publish Site Policies or not to publish them. Everything is left to the discretion of the site administration. Because they, the site administrations, are the owners of their resource, and have the right to allow or prohibit comments at their discretion, as well as change the rules over time.

Why is it sometimes impossible to write a comment on the site?

Some sites do not allow you to leave comments. Moreover, it may be that you cannot comment on anything on the site at all, so there is not a single comment there and there is no form to write your message.

And sometimes it happens that there are old comments on the site that you can read, but new comments can no longer be written. This means that the site author no longer wants to check comments, that is, moderate them. For this reason, the site administrator has closed the ability to leave messages on his resource.

Large news portal sites that have a huge audience of readers usually close the opportunity to write a comment. As you know, many users want to express their opinion on one or another topical issue.

Accordingly, the team of such a portal needs to constantly check comments around the clock and remove inappropriate messages. It's complicated unpleasant job. To avoid this, many portal sites have closed or are eventually closing the opportunity to write a comment.

For example, on the Lenta.ru website you can see the message: “Comments on the material are closed due to the expiration of its relevance.” The rules of this portal contain an explanation: “To protect against spam and attempts to distribute materials prohibited by Russian law, comments on all news articles are automatically disabled one day after the article is published.”

Social networks - an alternative to comments on a website?

It is believed that now it is necessary to communicate and write comments on social networks, because they... By the way, almost all sites have their own pages on social networks, where they provide the opportunity to write their opinion.

As for the Lenta ru portal mentioned above, where the ability to comment on materials is closed, it has its own VKontakte page where you can write comments quite freely. Of course, comments on social networks are also checked by moderators, so you should not think that absolutely everything is possible on social networks.

To have the opportunity to express your opinion in social network and leave messages there, on one network or another. In other words, you need to be a registered user on a social network, because you cannot write comments there as an anonymous user.

User anonymity is one of the reasons why commenting on websites is closed. Although the myth about anonymity on the Internet is greatly exaggerated. There are many ways to determine the author of any post or comment on the Internet, but this is a separate and completely different topic.

In order to combat anonymity, there are sites that are NOT social networks, but you can leave a comment there only if the user is authorized in any social network. For example, you must be an authorized user on VKontakte or Facebook. Only then does it become possible to send your comment to such a site.

Some sites automatically publish user messages from social networks. What does this mean? An announcement of the material (article, post) published on the site is published on the social network. The announcement can be published in a group or on the personal page of the author of the article. Users write comments on this material, which are automatically duplicated from the social network on the website of the author of the article. Therefore, the user is mistaken if he thinks that, for example, messages on Odnoklassniki written for an article by some author “will not go anywhere further than this social network.”

How to copy text from Word and paste it into a comment

It would seem, why do we need a text editor? Microsoft Word to write a comment. However, there are various failures

  • on the site - everything seems to be in order, the comment was written, all the rules were followed, but the comment disappeared completely and was not published,
  • with entering a captcha when sending a comment - a person, of course, is not a robot, and can enter the captcha correctly, but no one is immune from errors,
  • with an Internet connection - right at the moment of sending a comment, as a result it will be lost without the possibility of recovery,
  • with electricity
  • and so on - as you know, everything that does not spoil also spoils, and therefore anything can happen, God forbid.

Therefore, if the comment is voluminous, it is better to first type it in text editor, then copy and paste into the comment field on the site. Then this comment will not be afraid of failures, malfunctions and errors, because you will have a copy of the message in a text editor, also saved on disk in a text editor, which is additional protection, for example, in case of a power outage. Accordingly, when all the problems are resolved, it will be possible to repeat the procedure for submitting a comment.

How to copy the text of a message in a text editor, for example, Word?

  1. First, the text must be highlighted (in other words, blued).
  2. Then simultaneously Ctrl+C (the key with the English letter “C”).
  3. Open the field for entering a comment on the site, be sure to place the mouse cursor in this field.
  4. Press two keys simultaneously Ctrl+V (letter “V” in English).

About comments for money

You can write comments not only from the heart, but also for money. But this will already be work with all the ensuing consequences.

There are special comment exchanges where customers post tasks for writing comments. And the performers fulfill such orders, which means they write messages on websites in accordance with the customer’s requirements. He, in turn, checks the work, pre-checks the written comments, and either accepts the work and pays for it at pre-agreed rates, or rejects it without payment.

In addition, there are content exchanges with similar work for those who want to write comments for money.

In details possible options work on commenting for money is given here.

Not long ago there was a need to slightly customize the comment form. When creating a theme from scratch, you want all the blocks and fields to correspond to the general concept of the idea.
What you don’t like and what seems superfluous in the standard form:

  • URL field
  • label for each field
  • the inscription “Your email will not be published” (or something like that)

Remove URL field from Wordpress comment form

There are several ways. You can delve into, so to speak, the core of WordPress. But in case of CMS update everything changes made will be reset, because files will be overwritten. The best option, in my opinion, is to add something like this to your functions.php:

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

Remove the inscription “Your email will not be published” above the form

Line approximately ~2235, you can find the desired piece using the phrase comment_notes_before . By default, this parameter is set to unnecessary text. We remove it, leaving the value empty, i.e. the value will simply be ""

Removing the signature for the comment text field

Right there in the file comment-template.php is about a line~2218 We are looking for the comment_form_default_fields argument. By default, its value contains and

And label. We delete all this, leaving as the value "