Using WordPress Post Excepts
Posted in Articles, Coding Tutorials, Wordpress on January 11th, 2011
Every once in a while I discover a new wordpress feature. Today that feature just happens to be post excepts, and I’d like to share it with you.
Introduction
If you have been using wordpress for a little while, you have probably noticed the little post except box underneath the wysiwyg editor, when writing a post. Until the other day, I never understood what this feature was, and how it could make my blogging that much easier. In this article/tutorial you will learn what post excepts are, and how to implement them in your theme.

What are post excepts?
Basically post excepts are little spans of text you can insert any where on your theme. In my case, I place them in my index.php right next to my post images. This allows me to write a little something about each post, without it being part of the actual post body. This is great for magazine style wordpress themes! Let’s take a look atwhat I’m talking about.

How can I include post excepts in my theme?
Simple, in fact, its just one line of code. here’s the code to output the post excepts for each post. All you have to do is place it somewhere in the wordpress loop.

Remember to include the code in both index and single .php. Happy Theming!


