• Hi,

    I use “Table of Contents Plus” and just began with “Wp Table of Paginated Contents” for long paginated posts.

    I got the following problem with paginated posts :
    The links from the widget “Table of Content plus” is defined in code relative to the Id “href:’#id_text_for_title_in_table.
    The submitted url is “Site_ref?p=numpost&page=nn#id_text_title

    The page=nn is wrong : it is always the current displayed page while the table is relative to the whole post… so the id is unknown and the link crashes

    This is a bug which come from the fact that the table is produce for a current “post” and that the full url with postnum and pagenum is extented locally by js which don’t take in account this feature

    “a table of content with id of titles referring to the whole post into a current displayed page of a paginated post..”

    note : If you don’t use the widget you get only the table of the current page into the post.

    So it seems currently impossible to get a full table of a paginated post.

    Best regards

    Trebly

    note : I tried to check the code and find if the problem was simple, but as I don’t know well the product for now I have not found where the full urls are generated (the sent html is href:”#title_text_id” which is extended using js – JQ I imagine -, I have not found where (no time to check code – I have to produce documents),
    and more I don’t know how the page of the id_title can be get locally or by php – in such case an array or function giving pageof(‘id_title’) should be available

Viewing 1 replies (of 1 total)
  • Thread Starter Trebly

    (@trebly)

    Hi,

    Finally, I debug and change the code which was not taking in account at all the pagination.

    The job is now done without any help.

    If somebody is interested in :

    Get a table of contents with good links to headings into pages of a paginated post

    don’t worry I have developped and got the solution.

    Best regards

    Trebly

    Note : it is not resolved because I am the lonely user which has the solution, others keep the the error.

Viewing 1 replies (of 1 total)
  • The topic ‘Tables with pagination (paginated post) links error’ is closed to new replies.