May 25, 2012

WordPress Tips and Tricks – Comment moderation notice

I have found that most of the readers of MoreMerchant.com are bloggers that use wordpress. So from time to time I hope to give WordPress tips and tricks. If you have any you would like to submit please do!

In WordPress sometimes comments are held for moderation. It is nice so that users don’t submit duplicate posts to let them know that the comment is being held for moderation.

In the comment loop you need to add this:

< ?php if ( $comment->comment_approved == ’0′ ) { ?>

Thanks for your comment. It is currently in the moderation cue and will be visible nce it is approved.

< ?php } ?>

Pretty easy. What WordPress tips and tricks do you find handy?

[tags]Wordpress tips, wordpress tricks, moderation[/tags]

Build Your Own Wicked WordPress Themes
Build Your Own Wicked WordPress Themes

Wicked WordPress Themes is a step-by-step guide to creating beautiful themes for the world’s most popular CMS, WordPress. By following the book’s advice, readers can produce designs that are aesthetically stunning, consistent, and for-purpose -whether it’s for their own use,… Price: 39.95

Build Your Own Website The Right Way Using HTML & CSS
Build Your Own Website The Right Way Using HTML & CSS

With over 60,000 copies sold since its first edition, this SitePoint best-seller has just had a fresh update to include recent advances in the web industry. With the first two editions coming highly recommended by established, leading web designers and… Price: 29.95

Speak Your Mind

*