paginate_links should have an argument to optionally output the current link

  1. Andrew Tetlaw

    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: 7 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    3 Votes
  • Status

    This idea is under consideration