Page jump anchor points disappearing

  • Author
    Posts
  • #1128625

    I normally write my blog posts a week in advance and set them to publish automatically.

    When writing them, I normally set up page jumps – eg. “Click here to skip to the section about XYZ.”

    But when the posts are published, the links still function but the coding for the anchor points, ie. text has disappeared.

    Why? And what can I do about it?

    The blog I need help with is gabrielquotes.org.uk.

    #1128721

    Sorry, don’t know why my example of code didn’t show up above, but it’s the second example given at http://en.support.wordpress.com/splitting-content/page-jumps/#create-a-page-jump

    #1128744

    justpi
    Member

    To display code correctly here, you need to enclose it in backticks (see the note on “Allowed markup”).

    #1128839

    teunspaans
    Member

    Hi,

    I have a page with anchors like <a name=”123″ />.
    This worked fine in some pages, but in a new page all text after this anchor is not displayed. What causes this and what can I do about it?

    #1128840

    teunspaans
    Member

    Ugh, no preview here? The new line characters of course arent there. Maybe this works better:

    #1128841

    justpi
    Member

    a) To display code here, you don’t enclose each symbol in backticks, you enclose all the code in backticks.
    b) Viewing the sourcecode of this page I can see what you tried to paste, and it’s not correct: the a tag isn’t a self-closing tag. For correct coding see this post of mine:
    http://wpbtips.wordpress.com/2010/08/01/links-to-specific-points-on-a-page/

    #1128842

    teunspaans
    Member

    Justpi: thank you. That indeed solves it.
    I see these pages are html, not xhtml.

    #1128853

    ….but none of these actually answer my question :(

    #1128854

    justpi
    Member

    @gabrielinindia: If the code disappears it’s wrong code. So this should answer your question:

    For correct coding see this post of mine:
    http://wpbtips.wordpress.com/2010/08/01/links-to-specific-points-on-a-page/

The topic ‘Page jump anchor points disappearing’ is closed to new replies.