Installation Guide
Installation Guide
Follow these steps to install and activate the Private Comments plugin on your WordPress site. This process involves uploading the plugin files directly through your WordPress administration dashboard.
Prerequisites
- A running WordPress website (Version 5.0 or higher recommended).
- Administrator access to the WordPress dashboard.
- The plugin ZIP file, which can be downloaded from the GitHub Releases page.
Step-by-Step Installation
-
Download the Plugin
Navigate to the latest release and download thewp-private-comments.zipfile to your local machine. -
Access the WordPress Admin
Log in to your WordPress site and navigate to the Plugins menu in the left-hand sidebar. -
Upload the Plugin
- Click on the Add New button at the top of the page.
- Click the Upload Plugin button.
- Choose the
wp-private-comments.zipfile you downloaded in Step 1. - Click Install Now.
-
Activate the Plugin
Once the installation is complete, click the Activate Plugin button.
Verification
After activation, the plugin begins working immediately. You can verify the installation by checking the following:
- Plugin List: Ensure "Private Comments" appears in your Installed Plugins list with an "Active" status.
- Visibility Check: Log in as a standard user or a guest. Post a comment on a blog post. Log out or log in as a different non-administrative user; you should not see comments authored by others unless you are the post author or a site administrator.
Troubleshooting
- File Size Limits: If you encounter an error during upload related to file size, ensure your server's
upload_max_filesizeis set to at least 2MB. - Folder Permissions: Ensure your
/wp-content/plugins/directory is writable by the web server.
Alternative Installation (WP-CLI)
For developers or system administrators using the command line, you can install the plugin using WP-CLI:
# Navigate to your WordPress root directory
cd /var/www/html
# Install and activate from the ZIP URL
wp plugin install https://github.com/UditAkhourii/wp-private-comments/archive/refs/heads/main.zip --activate