[theme-reviewers] paginate_links() function - Reopened tickets

Ulrich Pogson grapplerulrich at gmail.com
Tue Apr 15 19:15:54 UTC 2014


@Afzaal _s does not have a custom pagination function. Could you share
where you found one?


On 15 April 2014 13:54, Chip Bennett <chip at chipbennett.net> wrote:

> The Guideline in question here is that Themes are required to support core
> implementation of features if they incorporate those features. WordPress
> provides a paginated link function, paginate_links()<http://codex.wordpress.org/Function_Reference/paginate_links>.
> Thus, if Themes want to incorporate paginated links as a Theme feature,
> they must use the core function.
>
> The normal implementation is for the Theme to create a wrapper function
> that sets up the arguments array to pass to paginate_links(), and then
> output the result of paginate_links( $args ).
>
>
> On Tue, Apr 15, 2014 at 7:02 AM, <wordpress at thinkupthemes.com> wrote:
>
>>
>> Hi all,
>>
>> Can I get some clarification on the use of paginate_links() as I notice
>> that quite a number of themes were reopened yesterday with this being a
>> common reason.
>>
>> I've checked the started theme _s and this function is not being used,
>> instead a custom theme function is used instead. Within twentyfourteen a
>> custom function is also used, however in this case paginate_links() is used
>> to form part of the custom function so is used in the twentyfourteen theme.
>>
>> Can a theme developer use a custom pagination function to output to a
>> template file, provided that the function itself incorporates the WordPress
>> function paginate_links()?
>>
>> Thanks,
>>
>> Afzaal
>>
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140415/f1f5198c/attachment.html>


More information about the theme-reviewers mailing list