Support » Themes and Templates » Link to Fragment Indentifier

  • I am a novice to themeing/php, but I do have a programming background and I am a web developer.

    I have the following code in the header.php of the theme I am working on:
    <a href="#content">go to main content</a>

    and the resultant code on a live page is”

    <a href="">go to main content</a>

    How do I keep it from adding the domain?

    Thanks all.

Viewing 1 replies (of 1 total)
  • The theme I am creating is XHTML 1.1 so named anchors will not validate.

    In doing some research I have seen some mention of the possibility of finding an Absolute Link plugin to help solve this. I will have more time to check on this tonight, I think.

Viewing 1 replies (of 1 total)
  • The topic ‘Link to Fragment Indentifier’ is closed to new replies.