How to set up a FAQ page

  • Author
    Posts
  • #264277

    I would like to set up an FAQ page. Can I set up the questions at the top of the page – click on a question and automaticaly link to the answer further down the page? How?

    #264491

    aw1923
    Member

    actually I was kind of interested in something like that also, where you click on a link and it automatically takes you down the page. Im not sure that can be done on wordpress.

    #264492

    justjennifer
    Moderator

    http://faq.wordpress.com/2006/07/06/how-do-i-page-jump/
    Probably one of the most obscure WordPress.COM FAQs out there. It’s called an “anchor” link.

    #264501

    So let me contribute my version, hoping it’s clearer.

    Link:
    <a href="#AnchorName">VisibleTextLeadingToTarget</a>
    Visible target (= line of text):
    <a name="AnchorName">VisibleTargetText</a>
    Invisible target (= blank line before line of text):
    <a name="AnchorName"></a>

    The two visible texts can be identical or not. The anchor name shows in the address bar of the browser. You can use any name, provided you use the same one for the link and its target, and a different one for another link & target pair.

    For intance, in the beginning you can have:

    <a href="#Q1">Question 1</a>
    <a href="#Q2">Question 2</a>
    etc.,

    and then:

    <a name="Q1"></a>
    before Answer 1
    <a name="Q2"></a>
    before Answer 2

    etc.

    #264514

    aw1923
    Member

    cool thanks,

    #264517

    That was fast. Very impressive. Many thanks

The topic ‘How to set up a FAQ page’ is closed to new replies.