I'm developing a theme which supports WordPress' post formats. As a result I am using a big if statement, which can be found below.
- I would like to link my post titles to the posts while maintaining my theme as XHTML valid.
- I would like to call images (with classes) in the if statement while maintaining my theme as XHTML valid.
- I would appreciate if somebody could add the appropriate code to the following code to do so
_
if ( has_post_format( 'video' )) {
echo the_title();
echo the_excerpt();
}
EDIT: Basically, the most important thing I'm looking for is that it calls the post name as a link which links to the actual post.