1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

article sections in the wordpress post

Discussion in 'Blogging' started by raju11, Jan 29, 2011.

  1. raju11

    raju11 Newbie

    Joined:
    Oct 20, 2009
    Messages:
    39
    Likes Received:
    8
    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?
     
  2. roberteb

    roberteb Regular Member

    Joined:
    Oct 30, 2010
    Messages:
    402
    Likes Received:
    120
    Location:
    UK
    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.