Forums

wp_link_pages('next_or_number=next') (3 posts)

  1. dancer
    Member
    Posted 2 years ago #

    Can someone confirm if this is a bug? Calling wp_link_pages() with next_or_number=next doesn't work. No HTML output appears. I tried this in index.php. It works fine with next_or_number=number.

    It looks like this has been around for a while:
    http://wordpress.org/support/topic/184953

  2. MichaelH
    Volunteer
    Posted 2 years ago #

    If I read the code right it seems that it does test for next_or_number=number, and any other value for that argument is not really handled.

    Could be that the documentation is wrong...

    If you think the docs are correct and that argument should do something different, please consider reporting that as a bug to Trac (see Reporting Bugs).

  3. dancer
    Member
    Posted 2 years ago #

    My guess is that "next" should be handled because it is handled on other page types. I just tried single.php. It works there.

    I'll read up on how to report bugs. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.