How can I temporarily remove content from all pages, but leave up URL?
Depends on what you mean by “content”. If you just want to remove the post body then… function remove_body_wpse_97291($content) { return “Content temporarily removed”; } add_filter(‘the_content’,’remove_body_wpse_97291′,100); If you want more aggressive content removal… function remove_all_content_wpse_97291($content) { include(‘license.txt’); // example loads the WordPress license agreement as raw text; not pretty exit; } add_filter(‘template_redirect’,’remove_all_content_wpse_97291′,1); The URLs stay … Read more