[Plugin: WP-Paginate] Install question
-
This is a php question that maybe can be answered by anyone familiar with code.
The install instructions say “Replace your existing previous_comments_link() and next_comments_link() code block with the following: `<?php if(function_exists(‘wp_paginate_comments’)) {
wp_paginate_comments(); } ?>`”Does that mean replace:
<div class="commentnav"> <div class="commentnav-right"><?php next_comments_link(__('Next Comments ↑','comicpress')) ?></div> <div class="commentnav-left"><?php previous_comments_link(__('↓ Previous Comments','comicpress')) ?></div>So it looks like this:
<div class="commentnav"> <div class="commentnav-right"><?php if(function_exists('wp_paginate_comments')) { wp_paginate_comments(); } ?></div> <div class="commentnav-left"><?php if(function_exists('wp_paginate_comments')) { wp_paginate_comments(); } ?> </div>Or this:
<div class="commentnav"> <div class="commentnav-right"><?php if(function_exists('wp_paginate_comments')) { wp_paginate_comments(); } ?> </div>I’m sorry if this is a dumb question but I know enough about php to know that a single comma or period in the wrong place can break everything. Seeing EXACTLY what the finished product should look like is the only way us non-programmers can be sure we’re doing it right.
The topic ‘[Plugin: WP-Paginate] Install question’ is closed to new replies.