made some slight changes
view logic for wordpress is now in the right place, lots of rearranging to make things make more sense