Example of a Post Type of Gallery in WordPress – this will automatically gather any attached images to a post and display them as a slider both here on the blog index page and also the individual post page – also note that if your category for the homepage loop is chosen, your gallery images will be displayed in a slider as well.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi commodo, ipsum sed pharetra gravida, orci magna rhoncus neque, id pulvinar odio lorem non turpis. Nullam sit amet enim.