Adding support for post format for widget visibility