Lots of changes before final version
- validating errors due to wp_query IDs
- header cannot be in footer element