Had to modify your plugin
-
Hi, thanks for your plugin!
Made two changes: first, changed the id=”wp_page_numbers” to class=”wp…, that way, we can have two in the same page and validate.
Also, added ob_prev and ob_next classes to the li elements (previous and next :), so we’re able to properly skin.
$pagingString.=sprintf("<li class='ob_prev'><a href='%s'>%s</a></li>",get_pagenum_link($current_page-1),$prevPage);
As a suggestion, if I may, I would add a “no skin” option.
https://www.ads-software.com/extend/plugins/ob-page-numbers/
- The topic ‘Had to modify your plugin’ is closed to new replies.