Functioning wordpress theme with index and posts