Is there a possibility to have a sectional hyperlinks like in wikipedia

  • Author
    Posts
  • #484934

    shirishag75
    Member

    Dear all,
    Many a times when I’m blogging I have to specify a point which is in one of the paragraphs of a previous entry. As of right now the only thing I do is giving the link to the article/blog post in question and not able to point to a section on the blog post. Does anybody know of a way to do it.

    Something for e.g. like http://en.wikipedia.org/wiki/Mars_Science_Laboratory#Launch_vehicle

    Now in the above wikipedia article, notice the #Launch_vehicle so even if the article is about the Mars Science Lab. if one is interested just in the Launch vehicle used in Mars Lab. that is easily pointed out.

    If somebody knows of a way to do the same would love to hear it.

    The blog I need help with is readingexperiences.wordpress.com.

    #485035

    phoxis
    Member

    What you need is page jumps: http://en.support.wordpress.com/splitting-content/page-jumps/

    You can have a look of this in my blog post as an example: http://phoxis.org/2010/05/08/what-are-id3-tags-all-about/

    #485036

    @shirishag75: You want to link from somewhere in post A to somewhere in post B. That possibility isn’t included in the doc phoxis linked to.

    You put this link code in post A (in the html editor, of course):
    <a href="URL OF POST B HERE#UniqueName">LINK TEXT HERE</a>

    And you put this at the appropriate target point in post B:
    <a name="UniqueName"></a>

    Where I’ve written UniqueName you can write anything, just make sure it’s exactly the same in that link/target pair, and it’s unique to that pair (for another link like that, you’ll need a different UniqueName).

    #485257

    shirishag75
    Member

    thanx guys, both the things are something I was looking for. But the question has been answered by panaghiotisadam in its entirety.

    #485590

    shirishag75
    Member

    @ panaghiotisadam: a follow up question. Does the ‘UniqueName’ have to be like that, for e.g. if the unique name is ‘Censorship’ does it have to be

    <a name="CensorShip"></a>

    or can it be

    <a name="Censorship"></a>

    Please see the difference in uppercase and lowercase for the letter ‘S’ in the UniqueName .

    Looking forward to knowing more.

    #485591

    shirishag75
    Member

    @panaghiotisadam: a follow up question. Does the ‘UniqueName’ have to be like that, for e.g. if the unique name is ‘Censorship’ does it have to be

    <a name="CensorShip"></a>

    or can it be

    <a name="Censorship"></a>

    Please see the difference in uppercase and lowercase for the letter ‘S’ in the UniqueName .

    Looking forward to knowing more.

    #485592

    raincoaster
    Member

    It has to be the exact word, and yes, it’s case-sensitive. But your unique words do not have to be DoubleCapitalized or even compound words. It can be any word at all as long as you use it exactly.

    #485594

    shirishag75
    Member

    @raincoaster: I tried the above but didn’t get it. For e.g. look at my latest post http://wp.me/pfuZu-eQ and specifically look at the link of

    As far as news is concerned, as I reported earlier about the Creative commons fund-raising, its exciting to see the progression as they are progressing roughly @ $1.5 to 2 grand a day and have already reached 1/4th of the target.

    The hyperlink I want you to see is earlier. It gives

    <a href="http://flossexperiences.wordpress.com/2010/06/10/linaro#CreativeCommons" target="_blank">earlier</a>

    and in the other post its at

    <a name="Creativecommons">A</a> very interesting initiative started by creative commons caught my eye. Creative commons is <a href="http://creativecommons.org/" target="_blank">raising</a> funds to the tune of <a href="https://support.creativecommons.org/donate?utm_source=ccorg&utm_medium=homepage_thermometer" target="_blank">$100,000</a> .

    The last paragraph on the blog post http://wp.me/sfuZu-linaro

    Please lemme know what’s wrong or what wrong I have done here.

    From whatever I understood it should get the link not to the whole post but to the paragraph which I’m pointing to. It doesn’t do that :(

    Sorry for the inconvenience.

    #485595

    You’ve put CreativeCommons in the first code but Creativecommons in the second. They have to be absolutely identical (as rain said, they’re case sensitive).

    #485596

    shirishag75
    Member

    Oops, bad me. Fixed it, thanx guys :P

The topic ‘Is there a possibility to have a sectional hyperlinks like in wikipedia’ is closed to new replies.