WordPress.org

Ready to get started?Download WordPress

Forums

Jump to top of page - long posts (3 posts)

  1. klattertradet
    Member
    Posted 5 years ago #

    I write long posts and after scrolling down 10 posts I'd like the reader to be able to choose not only »Previous – Next«, but also »Top of Page«. This would give them quick access to the Sidebar, rather than scrolling their way back up again.

    I imagine this is fairly common and there are good solutions out there. I've looked around a bit but just might have missed it. I'm fairly new to WordPress and code, but I'm slowly getting the hang of it and have cusomized a theme for my site that I'd like to improve.

    All good advice is appreciated!

  2. webjunk
    Member
    Posted 5 years ago #

    You need to place an Anchor near the top and then at the bottom have a hyperlink pointing to the anchor.
    Google HTML ANCHOR or HYPERLINK ANCHOR and you should get a better explanation of its use.

  3. gbcecil
    Member
    Posted 4 years ago #

    Put the following code in html view where you want to start out at.

    <A href="#your_tag_name_here">Your own words here</A>

    Put the following code in html view where you want to finish.

    <A id="your_tag_name_here" name="your_tag_name_here">Your own words here</A>
    Make sure you start and finish in HTML view. Also, make sure you use capital A ( <A href=)

    Thats it. For an example of it working go here.

Topic Closed

This topic has been closed to new replies.

About this Topic