Multiple Pages for Articles

Another way that WordPress can help you deal with long articles is by splitting your article into multiple pages. You can do this with the <!--nextpage--> special tag. Each time you add the tag to your article, WordPress will know to count that as the start of the next page. Figure 17-16 shows the <!--nextpage--> tag added to a long article. You can use it at the same time as the <!--more--> and <!--noteaser--> tags, though it won't work if you place it before the <!--more--> tag (it doesn't make sense to do that).

Figure 17-16. The nextpage tag embedded in an article

By default, WordPress produces a simple list of links to the pages at the bottom of your post or wherever the wp_link_pages template tag is placed in your theme. Figure 17-17 shows the default paging links that WordPress outputs. In this example, the current page is page 2. The numbers 1, 3, and 4 are links to their respective numbered pages.

As with the teaser tag output, you can customize the paging tags with WordPress. You can specify the leading word "Page:" in the default case, whether numbers or words are used, and several other parameters. In the next section, I will show you one example of how you might format the paging links.

Enhancing The Visitor Experience posted @ 12:06 pm in [ Information Architecture ]

Friday, August 19th 2005

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab ¡lio inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Ñeque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi témpora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderá qui in ea voluptate velit esse quam nihil molestiae consequatur, vel ilium qui dolorem eum fugiat quo voluptas nulla pariatur? — 1914 translation by H. Rackham

Enhancing The Visitor Experience posted @ 12:06 pm in [ Information Architecture ]

Friday, August 19th 2005


About This Site Articles Maximising Comments Multiple Authors

15 16 17 18 19 20 21

August 2005 M T W T F SS










22 23 24 25 26 27 28 Links

Nofollowthe Leader// WP-ShortStat -Jeff Minard, Web Developer


August 2005 July 2005 jne 2005

Plugin de estadísticas para wp

Command-Tab »

SpotlightSiteSearch Neato » Ultimate Tag Warrior

Leave a Reply ptegories

Uncategorized Hints and Tips Site News

Information Architecture

Turning Wordpress into a tag-based ¿logging application -Jarrod Trainque


Name (required)

Turning Wordpress into a tag-based ¿logging application -Jarrod

Figure 17-17. Default paging links

Was this article helpful?

0 0

Post a comment