Comments on your WordPress blog are a double-edged sword. They can be great for engagement, but they also leave you open to spam attacks. Wide open, in fact. Akismet isĀ  a popular spam filtering service for WordPress, and it blocks about 7.5 million spam comments every hour. Spam comments can be incredibly frustrating to deal with, so much so, that some bloggers even choose to completely disable the commenting facility

I had a situation where values were being stored in a post as a particular custom field. Ordinarily, coding the value of the relative custom field into the template is not such a complicated thing to do. You just test whether the particular field exists for the relevant post and, if the value is not empty, display it as such: $meta_value = get_post_meta( $post->ID, 'customfield', true ); if (!empty( $meta_value