WordPress.org

Ready to get started?Download WordPress

Forums

Page number in a 'title' for a separate post (1 post)

  1. northernjohny
    Member
    Posted 4 years ago #

    I have:
    A big post in wordpress divided into, say, five pages with the help of the <!--nextpage--> tag.
    By default, the page numbers and links are displayed in the 'body' with the help of the "wp_link_pages()" or "link_pages()" code.
    The 'title' displays, for example:
    Blog-Name | Post-Name
    What I need:
    To display the page number in the title of the 'single.php' template.
    For example:
    Blog-Name | Post-Name | Page-number
    However I tried, I cannot display the page number.
    Various plugins can display page numbers only in the 'title' of 'index.php' or 'archive.php'
    But in separage posts divided into pages the page number is not displayed
    Please, give me some advice.
    PS. Do not judge me strictly - I'm a novice.

Topic Closed

This topic has been closed to new replies.

About this Topic