Skip to content

Instantly share code, notes, and snippets.

PHP: WP: Get $paged Query Variable
<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment