0

I want to get a link (like get_permalink($id) ) to it's specific page of a post (created by <!--nexpage--> tag)..

how to achieve this?

  • Have you tried with next_post_link() method? – WisdmLabs Jun 23 '15 at 12:33
  • @WisdmLabs that doesnt help. – T.Todua Jun 23 '15 at 16:14
1

You're looking for:

_wp_link_page( $page_number );

Must be used inside loop, and it return the opening tag:

http://wpseek.com/function/_wp_link_page/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.