[theme-reviewers] Custom implementation of required hooks

Edward Caissie edward.caissie at gmail.com
Sat Mar 10 18:54:38 UTC 2012


I must not be understanding the question ... you want to use
`wp_link_pages` as an unordered list?

Wouldn't this work (rough and untested):
<ul><?php wp_link_pages( 'link_before=<li>&link_after=</li>' ); ?></ul>


Cais.


On Sat, Mar 10, 2012 at 7:11 AM, Chip Bennett <chip at chipbennett.net> wrote:

> What ticket?
>
>
> On Sat, Mar 10, 2012 at 5:47 AM, Konstantin Obenland <obenland at gmx.de>wrote:
>
>> I have a question concerning wp_link_pages().
>> In the codex, the function is listed under "Required Hooks and
>> Navigation" (
>> http://codex.wordpress.org/Theme_Review#Required_Hooks_and_Navigation).
>> Would it be okay for a theme to provide the same functionality, but with
>> a custom implementation?
>> In this case it's echoing it as an unordered list, which can't be
>> achieved through passing arguments to wp_link_pages().
>>
>> Looking forward to your insights,
>> Konstantin
>> _______________________________________________
>> 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/20120310/01dfd755/attachment.htm>


More information about the theme-reviewers mailing list