Blogging – Dividing Your Post into Pages in WordPress

February 13, 2008, filed under Blogging Insights


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:

post edit
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:

single post

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:

Read more:
Busby SEO Test – Adding Nofollow Without Changing Wordpress Codes Today I took a look at my stats and I...
Adding NoFollow to Any Links Generated by WordPress Update: Excessive use of “nofollow” attribute is not recommended. Instead...
Busby SEO Test – Wordpress Hack to Make Your Site Loads Faster Take a look at your site load speed. How long...
Avoid Wasted PageRank Juice – Why Would You Do These Blogging Tips? Update: It appears that nofollow is no longer effective to...

Tell others about the article!

Add to Mixx!

Fast and semi auto bookmark to 45 social bookmarking services!
Let me send you free updates!

What people say

4 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

 

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.



<<         >>

|