WordPress 2

Viewing & Entering Comments

In most WordPress themes, comments appear only in a single post viewthat is, a page that displays only one post at a time. You can view a post and its comments by opening the permalink for the post.

In most cases, comments will be entered on your blog by its visitors. But in many instances, you'll want to reply to a comment entered on your blog or write a comment on someone else's blog.

In this part of the chapter, we explain how to enter comments for a blog post.

Tip

  • A permalink is a permanent link for a post. We tell you more about setting options for permalinks in Chapter 2.

To view a post & its comments

Click the permalink for the post. This is normally the title of the post (Figure 4).

Or

Click the comment link in the post. This normally indicates how many comments the post has (Figure 4).

Figure 4. You can click a post's permalink or comments link to view the post and its comments.

The post and its comments, along with a comment form, appear on a page (Figure 1).

Tip

  • When you click the comment link for a post, you are immediately taken to the comments area at the end of the post.

To enter a comment

1.

If necessary, display the post and its comments as instructed on the previous page.

2.

Scroll down to the comment form at the bottom of the post (Figure 5a or 5b).

Figures 5a & 5b. The comment form for a user who is not logged in (top) and for a user who is logged in (bottom).

3.

If necessary, enter the required information at the top of the form (Figure 5a).

4.

Enter the text of your comment in the large text box at the bottom of the form.

5.

Click Submit Comment.

Tips

  • How the comment form appears depends on whether you are already logged into the blog. Figure 5a shows the form for someone who is not logged in or has never left a comment on the blog. Figure 5b shows the form for someone who is logged in.

  • If you are not logged in but have left a comment on the blog before, the comment form will look like the one in Figure 5a with the top fields filled in from information you provided the last time you entered a comment. This information is stored in a cookie in your Web browser.

  • In step 4, your comment can include basic HTML commands for formatting.

  • In step 5, the button for submitting the comment may be labeled differently, depending on settings for the blog's theme. Figures 5a and 5b show the Default theme.

  • Your comment may or may not appear immediately, depending on how moderation options have been set by the blog's administrator.

Категории