_n() Single and Plural for search results?

Instead of using ‘if’ loop it’s better to use special function:

<?php echo _n( 'article', 'articles', $count, 'my-plugin-domain' ); ?>

http://codex.wordpress.org/Function_Reference/_n

Leave a Comment

error code: 523