Title: Had to modify your plugin
Last modified: August 21, 2016

---

# Had to modify your plugin

 *  [gastonius](https://wordpress.org/support/users/gastonius/)
 * (@gastonius)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/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.
 * [http://wordpress.org/extend/plugins/ob-page-numbers/](http://wordpress.org/extend/plugins/ob-page-numbers/)

The topic ‘Had to modify your plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ob-page-numbers.svg)
 * [OB Page Numbers](https://wordpress.org/plugins/ob-page-numbers/)
 * [Support Threads](https://wordpress.org/support/plugin/ob-page-numbers/)
 * [Active Topics](https://wordpress.org/support/plugin/ob-page-numbers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ob-page-numbers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ob-page-numbers/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [gastonius](https://wordpress.org/support/users/gastonius/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/had-to-modify-your-plugin/)
 * Status: not resolved