Corrected in Function Name Error
Moved have_posts() elements out of index and into content loops