Support » Themes and Templates » Adding class to current page in wp_link_pages

  • We can pass some argument for wp_link_pages, including before pagination and after, but I can’t find argument for adding content before and after “Current Page” , so we can’t add class to current page.

    Currently the current page rendered without any HTML tag/rendered as plain text. I need to add extra HTML tag to current page like <span class="current">Page 1</span>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Adding class to current page in wp_link_pages’ is closed to new replies.