Links same page

Support Area Forums Forward Links same page

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://
  • Author
    Posts
  • #35816
    Alejandro Paredes
    Participant

    I would like to create a FAQ page on my website with links into the same page, would that be possible?

    #35818
    Bill Robbins
    Moderator

    Hi Ale,

    Have you tried one of the Table of Contents plugins like https://wordpress.org/plugins/easy-table-of-contents/ ? These plugins will build a table of contents on a page by using the headings on the page to construct it.

    You could have a heading for each FAQ and then the table of contents would build the links at the top for you.

    You could also create it manually. To do that you would need to give each heading an ID in the HTML. That would look something like this:

    
    <h2 id="topic-1">First Topic</h2>
    

    with the link to that being like this:

    
    <a href="#topic-1">Link Text</a>
    

    (Be sure to grab that code from the support site and not the notification email.)

    You could place all the links at the top of the page and then add the text below. Just change out the ID for each new topic and make sure the link corresponds to it.

    Hope that helps out,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Links same page’ is closed to new replies.