<div dir="ltr"><div>@<span style="font-family:arial,sans-serif;font-size:13px">Afzaal - I thought it was ok as it was just a older and newer post link.</span></div><div><br></div><div>For others<br></div><div><font face="arial, sans-serif"><a href="https://github.com/Automattic/_s/blob/master/inc/template-tags.php#L14-L35" target="_blank">https://github.com/Automattic/_s/blob/master/inc/template-tags.php#L14-L35</a></font><br>
</div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I tried to get the same result as the _s code with paginate_links() but was unsuccessful.</font></div><div><font face="arial, sans-serif"><br>
</font></div><div><font face="arial, sans-serif">@Chip Would that also mean theme authors would not able allowed to support these plugins.</font></div><div><font face="arial, sans-serif"><a href="http://wordpress.org/plugins/wp-smart-pagination/" target="_blank">http://wordpress.org/plugins/wp-smart-pagination/</a><br>
</font></div><div><font face="arial, sans-serif"><a href="http://wordpress.org/plugins/wp-pagenavi/" target="_blank">http://wordpress.org/plugins/wp-pagenavi/</a><br>
</font></div><div><br></div><div>---------</div><div><font face="arial, sans-serif">@Admins</font></div><div><font face="arial, sans-serif"><br></font></div><div>Could we have a list of features which fall under this guideline?</div>
<div>"<span style="font-family:arial,sans-serif;font-size:13px">Themes are required to support core implementation of features if they incorporate those features."</span></div><div><br></div><div>I know that a few are listed in the <a href="http://make.wordpress.org/themes/guidelines/guidelines-recommended/">recommended section</a> and the settings API/customizer API is an exception to this guideline.</div>
<div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 April 2014 21:21, <span dir="ltr"><<a href="mailto:wordpress@thinkupthemes.com" target="_blank">wordpress@thinkupthemes.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ulrich,<br>
<br>
Sure, I found the function _s_paging_nav() in inc/template-tags.php. In _s this function doesn't incorporate paginate_links(). I found this in the latest version of _s which I downloaded earlier from github.<br>
<br>
Let me know if I've misunderstood something.<br>
<br>
Afzaal<br>
<br>
<br>
<br>
Quoting Ulrich Pogson <<a href="mailto:grapplerulrich@gmail.com" target="_blank">grapplerulrich@gmail.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
@Afzaal _s does not have a custom pagination function. Could you share<br>
where you found one?<br>
<br>
<br>
On 15 April 2014 13:54, Chip Bennett <<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>> wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
The Guideline in question here is that Themes are required to support core<br>
implementation of features if they incorporate those features. WordPress<br></div>
provides a paginated link function, paginate_links()<<a href="http://codex.wordpress.org/Function_Reference/paginate_links" target="_blank">http://codex.<u></u>wordpress.org/Function_<u></u>Reference/paginate_links</a>>.<div>
<div class="h5"><br>
Thus, if Themes want to incorporate paginated links as a Theme feature,<br>
they must use the core function.<br>
<br>
The normal implementation is for the Theme to create a wrapper function<br>
that sets up the arguments array to pass to paginate_links(), and then<br>
output the result of paginate_links( $args ).<br>
<br>
<br>
On Tue, Apr 15, 2014 at 7:02 AM, <<a href="mailto:wordpress@thinkupthemes.com" target="_blank">wordpress@thinkupthemes.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi all,<br>
<br>
Can I get some clarification on the use of paginate_links() as I notice<br>
that quite a number of themes were reopened yesterday with this being a<br>
common reason.<br>
<br>
I've checked the started theme _s and this function is not being used,<br>
instead a custom theme function is used instead. Within twentyfourteen a<br>
custom function is also used, however in this case paginate_links() is used<br>
to form part of the custom function so is used in the twentyfourteen theme.<br>
<br>
Can a theme developer use a custom pagination function to output to a<br>
template file, provided that the function itself incorporates the WordPress<br>
function paginate_links()?<br>
<br>
Thanks,<br>
<br>
Afzaal<br>
<br>
<br>
______________________________<u></u>_________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.<u></u>wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/<u></u>mailman/listinfo/theme-<u></u>reviewers</a><br>
<br>
</blockquote>
<br>
<br>
______________________________<u></u>_________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.<u></u>wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/<u></u>mailman/listinfo/theme-<u></u>reviewers</a><br>
<br>
<br>
</div></div></blockquote></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
<br>
______________________________<u></u>_________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.<u></u>wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/<u></u>mailman/listinfo/theme-<u></u>reviewers</a><br>
</div></div></blockquote></div><br></div>