Skip to content

Instantly share code, notes, and snippets.



Block or report user

Report or block trainoasis

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mtx-z / wp-bootstrap4.4-pagination.php
Last active Dec 11, 2019
Wordpress Bootstrap 4.4 pagination (with custom WP_Query() and global $wp_query support)
View wp-bootstrap4.4-pagination.php
* @param WP_Query|null $wp_query
* @param bool $echo
* @return string
* Accepts a WP_Query instance to build pagination (for custom wp_query()),
* or nothing to use the current global $wp_query (eg: taxonomy term page)
* - Tested on WP 5.3
You can’t perform that action at this time.