article sections in the wordpress post

raju11

Newbie
Joined
Oct 20, 2009
Messages
39
Reaction score
5
How can i make sections in wordpress post?

Main article:
Code:
http://www.babycenter.com/0_ten-tips-for-labor-coaches_1072.bc

Code:
http://www.babycenter.com/0_ten-tips-for-labor-coaches_1072.bc#articlesection1
http://www.babycenter.com/0_ten-tips-for-labor-coaches_1072.bc#articlesection2
http://www.babycenter.com/0_ten-tips-for-labor-coaches_1072.bc#articlesection3

Is there any plugin or code?
 
You can use named anchors like this

Code:
<body>
<p><a href="#">Named anchor one</a><br>
  <a href="#">Named Anchor two</a><br>
  <br>
  Anchor one<a name="Anchor1"></a><br>
  <br>
Some text</p>
<p>Anchor Two<a name="Anchor2"></a></p>
<p>Nore text</p>

When either link is clicked you're positioned at the relevant named anchor.
 
Back
Top