I have a short story site and on the front page I want to make it so it only shows the excerpt. It works, this is what I have in my index.php:
<?php if(is_category(1,2,3) || is_archive() || is_home()) {
the_excerpt();
} else { the_content('(more)');
} ?>
I'm not exactly sure if using multiple categories work.. but anyway.
It works fine, but I have another category called 'Recommendations' which is basically a category where all my recommendations go.
It has the ID of 4, so that's why I did the 1,2,3 but I'm not sure if that's even 'allowed'?
Anyway, for any post that comes up in archives/home/categories I don't want it to show up as an excerpt - but as a full post.
Is this possible?