================================================ ==== INSTALLATION STEPS (for WordPress 1.5) ==== ================================================ See http://www.keyvan.net/code/paged-comments/ for the latest release of the plugin and up-to-date installation steps. If you're upgrading from a previous version of this plugin, skip these installation steps and read the upgrade steps below. 1. Download and extract plugin files to a folder locally. 2. [Optional] Edit paged-comments.php to configure. This step is not required -- you can always edit the file at a later time. 3. Upload paged-comments.php to your plugins folder (wp-content/plugins/). 4. In the themes folder, open the subfolder corresponding to the WordPress theme you'd like paged comments enabled on (or if your theme isn't listed, choose the 'default' folder). Upload the comments-paged.php file to the appropriate WordPress theme folder (found in wp-content/themes/). For example, if you're using the default WordPress theme, copy /paged-comments-plugin/themes/default/comments-paged.php to /wordpress/wp-content/themes/default/ 5. Within the theme folder (where you uploaded comments-paged.php in the previous step), edit any template files that invoke comments_template(), replacing the method call with this line: if (function_exists('paged_comments_template')) paged_comments_template(); else comments_template(); Do not edit comments-paged.php with this modification. Note: In WordPress 1.5, the comments template file is now part of each theme. So if you'd like paged comments functioning in all themes, you will have to carry out steps 4 and 5 for all your themes. 6. Enable paged comments plugin through wordpress admin interface. 7. [Optional] Edit .htaccess if you enabled the fancy_url feature in paged-comments.php. Make sure you enter these lines: RewriteRule ^(.+/)comment-page-([0-9]+)/?$ $1?cp=$2 [QSA,L] RewriteRule ^(.+/)all-comments/?$ $1?cp=all [QSA,L] at the end of the file beneath the '#END WordPress' marker (this ensures WordPress leaves the rule alone when updating the other rewrite rules. =================================== ========= UPGRADE STEPS =========== =================================== For upgrading from previous versions of this plugin to version 2. 1. Download and extract plugin files to a folder locally. 2. Open your existing paged-comments.php file from your plugins folder and copy the plugin parameters to a file. The parameters are everything between the START EDITING and END EDITING markers. 3. Open the new paged-comments.php file (supplied in this release) and replace everything between the START EDITING and END EDITING markers with the lines copied in the previous step. 4. Replace your existing paged-comments.php file with the newly edited file saved in the previous step. 5. The extracted plugin archive includes a 'themes' folder. Look inside and open the subfolder corresponding to the WordPress theme you're using (or if your theme isn't listed, choose the 'default' folder). Upload the comments-paged.php file to the appropriate WordPress theme folder (found in wp-content/themes/). For example, if you're using the default WordPress theme, copy /paged-comments-plugin/themes/default/comments-paged.php to /wordpress/wp-content/themes/default/ 6. Within the theme folder (where you uploaded comments-paged.php in the previous step), edit any template files that include the line: include(ABSPATH.'/wp-paged-comments.php'); and replace with this line: if (function_exists('paged_comments_template')) paged_comments_template(); else comments_template(); That should be it.