disable posts unless config has enabled flag set to true