WordPress Loop if/else

I am trying to create a loop for a custom post type that first calculates how many posts it contains. If it only contains one post, it should simply display the content area of the post. If the post contains more than 1 post it should display the excerpts of all the posts in the loop. Has anyone figured this out?

Read more here: WordPress Loop if/else

Leave a Reply

Your email address will not be published. Required fields are marked *