add footer and header blocks to widgets