Just what I needed!
-
Five stars indeed! It is just what I needed! Other plugins wouldn’t show the posts well, or would not link pagination well… But this was the only one I could find that did it for me!
The only thing that this plugin should be ready for is another plugin called WP-PageNavi. Thanks to another user, I could manage to show it with this code:
if( function_exists('wp_pagenavi')) { $output .= wp_pagenavi( array( 'echo' => false) ); } else { if($_opts['cur_page'] > 1) { $output .= "<span class='pfpNav'>" . get_previous_posts_link($_opts['prevText']) . "</span>"; } if($_opts['cur_page'] < $page_links_total) { $output .= "<span class='pfpNav'>" . get_next_posts_link($_opts['nextText']) . "</span>"; } }and commenting this other one to hide the stock pagination:
if($_opts['cur_page'] > 1) { // show prev $output .= "<span class='pfpNav'>" . get_previous_posts_link($_opts['prevText']) . "</span>"; } if($_opts['cur_page'] < $page_links_total) { // show next $output .= "<span class='pfpNav'>" . get_next_posts_link($_opts['nextText']) . "</span>"; }Now, I am a happy man!!
The topic ‘Just what I needed!’ is closed to new replies.