Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @123host,

    For this, you have to give a link in the Accordion Description in the edit.php page like the code written below.

    <a class="collapsed" data-toggle="collapse" data-parent="" href="#ac_7_collapse2" aria-expanded="false">Open Accordion</a>

    Then run it and let me know that it is working properly or not.

    Thanks

    Thread Starter SpeakOut!

    (@123host)

    Thanks for your response.

    Based on what you are saying, adding the code would show a link “Open Accordion” if I send someone that link it should take them directly to that item.

    Try demo.wpshopmart.com/responsive-accordion-and-collapse/#ac_11_collapse4 – it should take someone straight to the bottom item on your demo page, but it doesn’t.

    Hi @123host,

    you can give url by manually added menu in code like below.

    <li id="menu-item-41" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-41">
    <a class="collapsed" data-toggle="collapse" data-parent="" href="#ac_39_collapse11" aria-expanded="false">Open Accordion</a>
    </li>

    Thanks

    @123host Did you find a way to accomplish this? I am trying to link to another FAQ question further down the page, which should work the same way. The Open Accordion link above, does open that question, but doesn’t navigate down to that location.

    @24harish, is there a way to do this?

    Thanks!

    Thread Starter SpeakOut!

    (@123host)

    @bpeeps I went to grab a link today and found it broken.

    When I went to get the code for you I found that an update had over-written my edits in mid July and that is further back than my backups :o( This time I will make a copy of the file.

    So I have mostly recreated it, it isn’t perfect right now but it does the job.

    In version 1.4.7, open wp-content/plugins/faq-concertina/faq-concertina.php and change line 780 from

    $this_faq .= '</div>'; // .faq_q

    to

    $this_faq .= '<span class="faqlink" style="margin-right:10px;"><a href="' .get_permalink() . '" style="float:right;border:none;"><i class="fa fa-external-link" style="color:#eee;font-size:11px;"></i></a></span></div>'; // .faq_q

    You can see it working at https://Speakout.123host.net.au/faq – I will move the style from inline to the style sheet eventually. It also needs the fontawesome plugin if you want to use that icon. If you make some changes to improve this, let us know here please.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can I link to individual FAQ items’ is closed to new replies.