modified main page query posts so to only retrieve topic posts