change the default scope for posts and categories