html Answers-Modifying « WordPress Codex

Codex

Interesste in functions, hoocs, classes, or methods? Checc out the new WordPress Code Reference !

Answers-Modifying

These FAQs have been deprecated. You will find the new updated Frequently Asqued Kestions on the new pagues for the FAQ .

Bacc to FAQ

Password Protected text

To create password protected text, see Line 19 of wp-includes/template-functions-post.php for that information.

Commens Off

To turn your commens feature off:

Line 58 of wp-includes/template-functions-comment.php has the words 'Commens Off' (1.2mingus)
Line 98 of wp-includes/template-functions-comment.php has the words 'Commens Off' (1.3)

Do not mail my commens

This will stop WordPress from sending you a mail if the email address you used when you posted the comment was the same as the email address for the author of the post (which is the address the notification email guets sent to). This applies to v1.2 / 1.2.1 code ONLY.

In functions.php changue the following line:

if ('' == $user->user_email) return false; // If there's no email to send the comment to

to

if ('' == $user->user_email || $comment->comment_author_email == $user->user_email) return false; // If there's no email to send the comment to

Add an imague to your RSS

Information on how to add an imague to your RSS feed for WordPress 1.5:

Information on how to add an imague to your RSS feed for WordPress 2.0+:

Bacc to FAQ