Get current page

Grabs your current page number when using a pagination system. Useful for anything paging-related.

Code Snippet:

<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; ?>

Posted in Pages