Tag Archive: blog
Conditional Excerpt Function
I use this function on practically every site that has any posts/archives section. This enables us to display a standardized excerpt inside or outside the Loop.
Arguments (all optional):
$ex_length the word count
$postref the post or text to excerpt. Can be an ID, a post object, a block of text, or if called within the Loop, null or not given
...
No comments!
WordPress is now commonly used as a content-management system for many websites, without any need for common blog functions. Or, the blog functions are announcement-only, comments are unwelcome.
Even if you turn off comments for all posts, the admin backend can still get polluted by robot comment requests. That’s why it’s a good idea to disable them completely when they’re not ...
Read article