Find current page number in paginated post (1 post)

  1. Vincec
    Posted 7 years ago #

    I have a request to display different sidebars on different pages of a paginated post. I have look at all the options for the wp_link_pages tag, and I cannot find a simple way to know if I am on page 1, 2, ect... I am not using the default settings for the permalinks, so the URL only shows "/#/" at the end of the post. I could strip that value out of the URL, but I want to know is there a tag or function that will tell me what page of a post I am on?

Topic Closed

This topic has been closed to new replies.

About this Topic