• Hello,

    When the Permalink Destination is set to “Main FAQ Page” and FAQ Category Toggle is turned on, the permalink anchor leads to an FAQ record inside an unexpanded category.

    Expected Fix:
    The permalink should expand both the FAQ record AND its Parent Category that the link is pointing to.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi cozbaldwin,

    Since the option “FAQ Category toggle” is a universal option, the single FAQ link does not let it open the “Category” although it is able to open the individual FAQ. To fix this you could make a small change to the “plugins/ultimate-faqs/Shortcodes/DisplayFAQs.php” file:

    
    if ($Category_Toggle == "Yes") {$ReturnString .= " ufaq-faq-category-body-hidden";}
    

    to

    
    if ($Category_Toggle == "Yes") {if (!$Display_FAQ_ID) {$ReturnString .= " ufaq-faq-category-body-hidden";}}
    
    

    and it should now open both the “FAQ” and the category.
    We’ll add this fix to an upcoming update to the plugin.

    Thread Starter cozbaldwin

    (@cozbaldwin)

    Great, thank you! Your assistance today has made the decision to go premium an easier one. ??

    Thread Starter cozbaldwin

    (@cozbaldwin)

    @etoilewebdesign

    p.s. While testing this implementation, I tried using a permalink of the last item inside the last group. It expands all groups. It’s not a dealbreaker for me, but I thought I’d let you know.

    You can test it here, for the time being.
    https://www.hiddeninthesand.com/faq-test
    (PASSWORD: test)

    Hi coz,

    Do you mean it toggles open all categories and not just the category the FAQ you linked to is in?

    We really would suggest that, if you are going to be making use of the permalinks, you don’t enable category toggle.

    That being said, we’ll look to see if there’s a way we can implement an automatic category toggle to the permalink functionality.

    Thread Starter cozbaldwin

    (@cozbaldwin)

    @etoilewebdesign

    Actually, upon further investigation, you’re partly right. It toggles open not just the category the FAQ is in but all categories ABOVE (not below) that category when listed on a page. You can test it below.

    The page is out of testing and can be seen here:
    https://hiddeninthesand.com/faq

    Here’s an example:
    https://www.hiddeninthesand.com/faq?Display_FAQ=4519

    It’s not a deal breaker for me. As you can see, I’m using the plugin. Just thought you might want to know because it’s not exactly the expected result. And you’re right, I’ve stopped the permalink-to-item option.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Permalink & Category Toggle settings don’t expand category’ is closed to new replies.