Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Fixing WordPress
    In reply to: Mass status change

    Use the following SQL commands:

    UPDATE wp_posts SET post_status='STATUS';

    Replace STATUS with private or public. This edits all posts by every user. If you have multiple authors and only want to edit one, you may use the following:

    UPDATE wp_posts SET post_status='STATUS' WHERE post_author='NUMBER';

    Remember to replace NUMBER with the correct ID number of the author.

Viewing 1 replies (of 1 total)