WordPress.org

Ready to get started?Download WordPress

Forums

Linking to specific paragraph on page from button (3 posts)

  1. Boz2006
    Member
    Posted 5 years ago #

    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.

  2. curtismchale
    Member
    Posted 5 years ago #

    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.

  3. Boz2006
    Member
    Posted 5 years ago #

    That's great - many thanks (apologies for delay in replying).

Topic Closed

This topic has been closed to new replies.

About this Topic