• Resolved wantishi

    (@wantishi)


    Is there a way to edit/add the ID of the individual FAQs – so that you can anchor link to them when displayed in a list?

Viewing 3 replies - 1 through 3 (of 3 total)
  • etoilewebdesign

    (@etoilewebdesign)

    Hi wantishi,

    You could “Inspect Element” by right clicking on the title of the FAQ to find its HTML element ID. Then for example:

    If your FAQs are on the following link:

    
    https://www.yoursite.com/faq
    

    then to link to an FAQ with HTML element ID(for ex:”ufaq-title-151″) you could add the following link:

    
    https://www.yoursite.com/faq#ufaq-title-151
    

    If the FAQ is linking to another FAQ on the same page then you could simply add the following to the href attribute:

    
    #ufaq-title-151
    
    Thread Starter wantishi

    (@wantishi)

    yep, thanks.

    I was hoping for a solution that allowed me to edit that ID to a custom, user-friendly link. So that if I’m sending a direct link to a customer it is contextual to the FAQ.

    ie.
    https://www.mysite.com/faq#how-to-create-an-account

    rather than
    https://www.mysite.com/faq#ufaq-title-151

    • This reply was modified 6 years ago by wantishi.
    etoilewebdesign

    (@etoilewebdesign)

    Hi wantishi,

    The solution we suggested above is apt when you want to link one FAQ to another on the same page.
    If you were looking for a solution to send a direct link to your users, then you could just select the FAQ and copy it’s URL. The URL would look similar to the following example:

    
    https://www.mysite.com/faqs/single-faq/how-to-create-an-account/
    

    You would also need to enable the “Pretty Permalinks” option by navigating to the “Premium” area of the “Options” tab.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘custom ID’ is closed to new replies.