KNOWNHOST KNOWLEDGE BASE

Hosting Question? Find the Solution - Browse our Guides, Articles, and How-To's

How to Enable Gravatars in WordPress Comments?

Category: WordPress
Tags: # # # #

The use of avatars (small image representations that users pick to symbolize themselves) can add considerable personalization to a WordPress site, thereby increasing user engagement and enhancing the overall experience. One of the most popular ways of adding avatars to a WordPress site is in the comments section through the use of Gravatars. Gravatars, in […]

Why Aren’t WordPress Comments Appearing? Enable comments in WordPress

Category: WordPress
Tags: # # #

There are only about a million possible solutions to the problem of WordPress comments not appearing. However, there are only a handful of very common solutions to this problem. You’ve Used Pages Instead of Posts By default, WordPress doesn’t show comment forms on pages, only on posts. You can check this by logging into your […]

How to Set Comments as Dofollow in WordPress?

Category: WordPress
Tags: # # #

As a default behavior, WordPress will automatically set all URLs in post comments to be rel=”nofollow”. This is one way of reducing spam submissions, given that search engines may not give any value to outbound links which have this markup. If it has no SEO value, there’s little incentive for spam comments. There are occasions […]

What Cookies are Set with WordPress Comments?

Category: WordPress
Tags: # # #

When someone visits your WordPress comments section, they become commenters. As a commenter, a visitor will get 3 distinct cookies set on their local machine so that with each WordPress comment they don’t have to re-enter their name, email and URL over and over again. The 3 cookies are: By default, WordPress comments cookies should last for […]

What are Conditional Tags in WordPress Comments?

Category: WordPress
Tags: # # #

WordPress has a number of conditional tags that evaluate whether something is true or false, then based on the logical value, does one thing or another. Generally, if something is true take action, otherwise do not, then return to whatever it was doing. A simple example of a conditional tag in WordPress would be to […]

How to Stop Commenting on Older Posts?

Category: WordPress
Tags: # # #

Some site owners don’t want commenting on older posts, for a variety of reasons. Often, it’s because the content is time-sensitive, and it wouldn’t make much sense to revive old news. If you’d like to restrict your posts so that they don’t get comments after a certain number of days, apply the below steps. If […]

What Code Determines How WordPress Comments Behave?

Category: WordPress
Tags: # # #

WordPress will display comments in your theme based on whether comments have been submitted, providing it’s a single post or page, so long as your theme has the necessary comment template file present and providing you’ve got discussion options set so that comments are enabled. The theme file that determines how comments are displayed is […]

How to Stop Brute Force Attacks on WordPress Comments?

Category: WordPress
Tags: # # # # #

Be sure to check out our security section for loads more information about detecting and stopping brute force attacks on WordPress comments, WordPress sites, and websites in general. Note: KnownHost proudly provides a protective anti-DDoS network security layer to stop distributed denial of service attacks on all websites hosted with KnownHost. Read more about the KnownHost […]

How to Allow Attachments in WordPress Comments?

Category: WordPress
Tags: # # #

As a default behavior, WordPress restricts comments to just text (with some HTML markup allowed on a very limited scale). However, there are times when it would be nice to allow attachments, just as pics or documents, like Word or Excel, or even text document attachments. The sky is the limit – you could even allow video, […]