• Resolved BlackNeko

    (@blackneko)


    Hi, thanks for the plugin is a very nice work. All of my post are multipage. From what I see a normal post url is like http://webpage.com/?p=104 and the multipage post url is like http://webpage.com/?p=104&page=2 then I wonder if it is possible maybe in the next version make better anchor links scan all the pages of the post and create a single index? maybe using the url page=x plus the anchor? this is very usefull because the reader not have to go page by page looking for what interests.

    I just wanted to know if you can explain how to do it or maybe implement the code in the next version of better anchor links or just know if you’re not interested in that function in order to I find some other solution because i not much in php programming xD

    Again thanks for the plugin, very nice and very useful.

    http://wordpress.org/plugins/better-anchor-links/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter BlackNeko

    (@blackneko)

    by testing i gotta do it manually instead of placing the link like this:

    <a href="#my-anchor">Title in Page 2</a>

    i place:

    <a href="http://mywebpage.com/?p=104&page=2#my-anchor">Title in Page 2</a>

    and it works! I also saw that with the function wp_link_pages(); you can know how many pages have a post. I think it is a matter that the function find_content_links not only read the current post page but read all pages. Maybe the problem is here add_filter('the_content', array(&$this,'find_content_links')); where the wordpress function the_content dont pass to the function the entire post, him seems to stops at the <!--nextpage--> or maybe is because you use add_filter I really dont know i dont know much about wordpress function or php.

    I think it is possible without much change the code to add this functionality to the plugin maybe like a optional xD with a checkmark in the config panel saying unify index on multipage post

    Plugin Author elpresidento

    (@elpresidento)

    Multipage is not supported.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use better anchor links with multipage post’ is closed to new replies.