This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A quick and dirty fork of Wordpress' paginate_links function, modified to output HTML code | |
* compliant with the Bootstrap Pagination component. | |
* | |
* @global WP_Query $wp_query | |
* @global WP_Rewrite $wp_rewrite | |
* | |
* @param string|array $args { | |
* Optional. Array or string of arguments for generating paginated links for archives. |