WordPress.org

Ideas

paginate_links should have an argument to optionally output the current link

  1. Andrew Tetlaw
    Member

    If you use paginate_links() to output pagination links the item for the current page will only output text within a span instead of the anchor tag.

    How about adding an argument like "include_current", default = false, that could control if the anchor tag for the current page was output too.

    This would be useful for example when ajaxifying the pagination links.

    Posted: 4 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    3 Votes
  • Status

    This idea is under consideration