philbuchanan
Forum Replies Created
-
Forum: Plugins
In reply to: [Accordion Blocks] Has this plugin been abandoned?Not abandoned, just doesn’t need any updates. Still works for me on many sites.
Forum: Plugins
In reply to: [Accordion Shortcodes] Security IssueNo. I closed this plugin as of December 31, 2022. I no longer have the ability to update the plugin.
This plugin has been closed as of December 31, 2022 and is not available for download. This closure is permanent.
Forum: Plugins
In reply to: [Accordion Blocks] WPML compatibility: accordion title not translatedForum: Plugins
In reply to: [Accordion Blocks] How to get Accordions to stay open upon using Back buttonThere is a lot to unpack here, but basically: this plugin does not do anything to support the back button, nor do I think it would be possible for me to add something like that. If a browser is remembering the accordion item state, that is only something the browser can store and restore.
As for the anchor links, they _should_ be opening the correct accordion item. You may need to double check that you are using the correct IDs in both your accordion items and the links themselves. I have just tested again myself to confirm, and they are in fact working as intended.
There is no meaningful different from WordPress 5.9 and 6.0 that would impact the functionality of this plugin on the frontend. I haven’t updated the plugin to reflect the testing, but it does work for me in WordPress 6.0.
Forum: Plugins
In reply to: [Accordion Blocks] Icon on the leftYes. You’ll need some custom CSS though. Something like this should get your started:
.c-accordion__title { padding-right: 0; padding-left: 2rem; } .c-accordion__title:after { top: 50%; right: auto; left: 0; }
Forum: Plugins
In reply to: [Accordion Blocks] Java APIUnfortunately there is currently no API to enable the accordions after loading content via Ajax.
Forum: Plugins
In reply to: [Accordion Blocks] Custom block stylesIt does:
pb/accordion-item
.Forum: Plugins
In reply to: [Accordion Blocks] “auto close” if items are not a siblingsYes, this behaviour is intentional. This allows you to have multiple groups of accordions that only interact with each other.
You are correct in that using CSS is likely your best option for adding icons to the title.
Forum: Plugins
In reply to: [Accordion Blocks] Header opens only first accordion blockI don’t see any accordions on the page you linked.
Forum: Plugins
In reply to: [Accordion Blocks] PHP required versionThe plugin may work with earlier versions of PHP (i.e. ≤7.2), however I don’t test or support that. I test with PHP 7.3+ (including PHP 8). If you’d like to try, you can modify the plugin source files.
Simply change the “Requires PHP: 7.3” to whatever version you’d want in these two files:
Remember, if you edit the files, the next time the plugin is updated, your changes will be reverted.
Forum: Plugins
In reply to: [Accordion Blocks] Titles are not translatableBased on the link you provided, it looks to be an issue with WPML and they have a fix for it.
Forum: Plugins
In reply to: [Accordion Blocks] Titles are not translatableI’m not sure what the issue is here, but I have successfully used this plugin with WPML multiple times and have had no issue translating the content of the titles.
Forum: Plugins
In reply to: [Accordion Blocks] Change tab/heading to a Paragraph instead of a headingThere is no paragraph option, but there is a generic
button
option you can use to similar effect. It should be the last option in the Accordion Title Tag dropdown, just after theH6
(you may need to scroll horizontally to see it).Once you have change your title to that, you can use the CSS classes to style the button however you’d like.
Forum: Plugins
In reply to: [Accordion Blocks] Using inside block patternsI don’t have any experience with block patterns. I’ll need some time to familiarize myself with them in order to address this.
Forum: Plugins
In reply to: [Accordion Blocks] Responsive options for Open by DefaultThis is not currently possible. I have added this to my list of feature requests, but I’m not sure when or if I will be able to get to it.