How to have different content in the loop and single

you can add additional information to your posts through using post meta:

http://wp.tutsplus.com/tutorials/plugins/how-to-create-custom-wordpress-writemeta-boxes/

If you want to check if WordPress is going to display just a single post/single page or more, you could use something like this before your loop:

$single_page = false;
if(is_single() || is_page()) $single_page = true;

And then in your loop you can simply write conditional code like:

if($single_page == true) echo 'single page';

Leave a Comment