sidebar only relevant for wp pages. proper fix