示例#1
0
 function navigate_comments($bool)
 {
     if (function_exists('wp_paginate_comments')) {
         wp_paginate_comments();
         $bool = true;
     }
     return $bool;
 }
示例#2
0
    function wallow_navigate_comments()
    {
        if (get_comment_pages_count() > 1 && get_option('page_comments')) {
            ?>
	<div class="navigation-links numeric-nav comments-navigation fixfloat">
		<?php 
            if (function_exists('wp_paginate_comments')) {
                wp_paginate_comments();
            } else {
                paginate_comments_links();
            }
            ?>
	</div>
<?php 
        }
    }