Is there a way to publish all pages at once? I've created about 80 pages yet none are published - do I have to do each one manually?
Is there a way to publish all pages at once? I've created about 80 pages yet none are published - do I have to do each one manually?
If you have access to your database through a tool (like say phpMyAdmin) that allows SQL queries, this will do it:
UPDATE wp_posts SET post_status = REPLACE(post_status, 'draft', 'publish') WHERE post_type = 'page';
If using a different table prefix than the default (wp_), modify the name of the posts table -- wp_posts -- to suit.
This topic has been closed to new replies.