Blogging – Dividing Your Post into Pages in WordPress


I can’t believe I just found out that multi paged post can be done without a plug in. At first, I tried one from Angsuman’s, which for some reason didn’t work on my blog. I didn’t know whether it’s because of theme incompatibility or else. Even so, others using the plug in have reported satisfied with the plug in. If you feel more comfortable using a plug in, download it here.

However, if you don’t want to clutter your plug in section, here’s how you can add the codes manually.

First, let’s open the post editor of any post you want to divide into pages. Go to code view and find a spot where you want the post to break to the next page. After you’ve found it, add <!–nextpage–> into the codes like the following:

On some themes, adding the above code alone won’t display your multipage link. So refresh your post to see if the links appear or not. If it does, mission completed :) ! If it doesn’t, there’s one more step to go.Open your single.php and locate the code to display your post’s content and then add the following code:

<div class=”pagelink”><?php wp_link_pages(‘pagelink=Page %’); ?></div>

As in mine, it looks like:

You can look for the similar part in your source code and then add the codes afterwards. Simple, isn’t it?

If you want to style your links, there are a couple of options you can find on WordPress’ Documentation

Update February 14 2008: I’ve just found out that dividing your post into pages will cause your feed to send only the first page instead of the whole post! I’m sorry I didn’t realize this earlier :oops: . I noticed it when my own mail feed arrived. For the moment, if I have another long posts, I’ll post them as series to ensure you all read the whole post. :grin:

Update ends
——————–

Technorati Tags: multi paged post

Use the buttons above to share. You only keep what you share :)

Read more:
How to Get Rid of Spam on Your WordPress This is a guest post written by Gracie Roloff. Gracie...
Busby SEO Test – WordPress Hack to Make Your Site Loads Faster Take a look at your site load speed. How long...
Simplifying WordPress Life If you thought that WordPress was just a tool for...
Adding NoFollow to Any Links Generated by WordPress Update: Excessive use of “nofollow” attribute is not recommended. Instead...


Let me send you free updates!

What people say

7 Comments »

Nick Grimshawe on 2008-09-10 05:26:37 said Subscribed to comments via email

I read your article with interest but wasn’t sure what the benefit of splitting the post is? I know that having too much text on a single page can turn some people off. Is there any advantage regarding Google Rank of SEO?

Nick

Louis Liem on 2008-09-10 06:37:10 said

No significant effect in my opinion, except that you will have more pages about the same topic indexed in search results. And they’re not duplicate contents but listed as different pages one another :)

 
 
Firewalker on 2008-09-24 10:35:46 said

Thanks, your method is handy. I will explain the true meaning of paged posts.

The function is like this: If somebody wrote an essay-like-post which consists of pages or chapters, this will surely handy. How about the truncated feed? I think that is also necessary because, Essays are long, that’s why they have an abstract. This is the function of truncated feed, as they only put the abstract of the essay. (who needs to read the whole essay in a feed? that’s just crazy :) )

Firewalkers last blog post..Have a Nice Ramadhan Fasting Year 1429 Hijr

 
Google Informer on 2010-03-03 15:04:59 said

thanks very much. That’s wehat I need exactly
.-= Google Informer´s last blog ..3 letters domain CIF.COM pending detelted =-.

 
vaseem ansari on 2010-08-11 14:07:04 said

Hello dear.
u have a nice blog, do u want link exchange with my blog.
http://www.VaseemAnsari.blogspot.com
the above post of urs is not working on my wordpress blog.
thanks
vaseem ansari´s last [type] ..Sony Ericsson Secret codes for IMEI Number- smilies for messagesMy Profile

 
gimly on 2010-09-10 17:56:52 said

Thanks alot! That’s exactly what I needed. Much appreciated!
gimly´s last [type] ..Сериал със зомбита по комикс – йеее! The Walking Dead previewMy Profile

 
AfroDiva on 2012-01-19 03:00:29 said

Great tip on how to break post into pages, i’ve been searching for this function. Glad to have stumbled upon it here!
AfroDiva´s last [type] ..Teen Mom (Amber Portwood) Attempted SuicideMy Profile

 

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!
 

Author / Blog Name
E-mail (optional)
URI
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.



<<         >>