0

I am trying to create a post to show top 10 movies of 2013.

I have created a post with the same heading. However how can I show the post with next buttons. That is position 10 movie should be first, with corresponding image and some text.

Then on clicking next button go to 9th movie. like that the last screen should be the 1st movie.

Is there any plugins available? or how can I achieve it.

2
  • 1
    You mean you want single post navigation for one specific category named videos? Commented Dec 31, 2013 at 14:51
  • Please explain what you are doing in more detail. What are you movies? A CPT?
    – s_ha_dum
    Commented Dec 31, 2013 at 14:57

2 Answers 2

1

WordPress has Page-Links links feature that allows to easily and natively split single post into multiple pages.

The pages are separated using <!--nextpage--> tag and normally theme should automatically handle output, using wp_link_pages() template tag.

1
  • Thanks for the help :) It did the trick :) I will Up vote Once I have enough point :)
    – TBA
    Commented Jan 4, 2014 at 12:02
1

No, you do not need a plugin to do this.

Just put this code into your while loop in single.php, if you could not find it, put in index.php. Put after the_content(); or wherever you want the link appears.

<?php wp_link_pages(); ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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