WordPress.org

Support

Support » How-To and Troubleshooting » Linking to specific paragraph on page from button

Linking to specific paragraph on page from button

  • Could anyone please explain how I can create a link to a specific point on a page within my blog?

    I can do the link.

    It’s the specific destination position (beginning of paragraph) that I can’t see.

    Do I have to set up a destination marker?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • you need to make an anchor on the page and then link the button to the anchor. use this code (substitute the name you need) to link to

    <a name="form'></a>

    and this is the code to generate the link:

    <a href="#form">Sign up below.</a>

    again obviously you need to change the names to suit.

    That’s great – many thanks (apologies for delay in replying).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Linking to specific paragraph on page from button’ is closed to new replies.
Skip to toolbar