Hide buttons on non-post pages.