Forum Replies Created

Viewing 15 replies - 1 through 15 (of 572 total)
  • Plugin Author Phil Buchanan

    (@philbuchanan)

    I’ve added a feature request. I’m not sure when I’ll be able to address it though.

    Plugin Author Phil Buchanan

    (@philbuchanan)

    Unfortunately there is no way of doing this reliably. It would be difficult to determine/distinguish which elements are part of the accordion content.

    It could also conflict with other plugins and themes code.

    I recommend manually converting content into accordions using the editor.

    Plugin Author Phil Buchanan

    (@philbuchanan)

    This CSS selector in your site’s custom CSS is causing the problem. I’d suggest adjusting the selector or styles:

    h3[id]:before { ... }

    Plugin Author Phil Buchanan

    (@philbuchanan)

    Unfortunately this is out of scope for this plugin. The work required to build and test this setup is just too much for a free plugin. I suggest looking for an alternative plugin or solution.

    Plugin Author Phil Buchanan

    (@philbuchanan)

    I agree this would be useful, but unfortunately I don’t think this is possible. I not aware of any way of retrieving the search term from the previous search results page after you select a search result.

    Plugin Author Phil Buchanan

    (@philbuchanan)

    The plugin is meant to be as lightweight as possible, so I only provide basic styling by default. You can achieve any styling you want using custom CSS though. The class names you need can be found on the main plugin page.

    As for HTML anchors, you can add one under the Advanced panel on the accordion item’s settings sidebar.

    Plugin Author Phil Buchanan

    (@philbuchanan)

    I just pushed an update to v1.1.3 that should fix the issue.

    Plugin Author Phil Buchanan

    (@philbuchanan)

    It is possible. You have to set a custom HTML anchor. If you look under “Advanced” in the accordion items settings panel you should see it. Then just create a link with the slug from that anchor.

    For example, if you add an HTML anchor of accordion-two, then you’re link will be #accordion-two:

    <a href="#accordion-two">Text to open accordion two</a>

    Plugin Author Phil Buchanan

    (@philbuchanan)

    That does appear to be a bug. I’ve filed it and will look into a fix.

    Plugin Author Phil Buchanan

    (@philbuchanan)

    That error usually indicates there is a mismatch between the HTML that is saved in the database (what you see on the font end of the site) and the HTML the Gutenberg editor is trying to render in real time (what you see in the back end of the site). Unfortunately it can be caused by a number of different things, so there isn’t necessarily one simple solution.

    The easiest and first thing to try is “Attempt Block Recovery”. When you see that error, there are usually three buttons to the right: “Resolve”, “Convert to HTML” and a vertical ellipsis “⋮”. Click the vertical ellipsis button and click “Attempt Block Recovery”. That will regenerate the block in the editor from the current saved attributes. It should be non-destructive, but if it does mess things up, you can always reload the page without saving.

    If that doesn’t work, it could be a conflict with another plugin or the theme. You can try disabling other plugins and switching to one of the WordPress default themes (Twenty[something]) and then trying the “Attempt Block Recovery” method above again.

    If that still isn’t working, I’ll need the output of the JavaScript console to dive deeper into the issue.

    Plugin Author Phil Buchanan

    (@philbuchanan)

    The blue outline is a web browser accessibility feature, meant to show which element on the page has focus. This is particularly helpful for users who navigate your website via the keyboard (not a mouse).

    You can remove the outline with CSS, however it is strongly recommended that you replace it with your own focus styles so there is still a visual affordance for those users.

    To remove:

    .c-accordion__title:focus {
        outline: none;
        /* Your alternative focus styles here */
    }
    Plugin Author Phil Buchanan

    (@philbuchanan)

    This plugin makes use of inner blocks, allowing you to use any block inside of the accordion content. The downside of this is that you can accidentally place an accordion item inside the content of another accordion item. From my understanding, there is currently no way for me to limit it so you can’t insert another accordion item into the content. If that changes, I’ll certainly update the plugin.

    To prevent yourself from adding an accordion to the content of an existing accordion, check the Block Navigation (accessible from an icon in the toolbar) to see the hierarchy of your blocks. Basically you just need to be careful. Sorry I don’t have a better answer :(.

    As for how to fix it, the easiest way is to use the built in drag and drop functionality of Gutenberg. When you have an accordion block selected, to the left you will see a toolbar with an up arrow, a down arrow, and an icon with 6 dots. You can click and drag the 6 dots icon to move the block. Simply drag it out of the other accordion item content, and drop it somewhere at the top level of your content.

    Forum: Plugins
    In reply to: [Accordion Blocks] hover
    Plugin Author Phil Buchanan

    (@philbuchanan)

    That should work. Are you able to provide a link for me to take a look?

    Plugin Author Phil Buchanan

    (@philbuchanan)

    Update: I’ve asked for you to be added as a translation editor for Brazilian Portuguese for the plugin. I was advised that you need to follow these steps in order to be approved.

    From the response:

    “As soon as he joins the Brazilian Slack instance we can move this forward from there (he will have to read our translation guideline, review his own strings, and ping me there).”

    Plugin Author Phil Buchanan

    (@philbuchanan)

    Hi @prccp. I’m not terribly familiar with the WordPress translation process (other than making the plugin translatable), so I’ll have to look more into it.

Viewing 15 replies - 1 through 15 (of 572 total)