TODO:
/**
*
* @param {array} $params
* $params['type'] {string} Data format. Valid values are: plain, list, array
* $params['collection'] The action response that is used to query posts, pages of categories.
* $params['assign_to'] Variable within the template engine to which the content has to be assigned.
*
*
* @example
*
* # EXAMPLE 1
*
* {paginate type="plain"}
* <!-- this will output: -->
* <span class='page-numbers current'>1</span>
* <a class='page-numbers' href='http://yourdomain.com/blog/page/2/'>2</a>
* <a class="next page-numbers" href="http://yourdomain.com/blog/page/2/">Next ยป</a>
*
*
*
* # EXAMPLE 2
*
* {paginate type="array" assign_to="pagination"}
* {if $pagination.total > 1}
* <div class="pagination">
* <ul>
* {foreach $pagination.data as $page}
* <li>{$page}</li>
* {/foreach}
* </ul>
* </div>
* {/if}
*
*
* @link http://codex.wordpress.org/Function_Reference/paginate_links
*
*/