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.
Great, thank you! Your assistance today has made the decision to go premium an easier one. 🙂
@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.
@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:
http://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.