wordpress - how to configure a down page link?

by 5 replies
6
Hi,

For an event page I am building in wordpress, I would like to have the feature where if I add "Register Now" in the copy, I can link it to the bottom of the page where the webform is...so if the person clicks on the hot link it will automatically take them to the bottom of the page.

Anyone know how to accomplish this?

styler
#programming #configure #link #page #wordpress
  • In your HTML view create an 'a name' tag:

    <a name="any-name-you-want"></a>

    Place that tag immediately before the point that you want them to jump to.

    Then make the 'Register Now' text into a link with this format:

    <a href="http://your-site.com/the-page/#any-name-you-want">Register Now</a>

    If you're on WordPress you need to put the full URL as above. If you're on a straight HTML site you can just use the #any-name-you-want as the href.

    Cheers,

    Martin.
    • [ 1 ] Thanks
    • [2] replies
    • thanks so much Martin!
    • Why would you say that? Named anchors work on a WP-generated page just as they do on any other page...:confused:
      • [1] reply

Next Topics on Trending Feed

  • 6

    Hi, For an event page I am building in wordpress, I would like to have the feature where if I add "Register Now" in the copy, I can link it to the bottom of the page where the webform is...so if the person clicks on the hot link it will automatically take them to the bottom of the page.